NAME

Paws::OpsWorks::CreateDeployment - Arguments for method CreateDeployment on Paws::OpsWorks

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

AppId => Str

The app ID. This parameter is required for app deployments, but not for other deployment commands.

REQUIRED Command => Paws::OpsWorks::DeploymentCommand

A DeploymentCommand object that specifies the deployment command and any associated arguments.

Comment => Str

A user-defined comment.

CustomJson => Str

A string that contains user-defined, custom JSON. It is used to override the 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.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 => Str

The stack ID.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDeployment in Paws::OpsWorks

BUGS and CONTRIBUTIONS

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