View a markdown version of this page

AWS::ARCRegionSwitch::Plan SsmDocumentConfig - 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::ARCRegionSwitch::Plan SsmDocumentConfig

The Systems Manager document to run and the managed nodes to target for a single Amazon Web Services Region.

Syntax

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

JSON

{ "CrossAccountRole" : String, "DocumentArn" : String, "DocumentVersion" : String, "ExternalId" : String, "Parameters" : {Key: Value, ...}, "Targets" : [ SsmTarget, ... ] }

YAML

CrossAccountRole: String DocumentArn: String DocumentVersion: String ExternalId: String Parameters: Key: Value Targets: - SsmTarget

Properties

CrossAccountRole

The cross-account role for the configuration.

Required: No

Type: String

Pattern: ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$

Update requires: No interruption

DocumentArn

The Amazon Resource Name (ARN) of the Systems Manager document to run.

Required: Yes

Type: String

Pattern: ^arn:[a-z0-9\-]+:ssm:[a-z0-9\-]+:([0-9]{12})?:document/[a-zA-Z0-9_.\-]+$

Minimum: 20

Maximum: 256

Update requires: No interruption

DocumentVersion

The version of the Systems Manager document to run for this Region. When you omit it, Systems Manager runs the document's default version.

Required: No

Type: String

Pattern: ^([$]LATEST|[$]DEFAULT|[1-9][0-9]*)$

Minimum: 1

Maximum: 8

Update requires: No interruption

ExternalId

The external ID (secret key) for the configuration.

Required: No

Type: String

Update requires: No interruption

Parameters

The parameters that are passed to this Region's Systems Manager document. You set parameters for each document, so each Region can run its document with its own parameters.

Required: No

Type: Object of Array

Pattern: .+

Update requires: No interruption

Targets

The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use the InstanceIds key. You can specify up to five target filters.

Required: Yes

Type: Array of SsmTarget

Minimum: 1

Maximum: 5

Update requires: No interruption