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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.rolesanywhere.TrustAnchor

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TrustAnchorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TrustAnchorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TrustAnchorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.
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.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

TrustAnchorNotificationChannel
, TrustAnchorNotificationChannelArgs

All
ALL
TrustAnchorNotificationChannelAll
ALL
All
ALL
All
ALL
ALL
ALL
"ALL"
ALL

TrustAnchorNotificationEvent
, TrustAnchorNotificationEventArgs

CaCertificateExpiry
CA_CERTIFICATE_EXPIRY
EndEntityCertificateExpiry
END_ENTITY_CERTIFICATE_EXPIRY
TrustAnchorNotificationEventCaCertificateExpiry
CA_CERTIFICATE_EXPIRY
TrustAnchorNotificationEventEndEntityCertificateExpiry
END_ENTITY_CERTIFICATE_EXPIRY
CaCertificateExpiry
CA_CERTIFICATE_EXPIRY
EndEntityCertificateExpiry
END_ENTITY_CERTIFICATE_EXPIRY
CaCertificateExpiry
CA_CERTIFICATE_EXPIRY
EndEntityCertificateExpiry
END_ENTITY_CERTIFICATE_EXPIRY
CA_CERTIFICATE_EXPIRY
CA_CERTIFICATE_EXPIRY
END_ENTITY_CERTIFICATE_EXPIRY
END_ENTITY_CERTIFICATE_EXPIRY
"CA_CERTIFICATE_EXPIRY"
CA_CERTIFICATE_EXPIRY
"END_ENTITY_CERTIFICATE_EXPIRY"
END_ENTITY_CERTIFICATE_EXPIRY

TrustAnchorNotificationSetting
, TrustAnchorNotificationSettingArgs

Enabled This property is required. bool
Indicates whether the notification setting is enabled.
Event This property is required. 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 This property is required. bool
Indicates whether the notification setting is enabled.
Event This property is required. 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 This property is required. Boolean
Indicates whether the notification setting is enabled.
event This property is required. 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 This property is required. boolean
Indicates whether the notification setting is enabled.
event This property is required. 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 This property is required. bool
Indicates whether the notification setting is enabled.
event This property is required. 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 This property is required. Boolean
Indicates whether the notification setting is enabled.
event This property is required. "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
, 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.
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
, TrustAnchorSourceData0PropertiesArgs

X509CertificateData This property is required. string
X509CertificateData This property is required. string
x509CertificateData This property is required. String
x509CertificateData This property is required. string
x509_certificate_data This property is required. str
x509CertificateData This property is required. String

TrustAnchorSourceData1Properties
, TrustAnchorSourceData1PropertiesArgs

AcmPcaArn This property is required. string
AcmPcaArn This property is required. string
acmPcaArn This property is required. String
acmPcaArn This property is required. string
acm_pca_arn This property is required. str
acmPcaArn This property is required. String

TrustAnchorType
, TrustAnchorTypeArgs

AwsAcmPca
AWS_ACM_PCA
CertificateBundle
CERTIFICATE_BUNDLE
SelfSignedRepository
SELF_SIGNED_REPOSITORY
TrustAnchorTypeAwsAcmPca
AWS_ACM_PCA
TrustAnchorTypeCertificateBundle
CERTIFICATE_BUNDLE
TrustAnchorTypeSelfSignedRepository
SELF_SIGNED_REPOSITORY
AwsAcmPca
AWS_ACM_PCA
CertificateBundle
CERTIFICATE_BUNDLE
SelfSignedRepository
SELF_SIGNED_REPOSITORY
AwsAcmPca
AWS_ACM_PCA
CertificateBundle
CERTIFICATE_BUNDLE
SelfSignedRepository
SELF_SIGNED_REPOSITORY
AWS_ACM_PCA
AWS_ACM_PCA
CERTIFICATE_BUNDLE
CERTIFICATE_BUNDLE
SELF_SIGNED_REPOSITORY
SELF_SIGNED_REPOSITORY
"AWS_ACM_PCA"
AWS_ACM_PCA
"CERTIFICATE_BUNDLE"
CERTIFICATE_BUNDLE
"SELF_SIGNED_REPOSITORY"
SELF_SIGNED_REPOSITORY

Package Details

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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi