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

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.EnvironmentAccountConnection

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.

    Create EnvironmentAccountConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnvironmentAccountConnection(name: string, args?: EnvironmentAccountConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def EnvironmentAccountConnection(resource_name: str,
                                     args: Optional[EnvironmentAccountConnectionArgs] = None,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvironmentAccountConnection(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     codebuild_role_arn: Optional[str] = None,
                                     component_role_arn: Optional[str] = None,
                                     environment_account_id: Optional[str] = None,
                                     environment_name: Optional[str] = None,
                                     management_account_id: Optional[str] = None,
                                     role_arn: Optional[str] = None,
                                     tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewEnvironmentAccountConnection(ctx *Context, name string, args *EnvironmentAccountConnectionArgs, opts ...ResourceOption) (*EnvironmentAccountConnection, error)
    public EnvironmentAccountConnection(string name, EnvironmentAccountConnectionArgs? args = null, CustomResourceOptions? opts = null)
    public EnvironmentAccountConnection(String name, EnvironmentAccountConnectionArgs args)
    public EnvironmentAccountConnection(String name, EnvironmentAccountConnectionArgs args, CustomResourceOptions options)
    
    type: aws-native:proton:EnvironmentAccountConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EnvironmentAccountConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnvironmentAccountConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnvironmentAccountConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentAccountConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentAccountConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EnvironmentAccountConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EnvironmentAccountConnection resource accepts the following input properties:

    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.
    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.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    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.
    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.
    Tags TagArgs
    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.
    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.
    tags List<Tag>
    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.
    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.
    tags Tag[]
    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.
    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.
    tags Sequence[TagArgs]
    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.
    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.
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnvironmentAccountConnection resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the environment account connection.
    AwsId string
    The ID of the environment account connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status Pulumi.AwsNative.Proton.EnvironmentAccountConnectionStatus
    The status of the environment account connection.
    Arn string
    The Amazon Resource Name (ARN) of the environment account connection.
    AwsId string
    The ID of the environment account connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status EnvironmentAccountConnectionStatus
    The status of the environment account connection.
    arn String
    The Amazon Resource Name (ARN) of the environment account connection.
    awsId String
    The ID of the environment account connection.
    id String
    The provider-assigned unique ID for this managed resource.
    status EnvironmentAccountConnectionStatus
    The status of the environment account connection.
    arn string
    The Amazon Resource Name (ARN) of the environment account connection.
    awsId string
    The ID of the environment account connection.
    id string
    The provider-assigned unique ID for this managed resource.
    status EnvironmentAccountConnectionStatus
    The status of the environment account connection.
    arn str
    The Amazon Resource Name (ARN) of the environment account connection.
    aws_id str
    The ID of the environment account connection.
    id str
    The provider-assigned unique ID for this managed resource.
    status EnvironmentAccountConnectionStatus
    The status of the environment account connection.
    arn String
    The Amazon Resource Name (ARN) of the environment account connection.
    awsId String
    The ID of the environment account connection.
    id String
    The provider-assigned unique ID for this managed resource.
    status "PENDING" | "CONNECTED" | "REJECTED"
    The status of the environment account connection.

    Supporting Types

    EnvironmentAccountConnectionStatus, EnvironmentAccountConnectionStatusArgs

    Pending
    PENDING
    Connected
    CONNECTED
    Rejected
    REJECTED
    EnvironmentAccountConnectionStatusPending
    PENDING
    EnvironmentAccountConnectionStatusConnected
    CONNECTED
    EnvironmentAccountConnectionStatusRejected
    REJECTED
    Pending
    PENDING
    Connected
    CONNECTED
    Rejected
    REJECTED
    Pending
    PENDING
    Connected
    CONNECTED
    Rejected
    REJECTED
    PENDING
    PENDING
    CONNECTED
    CONNECTED
    REJECTED
    REJECTED
    "PENDING"
    PENDING
    "CONNECTED"
    CONNECTED
    "REJECTED"
    REJECTED

    Tag, TagArgs

    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