Interface CfnVolumeMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVolumeMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:20.446Z")
@Stability(Stable)
public interface CfnVolumeMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnVolumePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.storagegateway.*;
CfnVolumeMixinProps cfnVolumeMixinProps = CfnVolumeMixinProps.builder()
.gatewayArn("gatewayArn")
.kmsEncrypted(false)
.kmsKey("kmsKey")
.networkInterfaceId("networkInterfaceId")
.snapshotId("snapshotId")
.sourceVolumeArn("sourceVolumeArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetName("targetName")
.volumeSizeInBytes(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVolumeMixinPropsstatic final classAn implementation forCfnVolumeMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVolumeMixinProps.Builderbuilder()default StringThe Amazon Resource Name (ARN) of the gateway on which to create the volume.default ObjectSet to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3.default StringThe Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption.default StringThe network interface of the gateway on which to expose the iSCSI target.default StringThe snapshot ID of the snapshot to restore as the new cached volume (e.g., snap-1122aabb).default StringThe ARN of an existing volume from which to create the new volume.getTags()A list of up to 50 tags to assign to the volume.default StringThe name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN.default NumberThe size of the volume in bytes.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGatewayArn
The Amazon Resource Name (ARN) of the gateway on which to create the volume.- See Also:
-
getKmsEncrypted
Set to true to use Amazon S3 server-side encryption with your own KMS key, or false to use a key managed by Amazon S3.Returns union: either
BooleanorIResolvable- See Also:
-
getKmsKey
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption.- See Also:
-
getNetworkInterfaceId
The network interface of the gateway on which to expose the iSCSI target.Only IPv4 addresses are accepted.
- See Also:
-
getSnapshotId
The snapshot ID of the snapshot to restore as the new cached volume (e.g., snap-1122aabb).- See Also:
-
getSourceVolumeArn
The ARN of an existing volume from which to create the new volume.- See Also:
-
getTags
A list of up to 50 tags to assign to the volume.- See Also:
-
getTargetName
The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN.- See Also:
-
getVolumeSizeInBytes
The size of the volume in bytes.- See Also:
-
builder
- Returns:
- a
CfnVolumeMixinProps.BuilderofCfnVolumeMixinProps
-