CfnPortfolioShareProps

class aws_cdk.aws_servicecatalog.CfnPortfolioShareProps(*, account_id, portfolio_id, accept_language=None, share_tag_options=None)

Bases: object

Properties for defining a CfnPortfolioShare.

Parameters
  • account_id (str) – The AWS account ID. For example, 123456789012 .

  • portfolio_id (str) – The portfolio identifier.

  • accept_language (Optional[str]) – The language code. - en - English (default) - jp - Japanese - zh - Chinese

  • share_tag_options (Union[bool, IResolvable, None]) – Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_servicecatalog as servicecatalog

cfn_portfolio_share_props = servicecatalog.CfnPortfolioShareProps(
    account_id="accountId",
    portfolio_id="portfolioId",

    # the properties below are optional
    accept_language="acceptLanguage",
    share_tag_options=False
)

Attributes

accept_language

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-acceptlanguage

Return type

Optional[str]

account_id

The AWS account ID.

For example, 123456789012 .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-accountid

Return type

str

portfolio_id

The portfolio identifier.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-portfolioid

Return type

str

share_tag_options

Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-sharetagoptions

Return type

Union[bool, IResolvable, None]