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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.proton.getEnvironmentAccountConnection

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:proton:getEnvironmentAccountConnection
      arguments:
        # arguments dictionary

    The 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.
    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 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.9.0 published on Monday, Nov 18, 2024 by Pulumi