{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-proton/refs/heads/main/json-schema/amazon-proton-environment-account-connection-schema.json", "title": "EnvironmentAccountConnection", "description": "Detailed data of an Proton environment account connection resource.", "type": "object", "properties": { "arn": { "allOf": [ { "$ref": "#/components/schemas/EnvironmentAccountConnectionArn" }, { "description": "The Amazon Resource Name (ARN) of the environment account connection." } ] }, "codebuildRoleArn": { "allOf": [ { "$ref": "#/components/schemas/RoleArn" }, { "description": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account." } ] }, "componentRoleArn": { "allOf": [ { "$ref": "#/components/schemas/RoleArn" }, { "description": "

The Amazon Resource Name (ARN) of the IAM service role that 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.

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

For more information about components, see Proton components in the Proton User Guide.

" } ] }, "environmentAccountId": { "allOf": [ { "$ref": "#/components/schemas/AwsAccountId" }, { "description": "The environment account that's connected to the environment account connection." } ] }, "environmentName": { "allOf": [ { "$ref": "#/components/schemas/ResourceName" }, { "description": "The name of the environment that's associated with the environment account connection." } ] }, "id": { "allOf": [ { "$ref": "#/components/schemas/EnvironmentAccountConnectionId" }, { "description": "The ID of the environment account connection." } ] }, "lastModifiedAt": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "The time when the environment account connection was last modified." } ] }, "managementAccountId": { "allOf": [ { "$ref": "#/components/schemas/AwsAccountId" }, { "description": "The ID of the management account that's connected to the environment account connection." } ] }, "requestedAt": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "The time when the environment account connection request was made." } ] }, "roleArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The IAM service role that's associated with the environment account connection." } ] }, "status": { "allOf": [ { "$ref": "#/components/schemas/EnvironmentAccountConnectionStatus" }, { "description": "The status of the environment account connection." } ] } }, "required": [ "arn", "environmentAccountId", "environmentName", "id", "lastModifiedAt", "managementAccountId", "requestedAt", "roleArn", "status" ] }