1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. rolesanywhere
  5. getTrustAnchor

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.rolesanywhere.getTrustAnchor

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

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

    Using getTrustAnchor

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrustAnchor(args: GetTrustAnchorArgs, opts?: InvokeOptions): Promise<GetTrustAnchorResult>
    function getTrustAnchorOutput(args: GetTrustAnchorOutputArgs, opts?: InvokeOptions): Output<GetTrustAnchorResult>
    def get_trust_anchor(trust_anchor_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetTrustAnchorResult
    def get_trust_anchor_output(trust_anchor_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetTrustAnchorResult]
    func LookupTrustAnchor(ctx *Context, args *LookupTrustAnchorArgs, opts ...InvokeOption) (*LookupTrustAnchorResult, error)
    func LookupTrustAnchorOutput(ctx *Context, args *LookupTrustAnchorOutputArgs, opts ...InvokeOption) LookupTrustAnchorResultOutput

    > Note: This function is named LookupTrustAnchor in the Go SDK.

    public static class GetTrustAnchor 
    {
        public static Task<GetTrustAnchorResult> InvokeAsync(GetTrustAnchorArgs args, InvokeOptions? opts = null)
        public static Output<GetTrustAnchorResult> Invoke(GetTrustAnchorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrustAnchorResult> getTrustAnchor(GetTrustAnchorArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:rolesanywhere:getTrustAnchor
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TrustAnchorId string
    The unique identifier of the trust anchor.
    TrustAnchorId string
    The unique identifier of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.
    trustAnchorId string
    The unique identifier of the trust anchor.
    trust_anchor_id str
    The unique identifier of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.

    getTrustAnchor Result

    The following output properties are available:

    Enabled bool
    Indicates whether the trust anchor is enabled.
    Name string
    The name of the trust anchor.
    NotificationSettings List<Pulumi.AwsNative.RolesAnywhere.Outputs.TrustAnchorNotificationSetting>
    A list of notification settings to be associated to the trust anchor.
    Source Pulumi.AwsNative.RolesAnywhere.Outputs.TrustAnchorSource
    The trust anchor type and its related certificate data.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags to attach to the trust anchor.
    TrustAnchorArn string
    The ARN of the trust anchor.
    TrustAnchorId string
    The unique identifier of the trust anchor.
    Enabled bool
    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.
    Source TrustAnchorSource
    The trust anchor type and its related certificate data.
    Tags Tag
    The tags to attach to the trust anchor.
    TrustAnchorArn string
    The ARN of the trust anchor.
    TrustAnchorId string
    The unique identifier of the trust anchor.
    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.
    source TrustAnchorSource
    The trust anchor type and its related certificate data.
    tags List<Tag>
    The tags to attach to the trust anchor.
    trustAnchorArn String
    The ARN of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.
    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.
    source TrustAnchorSource
    The trust anchor type and its related certificate data.
    tags Tag[]
    The tags to attach to the trust anchor.
    trustAnchorArn string
    The ARN of the trust anchor.
    trustAnchorId string
    The unique identifier of the trust anchor.
    enabled bool
    Indicates whether the trust anchor is enabled.
    name str
    The name of the trust anchor.
    notification_settings Sequence[TrustAnchorNotificationSetting]
    A list of notification settings to be associated to the trust anchor.
    source TrustAnchorSource
    The trust anchor type and its related certificate data.
    tags Sequence[root_Tag]
    The tags to attach to the trust anchor.
    trust_anchor_arn str
    The ARN of the trust anchor.
    trust_anchor_id str
    The unique identifier of the trust anchor.
    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.
    source Property Map
    The trust anchor type and its related certificate data.
    tags List<Property Map>
    The tags to attach to the trust anchor.
    trustAnchorArn String
    The ARN of the trust anchor.
    trustAnchorId String
    The unique identifier of the trust anchor.

    Supporting Types

    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

    TrustAnchorNotificationEvent

    TrustAnchorNotificationSetting

    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 AWS 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 AWS 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 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 AWS 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 AWS 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 AWS 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 AWS 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

    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.
    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" | "SELF_SIGNED_REPOSITORY"
    The type of the TrustAnchor.

    TrustAnchorSourceData0Properties

    TrustAnchorSourceData1Properties

    AcmPcaArn string
    AcmPcaArn string
    acmPcaArn String
    acmPcaArn string
    acmPcaArn String

    TrustAnchorType

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi