CfnIdentitySourcePropsMixin

class aws_cdk.mixins_preview.aws_mpa.mixins.CfnIdentitySourcePropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a new identity source.

For more information, see Identity Source in the Multi-party approval User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-identitysource.html

CloudformationResource:

AWS::MPA::IdentitySource

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_mpa import mixins as mpa_mixins

cfn_identity_source_props_mixin = mpa_mixins.CfnIdentitySourcePropsMixin(mpa_mixins.CfnIdentitySourceMixinProps(
    identity_source_parameters=mpa_mixins.CfnIdentitySourcePropsMixin.IdentitySourceParametersProperty(
        iam_identity_center=mpa_mixins.CfnIdentitySourcePropsMixin.IamIdentityCenterProperty(
            approval_portal_url="approvalPortalUrl",
            instance_arn="instanceArn",
            region="region"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::MPA::IdentitySource.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['identitySourceParameters', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

IamIdentityCenterProperty

class CfnIdentitySourcePropsMixin.IamIdentityCenterProperty(*, approval_portal_url=None, instance_arn=None, region=None)

Bases: object

AWS IAM Identity Center credentials.

For more information see, AWS IAM Identity Center .

Parameters:
  • approval_portal_url (Optional[str]) – URL for the approval portal associated with the IAM Identity Center instance.

  • instance_arn (Optional[str]) – Amazon Resource Name (ARN) for the IAM Identity Center instance.

  • region (Optional[str]) – AWS Region where the IAM Identity Center instance is located.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_mpa import mixins as mpa_mixins

iam_identity_center_property = mpa_mixins.CfnIdentitySourcePropsMixin.IamIdentityCenterProperty(
    approval_portal_url="approvalPortalUrl",
    instance_arn="instanceArn",
    region="region"
)

Attributes

approval_portal_url

URL for the approval portal associated with the IAM Identity Center instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-approvalportalurl

instance_arn

Amazon Resource Name (ARN) for the IAM Identity Center instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-instancearn

region

AWS Region where the IAM Identity Center instance is located.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-region

IdentitySourceParametersProperty

class CfnIdentitySourcePropsMixin.IdentitySourceParametersProperty(*, iam_identity_center=None)

Bases: object

Contains details for the resource that provides identities to the identity source.

For example, an IAM Identity Center instance.

Parameters:

iam_identity_center (Union[IResolvable, IamIdentityCenterProperty, Dict[str, Any], None]) – AWS IAM Identity Center credentials.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-identitysourceparameters.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_mpa import mixins as mpa_mixins

identity_source_parameters_property = mpa_mixins.CfnIdentitySourcePropsMixin.IdentitySourceParametersProperty(
    iam_identity_center=mpa_mixins.CfnIdentitySourcePropsMixin.IamIdentityCenterProperty(
        approval_portal_url="approvalPortalUrl",
        instance_arn="instanceArn",
        region="region"
    )
)

Attributes

iam_identity_center

AWS IAM Identity Center credentials.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-identitysourceparameters.html#cfn-mpa-identitysource-identitysourceparameters-iamidentitycenter