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,
                deletion_protection_check: Optional[EnvironmentDeletionProtectionCheck] = 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:
- ApplicationId string
- The application ID.
- DeletionProtection Pulumi.Check Aws Native. App Config. Environment Deletion Protection Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- 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.
- ApplicationId string
- The application ID.
- DeletionProtection EnvironmentCheck Deletion Protection Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- Description string
- A description of the environment.
- Monitors
[]EnvironmentMonitor Args 
- Amazon CloudWatch alarms to monitor during the deployment process.
- Name string
- A name for the environment.
- 
TagArgs 
- 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.
- applicationId String
- The application ID.
- deletionProtection EnvironmentCheck Deletion Protection Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- description String
- A description of the environment.
- monitors
List<EnvironmentMonitor> 
- 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.
- applicationId string
- The application ID.
- deletionProtection EnvironmentCheck Deletion Protection Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- description string
- A description of the environment.
- monitors
EnvironmentMonitor[] 
- 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.
- deletion_protection_ Environmentcheck Deletion Protection Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- description str
- A description of the environment.
- monitors
Sequence[EnvironmentMonitor Args] 
- Amazon CloudWatch alarms to monitor during the deployment process.
- name str
- A name for the environment.
- 
Sequence[TagArgs] 
- 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.
- applicationId String
- The application ID.
- deletionProtection "ACCOUNT_DEFAULT" | "APPLY" | "BYPASS"Check 
- On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- 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:
- EnvironmentId string
- The environment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- EnvironmentId string
- The environment ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- environmentId String
- The environment ID.
- id String
- The provider-assigned unique ID for this managed resource.
- environmentId 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.
- environmentId String
- The environment ID.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EnvironmentDeletionProtectionCheck, EnvironmentDeletionProtectionCheckArgs        
- AccountDefault 
- ACCOUNT_DEFAULT
- Apply
- APPLY
- Bypass
- BYPASS
- EnvironmentDeletion Protection Check Account Default 
- ACCOUNT_DEFAULT
- EnvironmentDeletion Protection Check Apply 
- APPLY
- EnvironmentDeletion Protection Check Bypass 
- BYPASS
- AccountDefault 
- ACCOUNT_DEFAULT
- Apply
- APPLY
- Bypass
- BYPASS
- AccountDefault 
- ACCOUNT_DEFAULT
- Apply
- APPLY
- Bypass
- BYPASS
- ACCOUNT_DEFAULT
- ACCOUNT_DEFAULT
- APPLY
- APPLY
- BYPASS
- BYPASS
- "ACCOUNT_DEFAULT"
- ACCOUNT_DEFAULT
- "APPLY"
- APPLY
- "BYPASS"
- BYPASS
EnvironmentMonitor, EnvironmentMonitorArgs    
- AlarmArn string
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- AlarmRole stringArn 
- ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- AlarmArn string
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- AlarmRole stringArn 
- ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarmArn String
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarmRole StringArn 
- ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
- alarmArn string
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarmRole 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.
- alarmArn String
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- alarmRole 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.