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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.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 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-enabled

name

The name of the trust anchor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-name

notification_settings

A list of notification settings to be associated to the trust anchor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-notificationsettings

source

The trust anchor type and its related certificate data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-source

tags

The tags to attach to the trust anchor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-tags