1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. refactorspaces
  5. getEnvironment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.2.0 published on Monday, Oct 14, 2024 by Pulumi

aws-native.refactorspaces.getEnvironment

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.2.0 published on Monday, Oct 14, 2024 by Pulumi

    Definition of AWS::RefactorSpaces::Environment Resource Type

    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(environment_identifier: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
    def get_environment_output(environment_identifier: 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:refactorspaces:getEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnvironmentIdentifier string
    The unique identifier of the environment.
    EnvironmentIdentifier string
    The unique identifier of the environment.
    environmentIdentifier String
    The unique identifier of the environment.
    environmentIdentifier string
    The unique identifier of the environment.
    environment_identifier str
    The unique identifier of the environment.
    environmentIdentifier String
    The unique identifier of the environment.

    getEnvironment Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the environment.
    EnvironmentIdentifier string
    The unique identifier of the environment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    TransitGatewayId string
    The ID of the AWS Transit Gateway set up by the environment.
    Arn string
    The Amazon Resource Name (ARN) of the environment.
    EnvironmentIdentifier string
    The unique identifier of the environment.
    Tags Tag
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    TransitGatewayId string
    The ID of the AWS Transit Gateway set up by the environment.
    arn String
    The Amazon Resource Name (ARN) of the environment.
    environmentIdentifier String
    The unique identifier of the environment.
    tags List<Tag>
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    transitGatewayId String
    The ID of the AWS Transit Gateway set up by the environment.
    arn string
    The Amazon Resource Name (ARN) of the environment.
    environmentIdentifier string
    The unique identifier of the environment.
    tags Tag[]
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    transitGatewayId string
    The ID of the AWS Transit Gateway set up by the environment.
    arn str
    The Amazon Resource Name (ARN) of the environment.
    environment_identifier str
    The unique identifier of the environment.
    tags Sequence[root_Tag]
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    transit_gateway_id str
    The ID of the AWS Transit Gateway set up by the environment.
    arn String
    The Amazon Resource Name (ARN) of the environment.
    environmentIdentifier String
    The unique identifier of the environment.
    tags List<Property Map>
    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
    transitGatewayId String
    The ID of the AWS Transit Gateway set up by the environment.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.2.0 published on Monday, Oct 14, 2024 by Pulumi