We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.appconfig.getEnvironment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type definition for AWS::AppConfig::Environment
Using getEnvironment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>def get_environment(application_id: Optional[str] = None,
                    environment_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(application_id: Optional[pulumi.Input[str]] = None,
                    environment_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput> Note: This function is named LookupEnvironment in the Go SDK.
public static class GetEnvironment 
{
    public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:appconfig:getEnvironment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApplicationId string
- The application ID.
- EnvironmentId string
- The environment ID.
- ApplicationId string
- The application ID.
- EnvironmentId string
- The environment ID.
- applicationId String
- The application ID.
- environmentId String
- The environment ID.
- applicationId string
- The application ID.
- environmentId string
- The environment ID.
- application_id str
- The application ID.
- environment_id str
- The environment ID.
- applicationId String
- The application ID.
- environmentId String
- The environment ID.
getEnvironment Result
The following output properties are available:
- Description string
- A description of the environment.
- EnvironmentId string
- The environment ID.
- Monitors
List<Pulumi.Aws Native. App Config. Outputs. Environment Monitor> 
- Amazon CloudWatch alarms to monitor during the deployment process.
- Name string
- A name for the environment.
- 
List<Pulumi.Aws Native. Outputs. 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.
- Description string
- A description of the environment.
- EnvironmentId string
- The environment ID.
- 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.
- description String
- A description of the environment.
- environmentId String
- The environment ID.
- 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.
- description string
- A description of the environment.
- environmentId string
- The environment ID.
- 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.
- description str
- A description of the environment.
- environment_id str
- The environment ID.
- monitors
Sequence[EnvironmentMonitor] 
- Amazon CloudWatch alarms to monitor during the deployment process.
- name str
- A name for the environment.
- Sequence[root_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.
- description String
- A description of the environment.
- environmentId String
- The environment ID.
- 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.
Supporting Types
EnvironmentMonitor 
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi