AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::OpsWorks::Types::Deployment

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a deployment of a stack or app.

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The app ID.

Returns:

  • (String)

    The app ID.

#commandTypes::DeploymentCommand

Used to specify a stack or deployment command.

Returns:

#commentString

A user-defined comment.

Returns:

  • (String)

    A user-defined comment.

#completed_atString

Date when the deployment completed.

Returns:

  • (String)

    Date when the deployment completed.

#created_atString

Date when the deployment was created.

Returns:

  • (String)

    Date when the deployment was created.

#custom_jsonString

A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

Returns:

  • (String)

    A string that contains user-defined custom JSON.

#deployment_idString

The deployment ID.

Returns:

  • (String)

    The deployment ID.

#durationInteger

The deployment duration.

Returns:

  • (Integer)

    The deployment duration.

#iam_user_arnString

The user\'s IAM ARN.

Returns:

  • (String)

    The user\'s IAM ARN.

#instance_idsArray<String>

The IDs of the target instances.

Returns:

  • (Array<String>)

    The IDs of the target instances.

#stack_idString

The stack ID.

Returns:

  • (String)

    The stack ID.

#statusString

The deployment status:

  • running

  • successful

  • failed

Returns:

  • (String)

    The deployment status:.