![]() |
![]()
| ![]() |
![]()
NAMEPaws::OpsWorks::CreateDeployment - Arguments for method CreateDeployment on Paws::OpsWorks DESCRIPTIONThis class represents the parameters used for calling the method CreateDeployment on the AWS OpsWorks service. Use the attributes of this class as arguments to method CreateDeployment. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeployment. SYNOPSISmy $opsworks = Paws->service('OpsWorks'); my $CreateDeploymentResult = $opsworks->CreateDeployment( Command => { Name => 'install_dependencies' , # values: install_dependencies, update_dependencies, update_custom_cookbooks, execute_recipes, configure, setup, deploy, rollback, start, stop, restart, undeploy Args => { 'MyString' => [ 'MyString', ... ], }, # OPTIONAL }, StackId => 'MyString', AppId => 'MyString', # OPTIONAL Comment => 'MyString', # OPTIONAL CustomJson => 'MyString', # OPTIONAL InstanceIds => [ 'MyString', ... ], # OPTIONAL LayerIds => [ 'MyString', ... ], # OPTIONAL ); # Results: my $DeploymentId = $CreateDeploymentResult->DeploymentId; # Returns a L<Paws::OpsWorks::CreateDeploymentResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/opsworks/CreateDeployment> ATTRIBUTESAppId => StrThe app ID. This parameter is required for app deployments, but not for other deployment commands. REQUIRED Command => Paws::OpsWorks::DeploymentCommandA "DeploymentCommand" object that specifies the deployment command and any associated arguments. Comment => StrA user-defined comment. CustomJson => StrA string that contains user-defined, custom JSON. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html) and Overriding Attributes With Custom JSON (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html). InstanceIds => ArrayRef[Str|Undef]The instance IDs for the deployment targets. LayerIds => ArrayRef[Str|Undef]The layer IDs for the deployment targets. REQUIRED StackId => StrThe stack ID. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDeployment in Paws::OpsWorks BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|