Class CfnTrustAnchor
Creates a TrustAnchor.
Inherited Members
Namespace: Amazon.CDK.AWS.RolesAnywhere
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrustAnchor : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTrustAnchor
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::RolesAnywhere::TrustAnchor
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RolesAnywhere;
var cfnTrustAnchor = new CfnTrustAnchor(this, "MyCfnTrustAnchor", new CfnTrustAnchorProps {
Name = "name",
Source = new SourceProperty {
SourceData = new SourceDataProperty {
AcmPcaArn = "acmPcaArn",
X509CertificateData = "x509CertificateData"
},
SourceType = "sourceType"
},
// the properties below are optional
Enabled = false,
NotificationSettings = new [] { new NotificationSettingProperty {
Enabled = false,
Event = "event",
// the properties below are optional
Channel = "channel",
Threshold = 123
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnTrustAnchor(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTrustAnchor(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTrustAnchor(Construct, String, ICfnTrustAnchorProps) |
Properties
AttrTrustAnchorArn | The ARN of the trust anchor. |
AttrTrustAnchorId | The unique identifier of the trust anchor. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Enabled | Indicates whether the trust anchor is enabled. |
Name | The name of the trust anchor. |
NotificationSettings | A list of notification settings to be associated to the trust anchor. |
Source | The trust anchor type and its related certificate data. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags to attach to the trust anchor. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTrustAnchor(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTrustAnchor(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTrustAnchor(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTrustAnchor(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTrustAnchor(Construct, String, ICfnTrustAnchorProps)
public CfnTrustAnchor(Construct scope, string id, ICfnTrustAnchorProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnTrustAnchorProps
Resource properties.
Properties
AttrTrustAnchorArn
The ARN of the trust anchor.
public virtual string AttrTrustAnchorArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TrustAnchorArn
AttrTrustAnchorId
The unique identifier of the trust anchor.
public virtual string AttrTrustAnchorId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TrustAnchorId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Enabled
Indicates whether the trust anchor is enabled.
public virtual object Enabled { get; set; }
Property Value
System.Object
Name
The name of the trust anchor.
public virtual string Name { get; set; }
Property Value
System.String
NotificationSettings
A list of notification settings to be associated to the trust anchor.
public virtual object NotificationSettings { get; set; }
Property Value
System.Object
Source
The trust anchor type and its related certificate data.
public virtual object Source { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags to attach to the trust anchor.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>