We recommend new projects start with resources from the AWS provider.
aws-native.appconfig.Environment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::AppConfig::Environment
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
description: Optional[str] = None,
monitors: Optional[Sequence[EnvironmentMonitorArgs]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws-native:appconfig:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- Application
Id string - The application ID.
- Description string
- A description of the environment.
- Monitors
List<Pulumi.
Aws Native. App Config. Inputs. Environment Monitor> - Amazon CloudWatch alarms to monitor during the deployment process.
- Name string
- A name for the environment.
- List<Pulumi.
Aws Native. Inputs. Tag> - Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- Application
Id string - The application ID.
- Description string
- A description of the environment.
- Monitors
[]Environment
Monitor Args - Amazon CloudWatch alarms to monitor during the deployment process.
- Name string
- A name for the environment.
- Tag
Args - Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- application
Id String - The application ID.
- description String
- A description of the environment.
- monitors
List<Environment
Monitor> - Amazon CloudWatch alarms to monitor during the deployment process.
- name String
- A name for the environment.
- List<Tag>
- Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- application
Id string - The application ID.
- description string
- A description of the environment.
- monitors
Environment
Monitor[] - Amazon CloudWatch alarms to monitor during the deployment process.
- name string
- A name for the environment.
- Tag[]
- Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- application_
id str - The application ID.
- description str
- A description of the environment.
- monitors
Sequence[Environment
Monitor Args] - Amazon CloudWatch alarms to monitor during the deployment process.
- name str
- A name for the environment.
- Sequence[Tag
Args] - Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- application
Id String - The application ID.
- description String
- A description of the environment.
- monitors List<Property Map>
- Amazon CloudWatch alarms to monitor during the deployment process.
- name String
- A name for the environment.
- List<Property Map>
- Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- Environment
Id string - The environment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Environment
Id string - The environment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- environment
Id String - The environment ID.
- id String
- The provider-assigned unique ID for this managed resource.
- environment
Id string - The environment ID.
- id string
- The provider-assigned unique ID for this managed resource.
- environment_
id str - The environment ID.
- id str
- The provider-assigned unique ID for this managed resource.
- environment
Id String - The environment ID.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EnvironmentMonitor, EnvironmentMonitorArgs
- Alarm
Arn string - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- Alarm
Role stringArn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- Alarm
Arn string - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- Alarm
Role stringArn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarm
Arn String - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarm
Role StringArn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarm
Arn string - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarm
Role stringArn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarm_
arn str - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarm_
role_ strarn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarm
Arn String - Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarm
Role StringArn - ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.