@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.709Z") @Stability(value=Stable) public class CfnCidrCollection extends CfnResource implements IInspectable
Creates a CIDR collection in the current AWS account.
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.route53.*;
CfnCidrCollection cfnCidrCollection = CfnCidrCollection.Builder.create(this, "MyCfnCidrCollection")
.name("name")
// the properties below are optional
.locations(List.of(LocationProperty.builder()
.cidrList(List.of("cidrList"))
.locationName("locationName")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCidrCollection.Builder
A fluent builder for
CfnCidrCollection. |
static interface |
CfnCidrCollection.LocationProperty
Specifies the list of CIDR blocks for a CIDR location.
|
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 |
|---|---|
|
CfnCidrCollection(Construct scope,
String id,
CfnCidrCollectionProps props)
Create a new `AWS::Route53::CidrCollection`.
|
protected |
CfnCidrCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCidrCollection(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
"The Amazon resource name (ARN) to uniquely identify the AWS resource.
|
String |
getAttrId()
The UUID of the CIDR collection.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getLocations()
A complex type that contains information about the list of CIDR locations.
|
String |
getName()
The name of a CIDR collection.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setLocations(IResolvable value)
A complex type that contains information about the list of CIDR locations.
|
void |
setLocations(List<Object> value)
A complex type that contains information about the list of CIDR locations.
|
void |
setName(String value)
The name of a CIDR collection.
|
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 CfnCidrCollection(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCidrCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCidrCollection(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnCidrCollectionProps 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 getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getLocations()
@Stability(value=Stable)
public void setLocations(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.