| Modifier and Type | Method and Description |
|---|---|
CfnDisk.Builder |
addOns(IResolvable addOns)
An array of add-ons for the disk.
|
CfnDisk.Builder |
addOns(List<? extends Object> addOns)
An array of add-ons for the disk.
|
CfnDisk.Builder |
availabilityZone(String availabilityZone)
The AWS Region and Availability Zone location for the disk (for example, `us-east-1a` ).
|
CfnDisk |
build() |
static CfnDisk.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDisk.Builder |
diskName(String diskName)
The name of the disk.
|
CfnDisk.Builder |
sizeInGb(Number sizeInGb)
The size of the disk in GB.
|
CfnDisk.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnDisk.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDisk.AddOnProperty.Builder.@Stability(value=Stable) public CfnDisk.Builder diskName(String diskName)
diskName - The name of the disk. This parameter is required.this@Stability(value=Stable) public CfnDisk.Builder sizeInGb(Number sizeInGb)
sizeInGb - The size of the disk in GB. This parameter is required.this@Stability(value=Stable) public CfnDisk.Builder addOns(IResolvable addOns)
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.
addOns - An array of add-ons for the disk. This parameter is required.this@Stability(value=Stable) public CfnDisk.Builder addOns(List<? extends Object> addOns)
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.
addOns - An array of add-ons for the disk. This parameter is required.this@Stability(value=Stable) public CfnDisk.Builder availabilityZone(String availabilityZone)
availabilityZone - The AWS Region and Availability Zone location for the disk (for example, `us-east-1a` ). This parameter is required.this@Stability(value=Stable) public CfnDisk.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.
tags - An array of key-value pairs to apply to this resource. This parameter is required.thisCopyright © 2022. All rights reserved.