1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. rolesanywhere
  6. TrustAnchor

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Definition of AWS::RolesAnywhere::TrustAnchor Resource Type.

    Create TrustAnchor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TrustAnchor(name: string, args: TrustAnchorArgs, opts?: CustomResourceOptions);
    @overload
    def TrustAnchor(resource_name: str,
                    args: TrustAnchorArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrustAnchor(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    source: Optional[TrustAnchorSourceArgs] = None,
                    enabled: Optional[bool] = None,
                    name: Optional[str] = None,
                    notification_settings: Optional[Sequence[TrustAnchorNotificationSettingArgs]] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewTrustAnchor(ctx *Context, name string, args TrustAnchorArgs, opts ...ResourceOption) (*TrustAnchor, error)
    public TrustAnchor(string name, TrustAnchorArgs args, CustomResourceOptions? opts = null)
    public TrustAnchor(String name, TrustAnchorArgs args)
    public TrustAnchor(String name, TrustAnchorArgs args, CustomResourceOptions options)
    
    type: aws-native:rolesanywhere:TrustAnchor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_rolesanywhere_trust_anchor" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TrustAnchorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TrustAnchorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TrustAnchorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrustAnchorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrustAnchorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TrustAnchor Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TrustAnchor resource accepts the following input properties:

    Source Pulumi.AwsNative.RolesAnywhere.Inputs.TrustAnchorSource
    The trust anchor type and its related certificate data.
    Enabled bool
    Indicates whether the trust anchor is enabled.
    Name string
    The name of the trust anchor.
    NotificationSettings List<Pulumi.AwsNative.RolesAnywhere.Inputs.TrustAnchorNotificationSetting>
    A list of notification settings to be associated to the trust anchor.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags to attach to the trust anchor.
    Source TrustAnchorSourceArgs
    The trust anchor type and its related certificate data.
    Enabled bool
    Indicates whether the trust anchor is enabled.
    Name string
    The name of the trust anchor.
    NotificationSettings []TrustAnchorNotificationSettingArgs
    A list of notification settings to be associated to the trust anchor.
    Tags TagArgs
    The tags to attach to the trust anchor.
    source object
    The trust anchor type and its related certificate data.
    enabled bool
    Indicates whether the trust anchor is enabled.
    name string
    The name of the trust anchor.
    notification_settings list(object)
    A list of notification settings to be associated to the trust anchor.
    tags list(object)
    The tags to attach to the trust anchor.
    source TrustAnchorSource
    The trust anchor type and its related certificate data.
    enabled Boolean
    Indicates whether the trust anchor is enabled.
    name String
    The name of the trust anchor.
    notificationSettings List<TrustAnchorNotificationSetting>
    A list of notification settings to be associated to the trust anchor.
    tags List<Tag>
    The tags to attach to the trust anchor.
    source TrustAnchorSource
    The trust anchor type and its related certificate data.
    enabled boolean
    Indicates whether the trust anchor is enabled.
    name string
    The name of the trust anchor.
    notificationSettings TrustAnchorNotificationSetting[]
    A list of notification settings to be associated to the trust anchor.
    tags Tag[]
    The tags to attach to the trust anchor.
    source TrustAnchorSourceArgs
    The trust anchor type and its related certificate data.
    enabled bool
    Indicates whether the trust anchor is enabled.
    name str
    The name of the trust anchor.
    notification_settings Sequence[TrustAnchorNotificationSettingArgs]
    A list of notification settings to be associated to the trust anchor.
    tags Sequence[TagArgs]
    The tags to attach to the trust anchor.
    source Property Map
    The trust anchor type and its related certificate data.
    enabled Boolean
    Indicates whether the trust anchor is enabled.
    name String
    The name of the trust anchor.
    notificationSettings List<Property Map>
    A list of notification settings to be associated to the trust anchor.
    tags List<Property Map>
    The tags to attach to the trust anchor.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TrustAnchor resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TrustAnchorArn string
    The ARN of the trust anchor.
    TrustAnchorId string
    The unique identifier of the trust anchor.
    Id string
    The provider-assigned unique ID for this managed resource.
    TrustAnchorArn string
    The ARN of the trust anchor.
    TrustAnchorId string
    The unique identifier of the trust anchor.
    id string
    The provider-assigned unique ID for this managed resource.
    trust_anchor_arn string
    The ARN of the trust anchor.
    trust_anchor_id string
    The unique identifier of the trust anchor.
    id String
    The provider-assigned unique ID for this managed resource.
    trustAnchorArn String
    The ARN of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.
    id string
    The provider-assigned unique ID for this managed resource.
    trustAnchorArn string
    The ARN of the trust anchor.
    trustAnchorId string
    The unique identifier of the trust anchor.
    id str
    The provider-assigned unique ID for this managed resource.
    trust_anchor_arn str
    The ARN of the trust anchor.
    trust_anchor_id str
    The unique identifier of the trust anchor.
    id String
    The provider-assigned unique ID for this managed resource.
    trustAnchorArn String
    The ARN of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.

    Look up Existing TrustAnchor Resource

    Get an existing TrustAnchor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): TrustAnchor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> TrustAnchor
    func GetTrustAnchor(ctx *Context, name string, id IDInput, state *TrustAnchorState, opts ...ResourceOption) (*TrustAnchor, error)
    public static TrustAnchor Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static TrustAnchor get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingTrustAnchor:    type: aws-native:rolesanywhere:TrustAnchor    get:      id: ${id}
    import {
      to = aws-native_rolesanywhere_trust_anchor.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state TrustAnchorState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TrustAnchorNotificationChannel, TrustAnchorNotificationChannelArgs

    NameValue
    AllALL
    NameValue
    TrustAnchorNotificationChannelAllALL
    Value
    ALL
    NameValue
    AllALL
    NameValue
    AllALL
    NameValue
    ALLALL
    Value
    ALL

    TrustAnchorNotificationEvent, TrustAnchorNotificationEventArgs

    NameValue
    CaCertificateExpiryCA_CERTIFICATE_EXPIRY
    EndEntityCertificateExpiryEND_ENTITY_CERTIFICATE_EXPIRY
    NameValue
    TrustAnchorNotificationEventCaCertificateExpiryCA_CERTIFICATE_EXPIRY
    TrustAnchorNotificationEventEndEntityCertificateExpiryEND_ENTITY_CERTIFICATE_EXPIRY
    Value
    CA_CERTIFICATE_EXPIRY
    END_ENTITY_CERTIFICATE_EXPIRY
    NameValue
    CaCertificateExpiryCA_CERTIFICATE_EXPIRY
    EndEntityCertificateExpiryEND_ENTITY_CERTIFICATE_EXPIRY
    NameValue
    CaCertificateExpiryCA_CERTIFICATE_EXPIRY
    EndEntityCertificateExpiryEND_ENTITY_CERTIFICATE_EXPIRY
    NameValue
    CA_CERTIFICATE_EXPIRYCA_CERTIFICATE_EXPIRY
    END_ENTITY_CERTIFICATE_EXPIRYEND_ENTITY_CERTIFICATE_EXPIRY
    Value
    CA_CERTIFICATE_EXPIRY
    END_ENTITY_CERTIFICATE_EXPIRY

    TrustAnchorNotificationSetting, TrustAnchorNotificationSettingArgs

    Enabled bool
    Indicates whether the notification setting is enabled.
    Event Pulumi.AwsNative.RolesAnywhere.TrustAnchorNotificationEvent
    The event to which this notification setting is applied.
    Channel Pulumi.AwsNative.RolesAnywhere.TrustAnchorNotificationChannel

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    Threshold double
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    Enabled bool
    Indicates whether the notification setting is enabled.
    Event TrustAnchorNotificationEvent
    The event to which this notification setting is applied.
    Channel TrustAnchorNotificationChannel

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    Threshold float64
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    enabled bool
    Indicates whether the notification setting is enabled.
    event "CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY"
    The event to which this notification setting is applied.
    channel "ALL"

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    threshold number
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    enabled Boolean
    Indicates whether the notification setting is enabled.
    event TrustAnchorNotificationEvent
    The event to which this notification setting is applied.
    channel TrustAnchorNotificationChannel

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    threshold Double
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    enabled boolean
    Indicates whether the notification setting is enabled.
    event TrustAnchorNotificationEvent
    The event to which this notification setting is applied.
    channel TrustAnchorNotificationChannel

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    threshold number
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    enabled bool
    Indicates whether the notification setting is enabled.
    event TrustAnchorNotificationEvent
    The event to which this notification setting is applied.
    channel TrustAnchorNotificationChannel

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    threshold float
    The number of days before a notification event. This value is required for a notification setting that is enabled.
    enabled Boolean
    Indicates whether the notification setting is enabled.
    event "CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY"
    The event to which this notification setting is applied.
    channel "ALL"

    The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

    In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

    threshold Number
    The number of days before a notification event. This value is required for a notification setting that is enabled.

    TrustAnchorSource, TrustAnchorSourceArgs

    SourceData TrustAnchorSourceData0Properties | TrustAnchorSourceData1Properties
    A union object representing the data field of the TrustAnchor depending on its type
    SourceType TrustAnchorType
    The type of the TrustAnchor.
    source_data object | object
    A union object representing the data field of the TrustAnchor depending on its type
    source_type "AWS_ACM_PCA" | "CERTIFICATE_BUNDLE"
    The type of the TrustAnchor.
    sourceData TrustAnchorSourceData0Properties | TrustAnchorSourceData1Properties
    A union object representing the data field of the TrustAnchor depending on its type
    sourceType TrustAnchorType
    The type of the TrustAnchor.
    sourceData TrustAnchorSourceData0Properties | TrustAnchorSourceData1Properties
    A union object representing the data field of the TrustAnchor depending on its type
    sourceType TrustAnchorType
    The type of the TrustAnchor.
    source_data TrustAnchorSourceData0Properties | TrustAnchorSourceData1Properties
    A union object representing the data field of the TrustAnchor depending on its type
    source_type TrustAnchorType
    The type of the TrustAnchor.
    sourceData Property Map | Property Map
    A union object representing the data field of the TrustAnchor depending on its type
    sourceType "AWS_ACM_PCA" | "CERTIFICATE_BUNDLE"
    The type of the TrustAnchor.

    TrustAnchorSourceData0Properties, TrustAnchorSourceData0PropertiesArgs

    TrustAnchorSourceData1Properties, TrustAnchorSourceData1PropertiesArgs

    AcmPcaArn string
    AcmPcaArn string
    acmPcaArn String
    acmPcaArn string
    acmPcaArn String

    TrustAnchorType, TrustAnchorTypeArgs

    NameValue
    AwsAcmPcaAWS_ACM_PCA
    CertificateBundleCERTIFICATE_BUNDLE
    NameValue
    TrustAnchorTypeAwsAcmPcaAWS_ACM_PCA
    TrustAnchorTypeCertificateBundleCERTIFICATE_BUNDLE
    Value
    AWS_ACM_PCA
    CERTIFICATE_BUNDLE
    NameValue
    AwsAcmPcaAWS_ACM_PCA
    CertificateBundleCERTIFICATE_BUNDLE
    NameValue
    AwsAcmPcaAWS_ACM_PCA
    CertificateBundleCERTIFICATE_BUNDLE
    NameValue
    AWS_ACM_PCAAWS_ACM_PCA
    CERTIFICATE_BUNDLECERTIFICATE_BUNDLE
    Value
    AWS_ACM_PCA
    CERTIFICATE_BUNDLE

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial