AWS Native is in preview. AWS Classic is fully supported.
aws-native.proton.EnvironmentAccountConnection
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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
The EnvironmentAccountConnection resource accepts the following input properties:
- Codebuild
Role 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.
- Component
Role 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.
- Environment
Account stringId - The environment account that's connected to the environment account connection.
- Environment
Name string - The name of the AWS Proton environment that's created in the associated management account.
- Management
Account 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.
- Role
Arn 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.
- List<Pulumi.
Aws Native. Inputs. Tag>
- Codebuild
Role 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.
- Component
Role 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.
- Environment
Account stringId - The environment account that's connected to the environment account connection.
- Environment
Name string - The name of the AWS Proton environment that's created in the associated management account.
- Management
Account 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.
- Role
Arn 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.
- Tag
Args
- codebuild
Role 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.
- component
Role 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.
- environment
Account StringId - The environment account that's connected to the environment account connection.
- environment
Name String - The name of the AWS Proton environment that's created in the associated management account.
- management
Account 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.
- role
Arn 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.
- List<Tag>
- codebuild
Role 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.
- component
Role 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.
- environment
Account stringId - The environment account that's connected to the environment account connection.
- environment
Name string - The name of the AWS Proton environment that's created in the associated management account.
- management
Account 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.
- role
Arn 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.
- Tag[]
- 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.
- 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.
- Sequence[Tag
Args]
- codebuild
Role 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.
- component
Role 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.
- environment
Account StringId - The environment account that's connected to the environment account connection.
- environment
Name String - The name of the AWS Proton environment that's created in the associated management account.
- management
Account 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.
- role
Arn 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.
- 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.
- Aws
Id string - The ID of the environment account connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.
Aws Native. Proton. Environment Account Connection Status - The status of the environment account connection.
- Arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- Aws
Id string - The ID of the environment account connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Environment
Account Connection Status - The status of the environment account connection.
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
- aws
Id String - The ID of the environment account connection.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Environment
Account Connection Status - The status of the environment account connection.
- arn string
- The Amazon Resource Name (ARN) of the environment account connection.
- aws
Id string - The ID of the environment account connection.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Environment
Account Connection Status - 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
Environment
Account Connection Status - The status of the environment account connection.
- arn String
- The Amazon Resource Name (ARN) of the environment account connection.
- aws
Id 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
- Environment
Account Connection Status Pending - PENDING
- Environment
Account Connection Status Connected - CONNECTED
- Environment
Account Connection Status Rejected - 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.