@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.998Z") @Stability(value=Stable) public class CfnResourceSet 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.route53recoveryreadiness.*;
CfnResourceSet cfnResourceSet = CfnResourceSet.Builder.create(this, "MyCfnResourceSet")
.resources(List.of(ResourceProperty.builder()
.componentId("componentId")
.dnsTargetResource(DNSTargetResourceProperty.builder()
.domainName("domainName")
.hostedZoneArn("hostedZoneArn")
.recordSetId("recordSetId")
.recordType("recordType")
.targetResource(TargetResourceProperty.builder()
.nlbResource(NLBResourceProperty.builder()
.arn("arn")
.build())
.r53Resource(R53ResourceRecordProperty.builder()
.domainName("domainName")
.recordSetId("recordSetId")
.build())
.build())
.build())
.readinessScopes(List.of("readinessScopes"))
.resourceArn("resourceArn")
.build()))
.resourceSetName("resourceSetName")
.resourceSetType("resourceSetType")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnResourceSet.Builder
A fluent builder for
CfnResourceSet. |
static interface |
CfnResourceSet.DNSTargetResourceProperty
Example:
|
static interface |
CfnResourceSet.NLBResourceProperty
Example:
|
static interface |
CfnResourceSet.R53ResourceRecordProperty
Example:
|
static interface |
CfnResourceSet.ResourceProperty
Example:
|
static interface |
CfnResourceSet.TargetResourceProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| 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 |
|---|---|
|
CfnResourceSet(software.constructs.Construct scope,
String id,
CfnResourceSetProps props)
Create a new `AWS::Route53RecoveryReadiness::ResourceSet`.
|
protected |
CfnResourceSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResourceSet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrResourceSetArn() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getResources()
`AWS::Route53RecoveryReadiness::ResourceSet.Resources`.
|
String |
getResourceSetName()
`AWS::Route53RecoveryReadiness::ResourceSet.ResourceSetName`.
|
String |
getResourceSetType()
`AWS::Route53RecoveryReadiness::ResourceSet.ResourceSetType`.
|
TagManager |
getTags()
`AWS::Route53RecoveryReadiness::ResourceSet.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setResources(IResolvable value)
`AWS::Route53RecoveryReadiness::ResourceSet.Resources`.
|
void |
setResources(List<Object> value)
`AWS::Route53RecoveryReadiness::ResourceSet.Resources`.
|
void |
setResourceSetName(String value)
`AWS::Route53RecoveryReadiness::ResourceSet.ResourceSetName`.
|
void |
setResourceSetType(String value)
`AWS::Route53RecoveryReadiness::ResourceSet.ResourceSetType`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResourceSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResourceSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResourceSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnResourceSetProps 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. 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 getAttrResourceSetArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getResources()
@Stability(value=Stable)
public void setResources(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setResources(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public String getResourceSetName()
@Stability(value=Stable)
public void setResourceSetName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getResourceSetType()
@Stability(value=Stable)
public void setResourceSetType(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.