Class Ec2Fleet
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.aws.ec2_fleet.Ec2Fleet
-
- All Implemented Interfaces:
com.hashicorp.cdktf.IInterpolatingParent,com.hashicorp.cdktf.ITerraformAddressable,com.hashicorp.cdktf.ITerraformDependable,com.hashicorp.cdktf.ITerraformResource,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-30T04:56:52.725Z") @Stability(Stable) public class Ec2Fleet extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_fleet aws_ec2_fleet}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEc2Fleet.BuilderA fluent builder forEc2Fleet.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringTF_RESOURCE_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protectedEc2Fleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedEc2Fleet(software.amazon.jsii.JsiiObjectRef objRef)Ec2Fleet(software.constructs.Construct scope, String id, Ec2FleetConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_fleet aws_ec2_fleet} Resource.
-
Method Summary
-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
-
Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
TF_RESOURCE_TYPE
@Stability(Stable) public static final String TF_RESOURCE_TYPE
-
-
Constructor Detail
-
Ec2Fleet
protected Ec2Fleet(software.amazon.jsii.JsiiObjectRef objRef)
-
Ec2Fleet
protected Ec2Fleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Ec2Fleet
@Stability(Stable) public Ec2Fleet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull Ec2FleetConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_fleet aws_ec2_fleet} Resource.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.config- This parameter is required.
-
-
Method Detail
-
putFleetInstanceSet
@Stability(Stable) public void putFleetInstanceSet(@NotNull Object value)- Parameters:
value- This parameter is required.
-
putLaunchTemplateConfig
@Stability(Stable) public void putLaunchTemplateConfig(@NotNull Object value)- Parameters:
value- This parameter is required.
-
putOnDemandOptions
@Stability(Stable) public void putOnDemandOptions(@NotNull Ec2FleetOnDemandOptions value)- Parameters:
value- This parameter is required.
-
putSpotOptions
@Stability(Stable) public void putSpotOptions(@NotNull Ec2FleetSpotOptions value)- Parameters:
value- This parameter is required.
-
putTargetCapacitySpecification
@Stability(Stable) public void putTargetCapacitySpecification(@NotNull Ec2FleetTargetCapacitySpecification value)- Parameters:
value- This parameter is required.
-
putTimeouts
@Stability(Stable) public void putTimeouts(@NotNull Ec2FleetTimeouts value)- Parameters:
value- This parameter is required.
-
resetContext
@Stability(Stable) public void resetContext()
-
resetExcessCapacityTerminationPolicy
@Stability(Stable) public void resetExcessCapacityTerminationPolicy()
-
resetFleetInstanceSet
@Stability(Stable) public void resetFleetInstanceSet()
-
resetFleetState
@Stability(Stable) public void resetFleetState()
-
resetFulfilledCapacity
@Stability(Stable) public void resetFulfilledCapacity()
-
resetFulfilledOnDemandCapacity
@Stability(Stable) public void resetFulfilledOnDemandCapacity()
-
resetId
@Stability(Stable) public void resetId()
-
resetOnDemandOptions
@Stability(Stable) public void resetOnDemandOptions()
-
resetReplaceUnhealthyInstances
@Stability(Stable) public void resetReplaceUnhealthyInstances()
-
resetSpotOptions
@Stability(Stable) public void resetSpotOptions()
-
resetTags
@Stability(Stable) public void resetTags()
-
resetTagsAll
@Stability(Stable) public void resetTagsAll()
-
resetTerminateInstances
@Stability(Stable) public void resetTerminateInstances()
-
resetTerminateInstancesWithExpiration
@Stability(Stable) public void resetTerminateInstancesWithExpiration()
-
resetTimeouts
@Stability(Stable) public void resetTimeouts()
-
resetType
@Stability(Stable) public void resetType()
-
resetValidFrom
@Stability(Stable) public void resetValidFrom()
-
resetValidUntil
@Stability(Stable) public void resetValidUntil()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getArn
@Stability(Stable) @NotNull public String getArn()
-
getFleetInstanceSet
@Stability(Stable) @NotNull public Ec2FleetFleetInstanceSetList getFleetInstanceSet()
-
getLaunchTemplateConfig
@Stability(Stable) @NotNull public Ec2FleetLaunchTemplateConfigList getLaunchTemplateConfig()
-
getOnDemandOptions
@Stability(Stable) @NotNull public Ec2FleetOnDemandOptionsOutputReference getOnDemandOptions()
-
getSpotOptions
@Stability(Stable) @NotNull public Ec2FleetSpotOptionsOutputReference getSpotOptions()
-
getTargetCapacitySpecification
@Stability(Stable) @NotNull public Ec2FleetTargetCapacitySpecificationOutputReference getTargetCapacitySpecification()
-
getTimeouts
@Stability(Stable) @NotNull public Ec2FleetTimeoutsOutputReference getTimeouts()
-
getContextInput
@Stability(Stable) @Nullable public String getContextInput()
-
getExcessCapacityTerminationPolicyInput
@Stability(Stable) @Nullable public String getExcessCapacityTerminationPolicyInput()
-
getFleetInstanceSetInput
@Stability(Stable) @Nullable public Object getFleetInstanceSetInput()
-
getFleetStateInput
@Stability(Stable) @Nullable public String getFleetStateInput()
-
getFulfilledCapacityInput
@Stability(Stable) @Nullable public Number getFulfilledCapacityInput()
-
getFulfilledOnDemandCapacityInput
@Stability(Stable) @Nullable public Number getFulfilledOnDemandCapacityInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getLaunchTemplateConfigInput
@Stability(Stable) @Nullable public Object getLaunchTemplateConfigInput()
-
getOnDemandOptionsInput
@Stability(Stable) @Nullable public Ec2FleetOnDemandOptions getOnDemandOptionsInput()
-
getReplaceUnhealthyInstancesInput
@Stability(Stable) @Nullable public Object getReplaceUnhealthyInstancesInput()
-
getSpotOptionsInput
@Stability(Stable) @Nullable public Ec2FleetSpotOptions getSpotOptionsInput()
-
getTargetCapacitySpecificationInput
@Stability(Stable) @Nullable public Ec2FleetTargetCapacitySpecification getTargetCapacitySpecificationInput()
-
getTerminateInstancesInput
@Stability(Stable) @Nullable public Object getTerminateInstancesInput()
-
getTerminateInstancesWithExpirationInput
@Stability(Stable) @Nullable public Object getTerminateInstancesWithExpirationInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getTypeInput
@Stability(Stable) @Nullable public String getTypeInput()
-
getValidFromInput
@Stability(Stable) @Nullable public String getValidFromInput()
-
getValidUntilInput
@Stability(Stable) @Nullable public String getValidUntilInput()
-
getContext
@Stability(Stable) @NotNull public String getContext()
-
setContext
@Stability(Stable) public void setContext(@NotNull String value)
-
getExcessCapacityTerminationPolicy
@Stability(Stable) @NotNull public String getExcessCapacityTerminationPolicy()
-
setExcessCapacityTerminationPolicy
@Stability(Stable) public void setExcessCapacityTerminationPolicy(@NotNull String value)
-
getFleetState
@Stability(Stable) @NotNull public String getFleetState()
-
setFleetState
@Stability(Stable) public void setFleetState(@NotNull String value)
-
getFulfilledCapacity
@Stability(Stable) @NotNull public Number getFulfilledCapacity()
-
setFulfilledCapacity
@Stability(Stable) public void setFulfilledCapacity(@NotNull Number value)
-
getFulfilledOnDemandCapacity
@Stability(Stable) @NotNull public Number getFulfilledOnDemandCapacity()
-
setFulfilledOnDemandCapacity
@Stability(Stable) public void setFulfilledOnDemandCapacity(@NotNull Number value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getReplaceUnhealthyInstances
@Stability(Stable) @NotNull public Object getReplaceUnhealthyInstances()
-
setReplaceUnhealthyInstances
@Stability(Stable) public void setReplaceUnhealthyInstances(@NotNull Boolean value)
-
setReplaceUnhealthyInstances
@Stability(Stable) public void setReplaceUnhealthyInstances(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getTerminateInstances
@Stability(Stable) @NotNull public Object getTerminateInstances()
-
setTerminateInstances
@Stability(Stable) public void setTerminateInstances(@NotNull Boolean value)
-
setTerminateInstances
@Stability(Stable) public void setTerminateInstances(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getTerminateInstancesWithExpiration
@Stability(Stable) @NotNull public Object getTerminateInstancesWithExpiration()
-
setTerminateInstancesWithExpiration
@Stability(Stable) public void setTerminateInstancesWithExpiration(@NotNull Boolean value)
-
setTerminateInstancesWithExpiration
@Stability(Stable) public void setTerminateInstancesWithExpiration(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getType
@Stability(Stable) @NotNull public String getType()
-
setType
@Stability(Stable) public void setType(@NotNull String value)
-
getValidFrom
@Stability(Stable) @NotNull public String getValidFrom()
-
setValidFrom
@Stability(Stable) public void setValidFrom(@NotNull String value)
-
getValidUntil
@Stability(Stable) @NotNull public String getValidUntil()
-
setValidUntil
@Stability(Stable) public void setValidUntil(@NotNull String value)
-
-