AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.appconfig.getEnvironment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:appconfig:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Application
Id string - The application ID.
- Environment
Id string - The environment ID.
- Application
Id string - The application ID.
- Environment
Id string - The environment ID.
- application
Id String - The application ID.
- environment
Id String - The environment ID.
- application
Id string - The application ID.
- environment
Id string - The environment ID.
- application_
id str - The application ID.
- environment_
id str - The environment ID.
- application
Id String - The application ID.
- environment
Id String - The environment ID.
getEnvironment Result
The following output properties are available:
- Description string
- A description of the environment.
- Environment
Id 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.
- Environment
Id string - The environment ID.
- 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.
- description String
- A description of the environment.
- environment
Id String - The environment ID.
- 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.
- description string
- A description of the environment.
- environment
Id string - The environment ID.
- 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.
- description str
- A description of the environment.
- environment_
id str - The environment ID.
- monitors
Sequence[Environment
Monitor] - 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.
- environment
Id 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi