CfnIdentitySourcePropsMixin
- class aws_cdk.mixins_preview.aws_mpa.mixins.CfnIdentitySourcePropsMixin(props, *, strategy=None)
Bases:
MixinCreates 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:
props (
Union[CfnIdentitySourceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
IamIdentityCenterProperty
- class CfnIdentitySourcePropsMixin.IamIdentityCenterProperty(*, approval_portal_url=None, instance_arn=None, region=None)
Bases:
objectAWS 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:
- 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.
- instance_arn
Amazon Resource Name (ARN) for the IAM Identity Center instance.
- region
AWS Region where the IAM Identity Center instance is located.
IdentitySourceParametersProperty
- class CfnIdentitySourcePropsMixin.IdentitySourceParametersProperty(*, iam_identity_center=None)
Bases:
objectContains 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:
- 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.