AWS CloudFormation
User Guide (Version )

AWS::ServiceCatalog::PortfolioShare

Shares the specified portfolio with the specified account or organization node. Shares to an organization node can only be created by the master account of an Organization. AWSOrganizationsAccess must be enabled in order to create a portfolio share to an organization node.

Syntax

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

JSON

{ "Type" : "AWS::ServiceCatalog::PortfolioShare", "Properties" : { "AcceptLanguage" : String, "AccountId" : String, "PortfolioId" : String } }

YAML

Type: AWS::ServiceCatalog::PortfolioShare Properties: AcceptLanguage: String AccountId: String PortfolioId: String

Properties

AcceptLanguage

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Required: No

Type: String

Maximum: 100

Update requires: Replacement

AccountId

The AWS account ID. For example, 123456789012.

Required: Yes

Type: String

Pattern: ^[0-9]{12}$

Update requires: Replacement

PortfolioId

The portfolio identifier.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Pattern: ^[a-zA-Z0-9_\-]*

Update requires: Replacement

Return Values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the identifier of the portfolio share.

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

See Also