@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:44.792Z") @Stability(value=External) public class CfnCapacityReservation extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html
Modifier and Type | Class and Description |
---|---|
static class |
CfnCapacityReservation.Builder
A fluent builder for
CfnCapacityReservation . |
static interface |
CfnCapacityReservation.TagSpecificationProperty |
software.amazon.jsii.JsiiObject.InitializationMode
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(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 |
---|---|
static CfnCapacityReservation |
fromCloudFormation(Construct scope,
String id,
Object resourceAttributes,
FromCloudFormationOptions options)
A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource.
|
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, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
@Stability(value=External) 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=External) public CfnCapacityReservation(@NotNull 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=Experimental) @NotNull public static CfnCapacityReservation fromCloudFormation(@NotNull Construct scope, @NotNull String id, @NotNull Object resourceAttributes, @NotNull FromCloudFormationOptions options)
Used in the @aws-cdk/cloudformation-include module.
EXPERIMENTAL
scope
- This parameter is required.id
- This parameter is required.resourceAttributes
- This parameter is required.options
- This parameter is required.@Stability(value=Experimental) public void inspect(@NotNull TreeInspector inspector)
EXPERIMENTAL
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=External) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=External) @NotNull public String getAttrAvailabilityZone()
@Stability(value=External) @NotNull public Number getAttrAvailableInstanceCount()
@Stability(value=External) @NotNull public String getAttrInstanceType()
@Stability(value=External) @NotNull public String getAttrTenancy()
@Stability(value=External) @NotNull public Number getAttrTotalInstanceCount()
@Stability(value=External) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=External) @NotNull public String getAvailabilityZone()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzone
@Stability(value=External) public void setAvailabilityZone(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzone
@Stability(value=External) @NotNull public Number getInstanceCount()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancecount
@Stability(value=External) public void setInstanceCount(@NotNull Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancecount
@Stability(value=External) @NotNull public String getInstancePlatform()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instanceplatform
@Stability(value=External) public void setInstancePlatform(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instanceplatform
@Stability(value=External) @NotNull public String getInstanceType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancetype
@Stability(value=External) public void setInstanceType(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancetype
@Stability(value=External) @Nullable public Object getEbsOptimized()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized
@Stability(value=External) public void setEbsOptimized(@Nullable Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized
@Stability(value=External) public void setEbsOptimized(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized
@Stability(value=External) @Nullable public String getEndDate()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddate
@Stability(value=External) public void setEndDate(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddate
@Stability(value=External) @Nullable public String getEndDateType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddatetype
@Stability(value=External) public void setEndDateType(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddatetype
@Stability(value=External) @Nullable public Object getEphemeralStorage()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ephemeralstorage
@Stability(value=External) public void setEphemeralStorage(@Nullable Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ephemeralstorage
@Stability(value=External) public void setEphemeralStorage(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ephemeralstorage
@Stability(value=External) @Nullable public String getInstanceMatchCriteria()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancematchcriteria
@Stability(value=External) public void setInstanceMatchCriteria(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancematchcriteria
@Stability(value=External) @Nullable public Object getTagSpecifications()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tagspecifications
@Stability(value=External) public void setTagSpecifications(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tagspecifications
@Stability(value=External) public void setTagSpecifications(@Nullable List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tagspecifications
@Stability(value=External) @Nullable public String getTenancy()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tenancy
@Stability(value=External) public void setTenancy(@Nullable String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tenancy
Copyright © 2020. All rights reserved.