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

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

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

Overview

Note:

When passing CreateEnvironmentRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  application_id: "Id", # required
  name: "Name", # required
  description: "Description",
  monitors: [
    {
      alarm_arn: "Arn",
      alarm_role_arn: "RoleArn",
    },
  ],
  tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_id ⇒ String

The application ID.

Returns:

  • (String) —

    The application ID.

#description ⇒ String

A description of the environment.

Returns:

  • (String) —

    A description of the environment.

#monitors ⇒ Array<Types::Monitor>

Amazon CloudWatch alarms to monitor during the deployment process.

Returns:

  • (Array<Types::Monitor>) —

    Amazon CloudWatch alarms to monitor during the deployment process.

#name ⇒ String

A name for the environment.

Returns:

  • (String) —

    A name for the environment.

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

Returns:

  • (Hash<String,String>) —

    Metadata to assign to the environment.