@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.044Z") @Stability(value=Stable) public class CfnVolume extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnVolume.Builder
A fluent builder for
CfnVolume. |
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 |
|---|---|
|
CfnVolume(software.constructs.Construct scope,
String id,
CfnVolumeProps props)
Create a new `AWS::EC2::Volume`.
|
protected |
CfnVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnVolume(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAutoEnableIo()
`AWS::EC2::Volume.AutoEnableIO`.
|
String |
getAvailabilityZone()
`AWS::EC2::Volume.AvailabilityZone`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getEncrypted()
`AWS::EC2::Volume.Encrypted`.
|
Number |
getIops()
`AWS::EC2::Volume.Iops`.
|
String |
getKmsKeyId()
`AWS::EC2::Volume.KmsKeyId`.
|
Object |
getMultiAttachEnabled()
`AWS::EC2::Volume.MultiAttachEnabled`.
|
String |
getOutpostArn()
`AWS::EC2::Volume.OutpostArn`.
|
Number |
getSize()
`AWS::EC2::Volume.Size`.
|
String |
getSnapshotId()
`AWS::EC2::Volume.SnapshotId`.
|
TagManager |
getTags()
`AWS::EC2::Volume.Tags`.
|
Number |
getThroughput()
`AWS::EC2::Volume.Throughput`.
|
String |
getVolumeType()
`AWS::EC2::Volume.VolumeType`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAutoEnableIo(Boolean value)
`AWS::EC2::Volume.AutoEnableIO`.
|
void |
setAutoEnableIo(IResolvable value)
`AWS::EC2::Volume.AutoEnableIO`.
|
void |
setAvailabilityZone(String value)
`AWS::EC2::Volume.AvailabilityZone`.
|
void |
setEncrypted(Boolean value)
`AWS::EC2::Volume.Encrypted`.
|
void |
setEncrypted(IResolvable value)
`AWS::EC2::Volume.Encrypted`.
|
void |
setIops(Number value)
`AWS::EC2::Volume.Iops`.
|
void |
setKmsKeyId(String value)
`AWS::EC2::Volume.KmsKeyId`.
|
void |
setMultiAttachEnabled(Boolean value)
`AWS::EC2::Volume.MultiAttachEnabled`.
|
void |
setMultiAttachEnabled(IResolvable value)
`AWS::EC2::Volume.MultiAttachEnabled`.
|
void |
setOutpostArn(String value)
`AWS::EC2::Volume.OutpostArn`.
|
void |
setSize(Number value)
`AWS::EC2::Volume.Size`.
|
void |
setSnapshotId(String value)
`AWS::EC2::Volume.SnapshotId`.
|
void |
setThroughput(Number value)
`AWS::EC2::Volume.Throughput`.
|
void |
setVolumeType(String value)
`AWS::EC2::Volume.VolumeType`.
|
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 CfnVolume(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnVolume(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnVolume(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnVolumeProps 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getAvailabilityZone()
@Stability(value=Stable)
public void setAvailabilityZone(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAutoEnableIo()
@Stability(value=Stable)
public void setAutoEnableIo(@Nullable
Boolean value)
@Stability(value=Stable)
public void setAutoEnableIo(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getEncrypted()
@Stability(value=Stable)
public void setEncrypted(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEncrypted(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Number getIops()
@Stability(value=Stable)
public void setIops(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getMultiAttachEnabled()
@Stability(value=Stable)
public void setMultiAttachEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setMultiAttachEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getOutpostArn()
@Stability(value=Stable)
public void setOutpostArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getSize()
@Stability(value=Stable)
public void setSize(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getSnapshotId()
@Stability(value=Stable)
public void setSnapshotId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getThroughput()
@Stability(value=Stable)
public void setThroughput(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getVolumeType()
@Stability(value=Stable)
public void setVolumeType(@Nullable
String value)
Copyright © 2021. All rights reserved.