Class DataAwsEc2InstanceTypeOffering

  • 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:51.630Z")
    @Stability(Stable)
    public class DataAwsEc2InstanceTypeOffering
    extends com.hashicorp.cdktf.TerraformDataSource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ec2_instance_type_offering aws_ec2_instance_type_offering}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • DataAwsEc2InstanceTypeOffering

        protected DataAwsEc2InstanceTypeOffering​(software.amazon.jsii.JsiiObjectRef objRef)
      • DataAwsEc2InstanceTypeOffering

        protected DataAwsEc2InstanceTypeOffering​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • DataAwsEc2InstanceTypeOffering

        @Stability(Stable)
        public DataAwsEc2InstanceTypeOffering​(@NotNull
                                              software.constructs.Construct scope,
                                              @NotNull
                                              String id,
                                              @Nullable
                                              DataAwsEc2InstanceTypeOfferingConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ec2_instance_type_offering aws_ec2_instance_type_offering} Data Source.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config -
      • DataAwsEc2InstanceTypeOffering

        @Stability(Stable)
        public DataAwsEc2InstanceTypeOffering​(@NotNull
                                              software.constructs.Construct scope,
                                              @NotNull
                                              String id)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ec2_instance_type_offering aws_ec2_instance_type_offering} Data Source.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
    • Method Detail

      • putFilter

        @Stability(Stable)
        public void putFilter​(@NotNull
                              Object value)
        Parameters:
        value - This parameter is required.
      • resetFilter

        @Stability(Stable)
        public void resetFilter()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetLocationType

        @Stability(Stable)
        public void resetLocationType()
      • resetPreferredInstanceTypes

        @Stability(Stable)
        public void resetPreferredInstanceTypes()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformDataSource
      • getInstanceType

        @Stability(Stable)
        @NotNull
        public String getInstanceType()
      • getFilterInput

        @Stability(Stable)
        @Nullable
        public Object getFilterInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getLocationTypeInput

        @Stability(Stable)
        @Nullable
        public String getLocationTypeInput()
      • getPreferredInstanceTypesInput

        @Stability(Stable)
        @Nullable
        public List<String> getPreferredInstanceTypesInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getLocationType

        @Stability(Stable)
        @NotNull
        public String getLocationType()
      • setLocationType

        @Stability(Stable)
        public void setLocationType​(@NotNull
                                    String value)
      • getPreferredInstanceTypes

        @Stability(Stable)
        @NotNull
        public List<String> getPreferredInstanceTypes()
      • setPreferredInstanceTypes

        @Stability(Stable)
        public void setPreferredInstanceTypes​(@NotNull
                                              List<String> value)