We recommend new projects start with resources from the AWS provider.
aws-native.rolesanywhere.getTrustAnchor
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetTrustAnchorResult> getTrustAnchor(GetTrustAnchorArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:rolesanywhere:getTrustAnchor
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TrustAnchor stringId 
- The unique identifier of the trust anchor.
- TrustAnchor stringId 
- The unique identifier of the trust anchor.
- trustAnchor StringId 
- The unique identifier of the trust anchor.
- trustAnchor stringId 
- The unique identifier of the trust anchor.
- trust_anchor_ strid 
- The unique identifier of the trust anchor.
- trustAnchor StringId 
- 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.Aws Native. Roles Anywhere. Outputs. Trust Anchor Notification Setting> 
- A list of notification settings to be associated to the trust anchor.
- Source
Pulumi.Aws Native. Roles Anywhere. Outputs. Trust Anchor Source 
- The trust anchor type and its related certificate data.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags to attach to the trust anchor.
- TrustAnchor stringArn 
- The ARN of the trust anchor.
- TrustAnchor stringId 
- 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 []TrustAnchor Notification Setting 
- A list of notification settings to be associated to the trust anchor.
- Source
TrustAnchor Source 
- The trust anchor type and its related certificate data.
- Tag
- The tags to attach to the trust anchor.
- TrustAnchor stringArn 
- The ARN of the trust anchor.
- TrustAnchor stringId 
- 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<TrustAnchor Notification Setting> 
- A list of notification settings to be associated to the trust anchor.
- source
TrustAnchor Source 
- The trust anchor type and its related certificate data.
- List<Tag>
- The tags to attach to the trust anchor.
- trustAnchor StringArn 
- The ARN of the trust anchor.
- trustAnchor StringId 
- 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 TrustAnchor Notification Setting[] 
- A list of notification settings to be associated to the trust anchor.
- source
TrustAnchor Source 
- The trust anchor type and its related certificate data.
- Tag[]
- The tags to attach to the trust anchor.
- trustAnchor stringArn 
- The ARN of the trust anchor.
- trustAnchor stringId 
- 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[TrustAnchor Notification Setting] 
- A list of notification settings to be associated to the trust anchor.
- source
TrustAnchor Source 
- The trust anchor type and its related certificate data.
- Sequence[root_Tag]
- The tags to attach to the trust anchor.
- trust_anchor_ strarn 
- The ARN of the trust anchor.
- trust_anchor_ strid 
- 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.
- List<Property Map>
- The tags to attach to the trust anchor.
- trustAnchor StringArn 
- The ARN of the trust anchor.
- trustAnchor StringId 
- The unique identifier of the trust anchor.
Supporting Types
Tag
TrustAnchorNotificationChannel   
TrustAnchorNotificationEvent   
TrustAnchorNotificationSetting   
- Enabled bool
- Indicates whether the notification setting is enabled.
- Event
Pulumi.Aws Native. Roles Anywhere. Trust Anchor Notification Event 
- The event to which this notification setting is applied.
- Channel
Pulumi.Aws Native. Roles Anywhere. Trust Anchor Notification Channel 
- 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
TrustAnchor Notification Event 
- The event to which this notification setting is applied.
- Channel
TrustAnchor Notification Channel 
- 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
TrustAnchor Notification Event 
- The event to which this notification setting is applied.
- channel
TrustAnchor Notification Channel 
- 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
TrustAnchor Notification Event 
- The event to which this notification setting is applied.
- channel
TrustAnchor Notification Channel 
- 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
TrustAnchor Notification Event 
- The event to which this notification setting is applied.
- channel
TrustAnchor Notification Channel 
- 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 Pulumi.Aws | Pulumi.Native. Roles Anywhere. Inputs. Trust Anchor Source Data0Properties Aws Native. Roles Anywhere. Inputs. Trust Anchor Source Data1Properties 
- A union object representing the data field of the TrustAnchor depending on its type
- SourceType Pulumi.Aws Native. Roles Anywhere. Trust Anchor Type 
- The type of the TrustAnchor.
- SourceData TrustAnchor | TrustSource Data0Properties Anchor Source Data1Properties 
- A union object representing the data field of the TrustAnchor depending on its type
- SourceType TrustAnchor Type 
- The type of the TrustAnchor.
- sourceData TrustAnchor | TrustSource Data0Properties Anchor Source Data1Properties 
- A union object representing the data field of the TrustAnchor depending on its type
- sourceType TrustAnchor Type 
- The type of the TrustAnchor.
- sourceData TrustAnchor | TrustSource Data0Properties Anchor Source Data1Properties 
- A union object representing the data field of the TrustAnchor depending on its type
- sourceType TrustAnchor Type 
- The type of the TrustAnchor.
- source_data TrustAnchor | TrustSource Data0Properties Anchor Source Data1Properties 
- A union object representing the data field of the TrustAnchor depending on its type
- source_type TrustAnchor Type 
- 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   
- X509CertificateData string
- X509CertificateData string
- x509CertificateData String
- x509CertificateData string
- x509CertificateData String
TrustAnchorSourceData1Properties   
- AcmPca stringArn 
- AcmPca stringArn 
- acmPca StringArn 
- acmPca stringArn 
- acm_pca_ strarn 
- acmPca StringArn 
TrustAnchorType  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.