CfnTrustAnchorProps
- class aws_cdk.aws_rolesanywhere.CfnTrustAnchorProps(*, name, source, enabled=None, notification_settings=None, tags=None)
Bases:
object
Properties for defining a
CfnTrustAnchor
.- Parameters:
name (
str
) – The name of the trust anchor.source (
Union
[IResolvable
,SourceProperty
,Dict
[str
,Any
]]) – The trust anchor type and its related certificate data.enabled (
Union
[bool
,IResolvable
,None
]) – Indicates whether the trust anchor is enabled.notification_settings (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,NotificationSettingProperty
,Dict
[str
,Any
]]],None
]) – A list of notification settings to be associated to the trust anchor.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags to attach to the trust anchor.
- 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 import aws_rolesanywhere as rolesanywhere cfn_trust_anchor_props = rolesanywhere.CfnTrustAnchorProps( name="name", source=rolesanywhere.CfnTrustAnchor.SourceProperty( source_data=rolesanywhere.CfnTrustAnchor.SourceDataProperty( acm_pca_arn="acmPcaArn", x509_certificate_data="x509CertificateData" ), source_type="sourceType" ), # the properties below are optional enabled=False, notification_settings=[rolesanywhere.CfnTrustAnchor.NotificationSettingProperty( enabled=False, event="event", # the properties below are optional channel="channel", threshold=123 )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- enabled
Indicates whether the trust anchor is enabled.
- name
The name of the trust anchor.
- notification_settings
A list of notification settings to be associated to the trust anchor.
- source
The trust anchor type and its related certificate data.
- tags
The tags to attach to the trust anchor.