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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:rolesanywhere:getTrustAnchor
arguments:
# arguments dictionary
The following arguments are supported:
- Trust
Anchor stringId - The unique identifier of the trust anchor.
- Trust
Anchor stringId - The unique identifier of the trust anchor.
- trust
Anchor StringId - The unique identifier of the trust anchor.
- trust
Anchor stringId - The unique identifier of the trust anchor.
- trust_
anchor_ strid - The unique identifier of the trust anchor.
- trust
Anchor 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.
- Notification
Settings 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.
- Trust
Anchor stringArn - The ARN of the trust anchor.
- Trust
Anchor 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.
- Notification
Settings []TrustAnchor Notification Setting - A list of notification settings to be associated to the trust anchor.
- Source
Trust
Anchor Source - The trust anchor type and its related certificate data.
- Tag
- The tags to attach to the trust anchor.
- Trust
Anchor stringArn - The ARN of the trust anchor.
- Trust
Anchor 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.
- notification
Settings List<TrustAnchor Notification Setting> - A list of notification settings to be associated to the trust anchor.
- source
Trust
Anchor Source - The trust anchor type and its related certificate data.
- List<Tag>
- The tags to attach to the trust anchor.
- trust
Anchor StringArn - The ARN of the trust anchor.
- trust
Anchor 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.
- notification
Settings TrustAnchor Notification Setting[] - A list of notification settings to be associated to the trust anchor.
- source
Trust
Anchor Source - The trust anchor type and its related certificate data.
- Tag[]
- The tags to attach to the trust anchor.
- trust
Anchor stringArn - The ARN of the trust anchor.
- trust
Anchor 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
Trust
Anchor 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.
- notification
Settings 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.
- trust
Anchor StringArn - The ARN of the trust anchor.
- trust
Anchor 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
Trust
Anchor Notification Event - The event to which this notification setting is applied.
- Channel
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 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
Trust
Anchor Notification Event - The event to which this notification setting is applied.
- channel
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 boolean
- Indicates whether the notification setting is enabled.
- event
Trust
Anchor Notification Event - The event to which this notification setting is applied.
- channel
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 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
Trust
Anchor Notification Event - The event to which this notification setting is applied.
- channel
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 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
- Source
Data 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
- Source
Type Pulumi.Aws Native. Roles Anywhere. Trust Anchor 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.
- 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.
- 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.
- 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.
- source
Data Property Map | Property Map - A union object representing the data field of the TrustAnchor depending on its type
- source
Type "AWS_ACM_PCA" | "CERTIFICATE_BUNDLE" | "SELF_SIGNED_REPOSITORY" - The type of the TrustAnchor.
TrustAnchorSourceData0Properties
- X509Certificate
Data string
- X509Certificate
Data string
- x509Certificate
Data String
- x509Certificate
Data string
- x509Certificate
Data String
TrustAnchorSourceData1Properties
- Acm
Pca stringArn
- Acm
Pca stringArn
- acm
Pca StringArn
- acm
Pca stringArn
- acm_
pca_ strarn
- acm
Pca 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.