interface CfnDiskMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lightsail.CfnDiskMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslightsail#CfnDiskMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnDiskMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lightsail.CfnDiskMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lightsail » CfnDiskMixinProps |
Properties for CfnDiskPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from '@aws-cdk/cfn-property-mixins';
const cfnDiskMixinProps: lightsail.CfnDiskMixinProps = {
addOns: [{
addOnType: 'addOnType',
autoSnapshotAddOnRequest: {
snapshotTimeOfDay: 'snapshotTimeOfDay',
},
status: 'status',
}],
availabilityZone: 'availabilityZone',
diskName: 'diskName',
location: {
availabilityZone: 'availabilityZone',
regionName: 'regionName',
},
sizeInGb: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| add | IResolvable | (IResolvable | Add)[] | An array of add-ons for the disk. |
| availability | string | The AWS Region and Availability Zone location for the disk (for example, us-east-1a ). |
| disk | string | The name of the disk. |
| location? | IResolvable | Location | The AWS Region and Availability Zone where the disk is located. |
| size | number | The size of the disk in GB. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
addOns?
Type:
IResolvable | (IResolvable | Add)[]
(optional)
An array of add-ons for the disk.
If the disk has an add-on enabled when performing a delete disk request, the add-on is automatically disabled before the disk is deleted.
availabilityZone?
Type:
string
(optional)
The AWS Region and Availability Zone location for the disk (for example, us-east-1a ).
diskName?
Type:
string
(optional)
The name of the disk.
location?
Type:
IResolvable | Location
(optional)
The AWS Region and Availability Zone where the disk is located.
sizeInGb?
Type:
number
(optional)
The size of the disk in GB.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.

.NET
Go
Java
Python
TypeScript