interface CfnVolumeMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.StorageGateway.CfnVolumeMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsstoragegateway#CfnVolumeMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.storagegateway.CfnVolumeMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_storagegateway.CfnVolumeMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_storagegateway » CfnVolumeMixinProps |
Properties for CfnVolumePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_storagegateway as storagegateway } from '@aws-cdk/cfn-property-mixins';
const cfnVolumeMixinProps: storagegateway.CfnVolumeMixinProps = {
gatewayArn: 'gatewayArn',
kmsEncrypted: false,
kmsKey: 'kmsKey',
networkInterfaceId: 'networkInterfaceId',
snapshotId: 'snapshotId',
sourceVolumeArn: 'sourceVolumeArn',
tags: [{
key: 'key',
value: 'value',
}],
targetName: 'targetName',
volumeSizeInBytes: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| gateway | string | The Amazon Resource Name (ARN) of the gateway on which to create the volume. |
| kms | boolean | IResolvable | 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. |
| kms | string | The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. |
| network | string | The network interface of the gateway on which to expose the iSCSI target. |
| snapshot | string | The snapshot ID of the snapshot to restore as the new cached volume (e.g., snap-1122aabb). |
| source | string | The ARN of an existing volume from which to create the new volume. |
| tags? | Cfn[] | A list of up to 50 tags to assign to the volume. |
| target | string | The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. |
| volume | number | The size of the volume in bytes. |
gatewayArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the gateway on which to create the volume.
kmsEncrypted?
Type:
boolean | IResolvable
(optional)
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.
kmsKey?
Type:
string
(optional)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption.
networkInterfaceId?
Type:
string
(optional)
The network interface of the gateway on which to expose the iSCSI target.
Only IPv4 addresses are accepted.
snapshotId?
Type:
string
(optional)
The snapshot ID of the snapshot to restore as the new cached volume (e.g., snap-1122aabb).
sourceVolumeArn?
Type:
string
(optional)
The ARN of an existing volume from which to create the new volume.
tags?
Type:
Cfn[]
(optional)
A list of up to 50 tags to assign to the volume.
targetName?
Type:
string
(optional)
The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN.
volumeSizeInBytes?
Type:
number
(optional)
The size of the volume in bytes.

.NET
Go
Java
Python
TypeScript