CfnTrustAnchorProps
- class aws_cdk.aws_rolesanywhere.CfnTrustAnchorProps(*, name, source, enabled=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.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags to attach to the trust anchor.
- Link:
- 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_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, tags=[CfnTag( key="key", value="value" )] )
Attributes
- enabled
Indicates whether the trust anchor is enabled.
- name
The name of the trust anchor.
- source
The trust anchor type and its related certificate data.
- tags
The tags to attach to the trust anchor.