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.proton.getEnvironmentAccountConnection
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 Schema describing various properties for AWS Proton Environment Account Connections resources.
Using getEnvironmentAccountConnection
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 getEnvironmentAccountConnection(args: GetEnvironmentAccountConnectionArgs, opts?: InvokeOptions): Promise<GetEnvironmentAccountConnectionResult>
function getEnvironmentAccountConnectionOutput(args: GetEnvironmentAccountConnectionOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentAccountConnectionResult>def get_environment_account_connection(arn: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetEnvironmentAccountConnectionResult
def get_environment_account_connection_output(arn: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentAccountConnectionResult]func LookupEnvironmentAccountConnection(ctx *Context, args *LookupEnvironmentAccountConnectionArgs, opts ...InvokeOption) (*LookupEnvironmentAccountConnectionResult, error)
func LookupEnvironmentAccountConnectionOutput(ctx *Context, args *LookupEnvironmentAccountConnectionOutputArgs, opts ...InvokeOption) LookupEnvironmentAccountConnectionResultOutput> Note: This function is named LookupEnvironmentAccountConnection in the Go SDK.
public static class GetEnvironmentAccountConnection 
{
    public static Task<GetEnvironmentAccountConnectionResult> InvokeAsync(GetEnvironmentAccountConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentAccountConnectionResult> Invoke(GetEnvironmentAccountConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnection(GetEnvironmentAccountConnectionArgs args, InvokeOptions options)
public static Output<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnection(GetEnvironmentAccountConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:proton:getEnvironmentAccountConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- Arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
- arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- arn str
- The Amazon Resource Name (ARN) of the environment account connection.
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
getEnvironmentAccountConnection Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- CodebuildRole stringArn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- ComponentRole stringArn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- EnvironmentAccount stringId 
- The environment account that's connected to the environment account connection.
- EnvironmentName string
- The name of the AWS Proton environment that's created in the associated management account.
- Id string
- The ID of the environment account connection.
- ManagementAccount stringId 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- Status
Pulumi.Aws Native. Proton. Environment Account Connection Status 
- The status of the environment account connection.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- Arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- CodebuildRole stringArn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- ComponentRole stringArn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- EnvironmentAccount stringId 
- The environment account that's connected to the environment account connection.
- EnvironmentName string
- The name of the AWS Proton environment that's created in the associated management account.
- Id string
- The ID of the environment account connection.
- ManagementAccount stringId 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- Status
EnvironmentAccount Connection Status 
- The status of the environment account connection.
- Tag
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
- codebuildRole StringArn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- componentRole StringArn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- environmentAccount StringId 
- The environment account that's connected to the environment account connection.
- environmentName String
- The name of the AWS Proton environment that's created in the associated management account.
- id String
- The ID of the environment account connection.
- managementAccount StringId 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- status
EnvironmentAccount Connection Status 
- The status of the environment account connection.
- List<Tag>
- arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- codebuildRole stringArn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- componentRole stringArn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- environmentAccount stringId 
- The environment account that's connected to the environment account connection.
- environmentName string
- The name of the AWS Proton environment that's created in the associated management account.
- id string
- The ID of the environment account connection.
- managementAccount stringId 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- status
EnvironmentAccount Connection Status 
- The status of the environment account connection.
- Tag[]
- arn str
- The Amazon Resource Name (ARN) of the environment account connection.
- codebuild_role_ strarn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- component_role_ strarn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- environment_account_ strid 
- The environment account that's connected to the environment account connection.
- environment_name str
- The name of the AWS Proton environment that's created in the associated management account.
- id str
- The ID of the environment account connection.
- management_account_ strid 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- role_arn str
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- status
EnvironmentAccount Connection Status 
- The status of the environment account connection.
- Sequence[root_Tag]
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
- codebuildRole StringArn 
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- componentRole StringArn 
- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
- environmentAccount StringId 
- The environment account that's connected to the environment account connection.
- environmentName String
- The name of the AWS Proton environment that's created in the associated management account.
- id String
- The ID of the environment account connection.
- managementAccount StringId 
- The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- status "PENDING" | "CONNECTED" | "REJECTED"
- The status of the environment account connection.
- List<Property Map>
Supporting Types
EnvironmentAccountConnectionStatus   
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