We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi
Resource Type definition for AWS::Cloud9::EnvironmentEC2
Using getEnvironmentEc2
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 getEnvironmentEc2(args: GetEnvironmentEc2Args, opts?: InvokeOptions): Promise<GetEnvironmentEc2Result>
function getEnvironmentEc2Output(args: GetEnvironmentEc2OutputArgs, opts?: InvokeOutputOptions): Output<GetEnvironmentEc2Result>def get_environment_ec2(environment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentEc2Result
def get_environment_ec2_output(environment_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetEnvironmentEc2Result]func LookupEnvironmentEc2(ctx *Context, args *LookupEnvironmentEc2Args, opts ...InvokeOption) (*LookupEnvironmentEc2Result, error)
func LookupEnvironmentEc2Output(ctx *Context, args *LookupEnvironmentEc2OutputArgs, opts ...InvokeOption) LookupEnvironmentEc2ResultOutput> Note: This function is named LookupEnvironmentEc2 in the Go SDK.
public static class GetEnvironmentEc2
{
public static Task<GetEnvironmentEc2Result> InvokeAsync(GetEnvironmentEc2Args args, InvokeOptions? opts = null)
public static Output<GetEnvironmentEc2Result> Invoke(GetEnvironmentEc2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentEc2Result> Invoke(GetEnvironmentEc2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetEnvironmentEc2Result> getEnvironmentEc2(GetEnvironmentEc2Args args, InvokeOptions options)
public static Output<GetEnvironmentEc2Result> getEnvironmentEc2(GetEnvironmentEc2Args args, InvokeOptions options)
public static Output<GetEnvironmentEc2Result> getEnvironmentEc2(GetEnvironmentEc2Args args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:cloud9:getEnvironmentEc2
arguments:
# arguments dictionarydata "aws-native_cloud9_get_environment_ec2" "name" {
# arguments
}The following arguments are supported:
- Environment
Id string - The ID of the environment.
- Environment
Id string - The ID of the environment.
- environment_
id string - The ID of the environment.
- environment
Id String - The ID of the environment.
- environment
Id string - The ID of the environment.
- environment_
id str - The ID of the environment.
- environment
Id String - The ID of the environment.
getEnvironmentEc2 Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the development environment.
- Description string
- The description of the environment.
- Environment
Id string - The ID of the environment.
- Name string
- The name of the environment.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- Arn string
- The Amazon Resource Name (ARN) of the development environment.
- Description string
- The description of the environment.
- Environment
Id string - The ID of the environment.
- Name string
- The name of the environment.
- Tag
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- arn string
- The Amazon Resource Name (ARN) of the development environment.
- description string
- The description of the environment.
- environment_
id string - The ID of the environment.
- name string
- The name of the environment.
- list(object)
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- arn String
- The Amazon Resource Name (ARN) of the development environment.
- description String
- The description of the environment.
- environment
Id String - The ID of the environment.
- name String
- The name of the environment.
- List<Tag>
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- arn string
- The Amazon Resource Name (ARN) of the development environment.
- description string
- The description of the environment.
- environment
Id string - The ID of the environment.
- name string
- The name of the environment.
- Tag[]
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- arn str
- The Amazon Resource Name (ARN) of the development environment.
- description str
- The description of the environment.
- environment_
id str - The ID of the environment.
- name str
- The name of the environment.
- Sequence[root_Tag]
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
- arn String
- The Amazon Resource Name (ARN) of the development environment.
- description String
- The description of the environment.
- environment
Id String - The ID of the environment.
- name String
- The name of the environment.
- List<Property Map>
- An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
Supporting Types
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.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi