Paws::OpsWorks::CreateDeployment - Arguments for method CreateDeployment on Paws::OpsWorks
This 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.
my $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
The app ID. This parameter is required for app deployments, but not for other deployment commands.
A DeploymentCommand object that specifies the deployment command and any associated arguments.
DeploymentCommand
A user-defined comment.
A 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).
The instance IDs for the deployment targets.
The layer IDs for the deployment targets.
The stack ID.
This class forms part of Paws, documenting arguments for method CreateDeployment in Paws::OpsWorks
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.