Class: Aws::AppConfig::Types::CreateEnvironmentRequest

Inherits:
Struct
  • Object
show all
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: "Arn",
      alarm_role_arn: "RoleArn",
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The application ID.

Returns:

  • (String)


447
448
449
450
451
452
453
454
455
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 447

class CreateEnvironmentRequest < Struct.new(
  :application_id,
  :name,
  :description,
  :monitors,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the environment.

Returns:

  • (String)


447
448
449
450
451
452
453
454
455
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 447

class CreateEnvironmentRequest < Struct.new(
  :application_id,
  :name,
  :description,
  :monitors,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#monitorsArray<Types::Monitor>

Amazon CloudWatch alarms to monitor during the deployment process.

Returns:



447
448
449
450
451
452
453
454
455
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 447

class CreateEnvironmentRequest < Struct.new(
  :application_id,
  :name,
  :description,
  :monitors,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the environment.

Returns:

  • (String)


447
448
449
450
451
452
453
454
455
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 447

class CreateEnvironmentRequest < Struct.new(
  :application_id,
  :name,
  :description,
  :monitors,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<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.

Returns:

  • (Hash<String,String>)


447
448
449
450
451
452
453
454
455
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 447

class CreateEnvironmentRequest < Struct.new(
  :application_id,
  :name,
  :description,
  :monitors,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end