Class: Aws::OpsWorks::Types::CreateDeploymentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opsworks/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

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

Returns:

  • (String)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#commandTypes::DeploymentCommand

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



1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#commentString

A user-defined comment.

Returns:

  • (String)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#custom_jsonString

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:

‘“”value1“, ”key2“: ”value2“,…”`

For more information about custom JSON, see [Use Custom JSON to Modify the Stack Configuration Attributes] and [Overriding Attributes With Custom JSON].

[1]: docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html [2]: docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html

Returns:

  • (String)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idsArray<String>

The instance IDs for the deployment targets.

Returns:

  • (Array<String>)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#layer_idsArray<String>

The layer IDs for the deployment targets.

Returns:

  • (Array<String>)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end

#stack_idString

The stack ID.

Returns:

  • (String)


1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
# File 'lib/aws-sdk-opsworks/types.rb', line 1071

class CreateDeploymentRequest < Struct.new(
  :stack_id,
  :app_id,
  :instance_ids,
  :layer_ids,
  :command,
  :comment,
  :custom_json)
  SENSITIVE = []
  include Aws::Structure
end