@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.949Z") @Stability(value=Stable) public class CfnCapacityReservation extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCapacityReservation.Builder
A fluent builder for
CfnCapacityReservation. |
static interface |
CfnCapacityReservation.TagSpecificationProperty |
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 |
|---|---|
|
CfnCapacityReservation(software.constructs.Construct scope,
String id,
CfnCapacityReservationProps props)
Create a new `AWS::EC2::CapacityReservation`.
|
protected |
CfnCapacityReservation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCapacityReservation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAvailabilityZone() |
Number |
getAttrAvailableInstanceCount() |
String |
getAttrInstanceType() |
String |
getAttrTenancy() |
Number |
getAttrTotalInstanceCount() |
String |
getAvailabilityZone()
`AWS::EC2::CapacityReservation.AvailabilityZone`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getEbsOptimized()
`AWS::EC2::CapacityReservation.EbsOptimized`.
|
String |
getEndDate()
`AWS::EC2::CapacityReservation.EndDate`.
|
String |
getEndDateType()
`AWS::EC2::CapacityReservation.EndDateType`.
|
Object |
getEphemeralStorage()
`AWS::EC2::CapacityReservation.EphemeralStorage`.
|
Number |
getInstanceCount()
`AWS::EC2::CapacityReservation.InstanceCount`.
|
String |
getInstanceMatchCriteria()
`AWS::EC2::CapacityReservation.InstanceMatchCriteria`.
|
String |
getInstancePlatform()
`AWS::EC2::CapacityReservation.InstancePlatform`.
|
String |
getInstanceType()
`AWS::EC2::CapacityReservation.InstanceType`.
|
Object |
getTagSpecifications()
`AWS::EC2::CapacityReservation.TagSpecifications`.
|
String |
getTenancy()
`AWS::EC2::CapacityReservation.Tenancy`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAvailabilityZone(String value)
`AWS::EC2::CapacityReservation.AvailabilityZone`.
|
void |
setEbsOptimized(Boolean value)
`AWS::EC2::CapacityReservation.EbsOptimized`.
|
void |
setEbsOptimized(IResolvable value)
`AWS::EC2::CapacityReservation.EbsOptimized`.
|
void |
setEndDate(String value)
`AWS::EC2::CapacityReservation.EndDate`.
|
void |
setEndDateType(String value)
`AWS::EC2::CapacityReservation.EndDateType`.
|
void |
setEphemeralStorage(Boolean value)
`AWS::EC2::CapacityReservation.EphemeralStorage`.
|
void |
setEphemeralStorage(IResolvable value)
`AWS::EC2::CapacityReservation.EphemeralStorage`.
|
void |
setInstanceCount(Number value)
`AWS::EC2::CapacityReservation.InstanceCount`.
|
void |
setInstanceMatchCriteria(String value)
`AWS::EC2::CapacityReservation.InstanceMatchCriteria`.
|
void |
setInstancePlatform(String value)
`AWS::EC2::CapacityReservation.InstancePlatform`.
|
void |
setInstanceType(String value)
`AWS::EC2::CapacityReservation.InstanceType`.
|
void |
setTagSpecifications(IResolvable value)
`AWS::EC2::CapacityReservation.TagSpecifications`.
|
void |
setTagSpecifications(List<Object> value)
`AWS::EC2::CapacityReservation.TagSpecifications`.
|
void |
setTenancy(String value)
`AWS::EC2::CapacityReservation.Tenancy`.
|
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 CfnCapacityReservation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCapacityReservation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCapacityReservation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCapacityReservationProps 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 public String getAttrAvailabilityZone()
@Stability(value=Stable) @NotNull public Number getAttrAvailableInstanceCount()
@Stability(value=Stable) @NotNull public String getAttrInstanceType()
@Stability(value=Stable) @NotNull public String getAttrTenancy()
@Stability(value=Stable) @NotNull public Number getAttrTotalInstanceCount()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAvailabilityZone()
@Stability(value=Stable)
public void setAvailabilityZone(@NotNull
String value)
@Stability(value=Stable) @NotNull public Number getInstanceCount()
@Stability(value=Stable)
public void setInstanceCount(@NotNull
Number value)
@Stability(value=Stable) @NotNull public String getInstancePlatform()
@Stability(value=Stable)
public void setInstancePlatform(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getInstanceType()
@Stability(value=Stable)
public void setInstanceType(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getEbsOptimized()
@Stability(value=Stable)
public void setEbsOptimized(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEbsOptimized(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getEndDate()
@Stability(value=Stable)
public void setEndDate(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEndDateType()
@Stability(value=Stable)
public void setEndDateType(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getEphemeralStorage()
@Stability(value=Stable)
public void setEphemeralStorage(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEphemeralStorage(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getInstanceMatchCriteria()
@Stability(value=Stable)
public void setInstanceMatchCriteria(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getTagSpecifications()
@Stability(value=Stable)
public void setTagSpecifications(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setTagSpecifications(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getTenancy()
@Stability(value=Stable)
public void setTenancy(@Nullable
String value)
Copyright © 2021. All rights reserved.