We recommend new projects start with resources from the AWS provider.
aws-native.rolesanywhere.TrustAnchor
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 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
The TrustAnchor resource accepts the following input properties:
- Source
Pulumi.
Aws Native. Roles Anywhere. Inputs. Trust Anchor Source - 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<Pulumi.Aws Native. Roles Anywhere. Inputs. Trust Anchor Notification Setting> - A list of notification settings to be associated to the trust anchor.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags to attach to the trust anchor.
- Source
Trust
Anchor Source Args - 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 []TrustAnchor Notification Setting Args - A list of notification settings to be associated to the trust anchor.
- Tag
Args - The tags to attach to the trust anchor.
- source
Trust
Anchor Source - 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.
- notification
Settings List<TrustAnchor Notification Setting> - A list of notification settings to be associated to the trust anchor.
- List<Tag>
- The tags to attach to the trust anchor.
- source
Trust
Anchor Source - 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.
- notification
Settings TrustAnchor Notification Setting[] - A list of notification settings to be associated to the trust anchor.
- Tag[]
- The tags to attach to the trust anchor.
- source
Trust
Anchor Source Args - 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[TrustAnchor Notification Setting Args] - A list of notification settings to be associated to the trust anchor.
- Sequence[Tag
Args] - 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.
- notification
Settings List<Property Map> - A list of notification settings to be associated to the trust anchor.
- 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.
- Trust
Anchor stringArn - The ARN of the trust anchor.
- Trust
Anchor stringId - The unique identifier of the trust anchor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Trust
Anchor stringArn - The ARN of the trust anchor.
- Trust
Anchor stringId - The unique identifier of the trust anchor.
- id String
- The provider-assigned unique ID for this managed resource.
- trust
Anchor StringArn - The ARN of the trust anchor.
- trust
Anchor StringId - The unique identifier of the trust anchor.
- id string
- The provider-assigned unique ID for this managed resource.
- trust
Anchor stringArn - The ARN of the trust anchor.
- trust
Anchor stringId - The unique identifier of the trust anchor.
- id str
- The provider-assigned unique ID for this managed resource.
- trust_
anchor_ strarn - The ARN of the trust anchor.
- trust_
anchor_ strid - The unique identifier of the trust anchor.
- id String
- The provider-assigned unique ID for this managed resource.
- trust
Anchor StringArn - The ARN of the trust anchor.
- trust
Anchor StringId - The unique identifier of the trust anchor.
Supporting Types
Tag, TagArgs
TrustAnchorNotificationChannel, TrustAnchorNotificationChannelArgs
- All
- ALL
- Trust
Anchor Notification Channel All - ALL
- All
- ALL
- All
- ALL
- ALL
- ALL
- "ALL"
- ALL
TrustAnchorNotificationEvent, TrustAnchorNotificationEventArgs
- Ca
Certificate Expiry - CA_CERTIFICATE_EXPIRY
- End
Entity Certificate Expiry - END_ENTITY_CERTIFICATE_EXPIRY
- Trust
Anchor Notification Event Ca Certificate Expiry - CA_CERTIFICATE_EXPIRY
- Trust
Anchor Notification Event End Entity Certificate Expiry - 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
- 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 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, TrustAnchorSourceArgs
- 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, TrustAnchorSourceData0PropertiesArgs
- X509Certificate
Data string
- X509Certificate
Data string
- x509Certificate
Data String
- x509Certificate
Data string
- x509Certificate
Data String
TrustAnchorSourceData1Properties, TrustAnchorSourceData1PropertiesArgs
- Acm
Pca stringArn
- Acm
Pca stringArn
- acm
Pca StringArn
- acm
Pca stringArn
- acm_
pca_ strarn
- acm
Pca StringArn
TrustAnchorType, TrustAnchorTypeArgs
- Aws
Acm Pca - AWS_ACM_PCA
- Certificate
Bundle - CERTIFICATE_BUNDLE
- Self
Signed Repository - SELF_SIGNED_REPOSITORY
- Trust
Anchor Type Aws Acm Pca - AWS_ACM_PCA
- Trust
Anchor Type Certificate Bundle - CERTIFICATE_BUNDLE
- Trust
Anchor Type Self Signed Repository - 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
- 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.