@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:54.941Z") @Stability(value=Stable) public class CfnTrustAnchor extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rolesanywhere.*;
CfnTrustAnchor cfnTrustAnchor = CfnTrustAnchor.Builder.create(this, "MyCfnTrustAnchor")
.enabled(false)
.name("name")
.source(SourceProperty.builder()
.sourceData(SourceDataProperty.builder()
.acmPcaArn("acmPcaArn")
.x509CertificateData("x509CertificateData")
.build())
.sourceType("sourceType")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTrustAnchor.Builder
A fluent builder for
CfnTrustAnchor. |
static interface |
CfnTrustAnchor.SourceDataProperty
Example:
|
static interface |
CfnTrustAnchor.SourceProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnTrustAnchor(Construct scope,
String id)
Create a new `AWS::RolesAnywhere::TrustAnchor`.
|
|
CfnTrustAnchor(Construct scope,
String id,
CfnTrustAnchorProps props)
Create a new `AWS::RolesAnywhere::TrustAnchor`.
|
protected |
CfnTrustAnchor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTrustAnchor(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrTrustAnchorArn() |
String |
getAttrTrustAnchorId() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getEnabled()
`AWS::RolesAnywhere::TrustAnchor.Enabled`.
|
String |
getName()
`AWS::RolesAnywhere::TrustAnchor.Name`.
|
Object |
getSource()
`AWS::RolesAnywhere::TrustAnchor.Source`.
|
TagManager |
getTags()
`AWS::RolesAnywhere::TrustAnchor.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setEnabled(Boolean value)
`AWS::RolesAnywhere::TrustAnchor.Enabled`.
|
void |
setEnabled(IResolvable value)
`AWS::RolesAnywhere::TrustAnchor.Enabled`.
|
void |
setName(String value)
`AWS::RolesAnywhere::TrustAnchor.Name`.
|
void |
setSource(CfnTrustAnchor.SourceProperty value)
`AWS::RolesAnywhere::TrustAnchor.Source`.
|
void |
setSource(IResolvable value)
`AWS::RolesAnywhere::TrustAnchor.Source`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnTrustAnchor(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTrustAnchor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTrustAnchor(@NotNull
Construct scope,
@NotNull
String id,
@Nullable
CfnTrustAnchorProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnTrustAnchor(@NotNull
Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrTrustAnchorArn()
@Stability(value=Stable) @NotNull public String getAttrTrustAnchorId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getEnabled()
@Stability(value=Stable)
public void setEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getSource()
@Stability(value=Stable)
public void setSource(@Nullable
CfnTrustAnchor.SourceProperty value)
@Stability(value=Stable)
public void setSource(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.