View a markdown version of this page

AWS::CloudExtensions::ProfileEntry - 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::CloudExtensions::ProfileEntry

Creates a profile entry that binds an extension to a profile. The extension must exist, and the profile can't already have an entry for that extension.

Syntax

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

JSON

{ "Type" : "AWS::CloudExtensions::ProfileEntry", "Properties" : { "Approve" : [ String, ... ], "Description" : String, "ExecutionRole" : String, "ExtensionId" : String, "Interfaces" : [ Interface, ... ], "Name" : String, "ProfileId" : String, "Settings" : Json, "Tags" : [ Tag, ... ], "VersionPolicy" : VersionPolicy } }

YAML

Type: AWS::CloudExtensions::ProfileEntry Properties: Approve: - String Description: String ExecutionRole: String ExtensionId: String Interfaces: - Interface Name: String ProfileId: String Settings: Json Tags: - Tag VersionPolicy: VersionPolicy

Properties

Approve

A list of capability paths to approve. Each path must correspond to a capability instance that the extension declares. A capability path is a capability ID, optionally followed by dot-separated child IDs or list indexes. You can specify up to 100 paths.

Required: No

Type: Array of String

Minimum: 3

Maximum: 128 | 100

Update requires: No interruption

Description

A description of the purpose of the entry. The description can be up to 256 characters long.

Required: No

Type: String

Pattern: ^[^ \p{Cc}][^\p{Cc}]*$

Minimum: 1

Maximum: 256

Update requires: No interruption

ExecutionRole

The ARN of the IAM role that the extension assumes when it calls Amazon services. The principal of the Cloud Extensions orchestrator must be able to assume the role.

Required: No

Type: String

Pattern: ^arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+$

Minimum: 20

Maximum: 1011

Update requires: No interruption

ExtensionId

The ID of the extension that this entry references, such as aws:secretsmanager.

Required: Yes

Type: String

Pattern: ^[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*$

Minimum: 6

Maximum: 49

Update requires: Replacement

Interfaces

The options for each interface, keyed by the ID of an interface that the extension declares. You can specify options for up to 10 interfaces.

Required: No

Type: Array of Interface

Maximum: 10

Update requires: No interruption

Name

The name of the profile entry, which is unique within the profile. The default is the name part of the extension ID.

Required: No

Type: String

Pattern: ^[a-z][a-z0-9]+([_-][a-z0-9]+)*$

Minimum: 2

Maximum: 32

Update requires: No interruption

ProfileId

The ID of the profile that this entry belongs to.

Required: Yes

Type: String

Pattern: ^[a-z0-9]{10,63}$

Update requires: Replacement

Settings

The setting values to use for this extension, as free-form JSON. The keys are the setting IDs of the extension. The values are validated against the setting definitions of the extension. A setting that you omit or set to null takes its default value, if it has one. A null value inside an array isn't valid.

Required: No

Type: Json

Update requires: No interruption

Tags

The tags to assign to the profile entry.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

VersionPolicy

The policy that controls which extension version this entry tracks, and how the entry adopts new releases.

Required: No

Type: VersionPolicy

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon Resource Name (ARN) of the profile entry, which is the primary identifier of the resource.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) of the profile entry.

ExtensionDisplayName

The display name of the extension that this entry references.

Id

The ID of the profile entry, which the service generates.

LatestVersion

The latest released version of the extension, whether or not the version policy of the entry selects it.

ProfileName

The name of the profile that this entry belongs to.

ResolvedVersion

The extension version that the version policy of the entry selects. The Cloud Extensions orchestrator runs this version.