Class: Aws::AppConfig::Types::CreateEnvironmentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppConfig::Types::CreateEnvironmentRequest
- Defined in:
- gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb
Overview
Note:
When making an API call, you may pass CreateEnvironmentRequest data as a hash:
{
application_id: "Id", # required
name: "Name", # required
description: "Description",
monitors: [
{
alarm_arn: "StringWithLengthBetween1And2048", # required
alarm_role_arn: "RoleArn",
},
],
tags: {
"TagKey" => "TagValue",
},
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#application_id ⇒ String
The application ID.
-
#description ⇒ String
A description of the environment.
-
#monitors ⇒ Array<Types::Monitor>
Amazon CloudWatch alarms to monitor during the deployment process.
-
#name ⇒ String
A name for the environment.
-
#tags ⇒ Hash<String,String>
Metadata to assign to the environment.
Instance Attribute Details
#application_id ⇒ String
The application ID.
533 534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 533 class CreateEnvironmentRequest < Struct.new( :application_id, :name, :description, :monitors, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the environment.
533 534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 533 class CreateEnvironmentRequest < Struct.new( :application_id, :name, :description, :monitors, :tags) SENSITIVE = [] include Aws::Structure end |
#monitors ⇒ Array<Types::Monitor>
Amazon CloudWatch alarms to monitor during the deployment process.
533 534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 533 class CreateEnvironmentRequest < Struct.new( :application_id, :name, :description, :monitors, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A name for the environment.
533 534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 533 class CreateEnvironmentRequest < Struct.new( :application_id, :name, :description, :monitors, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
533 534 535 536 537 538 539 540 541 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 533 class CreateEnvironmentRequest < Struct.new( :application_id, :name, :description, :monitors, :tags) SENSITIVE = [] include Aws::Structure end |