1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. proton
  5. getEnvironmentAccountConnection

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 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.27.0 published on Monday, Apr 14, 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>
Copy
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]
Copy
func LookupEnvironmentAccountConnection(ctx *Context, args *LookupEnvironmentAccountConnectionArgs, opts ...InvokeOption) (*LookupEnvironmentAccountConnectionResult, error)
func LookupEnvironmentAccountConnectionOutput(ctx *Context, args *LookupEnvironmentAccountConnectionOutputArgs, opts ...InvokeOption) LookupEnvironmentAccountConnectionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnection(GetEnvironmentAccountConnectionArgs args, InvokeOptions options)
public static Output<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnection(GetEnvironmentAccountConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:proton:getEnvironmentAccountConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the environment account connection.
Arn This property is required. string
The Amazon Resource Name (ARN) of the environment account connection.
arn This property is required. String
The Amazon Resource Name (ARN) of the environment account connection.
arn This property is required. string
The Amazon Resource Name (ARN) of the environment account connection.
arn This property is required. str
The Amazon Resource Name (ARN) of the environment account connection.
arn This property is required. 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.
CodebuildRoleArn string
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.
ComponentRoleArn string
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.
EnvironmentAccountId string
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.
ManagementAccountId string
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.AwsNative.Proton.EnvironmentAccountConnectionStatus
The status of the environment account connection.
Tags List<Pulumi.AwsNative.Outputs.Tag>
Arn string
The Amazon Resource Name (ARN) of the environment account connection.
CodebuildRoleArn string
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.
ComponentRoleArn string
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.
EnvironmentAccountId string
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.
ManagementAccountId string
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 EnvironmentAccountConnectionStatus
The status of the environment account connection.
Tags Tag
arn String
The Amazon Resource Name (ARN) of the environment account connection.
codebuildRoleArn String
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.
componentRoleArn String
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.
environmentAccountId String
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.
managementAccountId String
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 EnvironmentAccountConnectionStatus
The status of the environment account connection.
tags List<Tag>
arn string
The Amazon Resource Name (ARN) of the environment account connection.
codebuildRoleArn string
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.
componentRoleArn string
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.
environmentAccountId string
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.
managementAccountId string
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 EnvironmentAccountConnectionStatus
The status of the environment account connection.
tags Tag[]
arn str
The Amazon Resource Name (ARN) of the environment account connection.
codebuild_role_arn str
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_arn str
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_id str
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_id str
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 EnvironmentAccountConnectionStatus
The status of the environment account connection.
tags Sequence[root_Tag]
arn String
The Amazon Resource Name (ARN) of the environment account connection.
codebuildRoleArn String
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.
componentRoleArn String
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.
environmentAccountId String
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.
managementAccountId String
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.
tags List<Property Map>

Supporting Types

EnvironmentAccountConnectionStatus

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the 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.27.0 published on Monday, Apr 14, 2025 by Pulumi