CfnPortfolioPrincipalAssociationProps

class aws_cdk.aws_servicecatalog.CfnPortfolioPrincipalAssociationProps(*, portfolio_id, principal_arn, principal_type, accept_language=None)

Bases: object

Properties for defining a CfnPortfolioPrincipalAssociation.

Parameters
  • portfolio_id (str) – The portfolio identifier.

  • principal_arn (str) – The ARN of the principal (IAM user, role, or group).

  • principal_type (str) – The principal type. The supported value is IAM .

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.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_principal_association_props = servicecatalog.CfnPortfolioPrincipalAssociationProps(
    portfolio_id="portfolioId",
    principal_arn="principalArn",
    principal_type="principalType",

    # the properties below are optional
    accept_language="acceptLanguage"
)

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-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-acceptlanguage

Return type

Optional[str]

portfolio_id

The portfolio identifier.

Link

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

Return type

str

principal_arn

The ARN of the principal (IAM user, role, or group).

Link

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

Return type

str

principal_type

The principal type.

The supported value is IAM .

Link

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

Return type

str