View a markdown version of this page

AWS::DevOpsAgent::Association PrivateNetworkAccess - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::DevOpsAgent::Association PrivateNetworkAccess

Private network access to your application inside a VPC, through a private connection.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "PrivateConnectionName" : String, "RuntimeRoleArn" : String }

Properties

PrivateConnectionName

The name of the private connection that supplies the VPC configuration for this release management environment. You create the private connection with the AWS::DevOpsAgent::PrivateConnection resource.

Required: Yes

Type: String

Pattern: ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$

Minimum: 3

Maximum: 30

Update requires: No interruption

RuntimeRoleArn

The ARN of the IAM role that Amazon DevOps Agent assumes at runtime to connect to your VPC.

In the trust policy of the role, allow the aidevops.amazonaws.com service principal to call sts:AssumeRole, sts:SetSourceIdentity, and sts:TagSession.

Add the aws:SourceAccount and aws:SourceArn condition keys to the trust policy, so that only your account and your Agent Spaces can use the role.

Required: Yes

Type: String

Pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/[a-zA-Z0-9+=,.@_/-]+$

Minimum: 1

Maximum: 255

Update requires: No interruption