We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.29.0 published on Thursday, Jun 5, 2025 by Pulumi
aws-native.evs.getEnvironment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.29.0 published on Thursday, Jun 5, 2025 by Pulumi
An environment created within the EVS service
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_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(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:evs:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string
- Environment
Id string
- environment
Id String
- environment
Id string
- environment_
id str
- environment
Id String
getEnvironment Result
The following output properties are available:
- Checks
List<Pulumi.
Aws Native. Evs. Outputs. Environment Check> - Created
At string - Credentials
List<Pulumi.
Aws Native. Evs. Outputs. Environment Secret> - Environment
Arn string - Environment
Id string - Environment
State Pulumi.Aws Native. Evs. Environment State - Modified
At string - State
Details string - List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Checks
[]Environment
Check - Created
At string - Credentials
[]Environment
Secret - Environment
Arn string - Environment
Id string - Environment
State EnvironmentState Enum - Modified
At string - State
Details string - Tag
- An array of key-value pairs to apply to this resource.
- checks
List<Environment
Check> - created
At String - credentials
List<Environment
Secret> - environment
Arn String - environment
Id String - environment
State EnvironmentState - modified
At String - state
Details String - List<Tag>
- An array of key-value pairs to apply to this resource.
- checks
Environment
Check[] - created
At string - credentials
Environment
Secret[] - environment
Arn string - environment
Id string - environment
State EnvironmentState - modified
At string - state
Details string - Tag[]
- An array of key-value pairs to apply to this resource.
- checks
Sequence[Environment
Check] - created_
at str - credentials
Sequence[Environment
Secret] - environment_
arn str - environment_
id str - environment_
state EnvironmentState - modified_
at str - state_
details str - Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- checks List<Property Map>
- created
At String - credentials List<Property Map>
- environment
Arn String - environment
Id String - environment
State "CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED" - modified
At String - state
Details String - List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
EnvironmentCheck
EnvironmentCheckResult
EnvironmentCheckType
EnvironmentSecret
- Secret
Arn string
- Secret
Arn string
- secret
Arn String
- secret
Arn string
- secret_
arn str
- secret
Arn String
EnvironmentState
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.29.0 published on Thursday, Jun 5, 2025 by Pulumi