Class DataAwsInstances

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

      • TF_RESOURCE_TYPE

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

      • DataAwsInstances

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

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

        @Stability(Stable)
        public DataAwsInstances​(@NotNull
                                software.constructs.Construct scope,
                                @NotNull
                                String id,
                                @Nullable
                                DataAwsInstancesConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/instances aws_instances} 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 -
      • DataAwsInstances

        @Stability(Stable)
        public DataAwsInstances​(@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/instances aws_instances} 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.
      • putTimeouts

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

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

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

        @Stability(Stable)
        public void resetInstanceStateNames()
      • resetInstanceTags

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

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

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

        @Stability(Stable)
        @NotNull
        public List<String> getIds()
      • getIpv6Addresses

        @Stability(Stable)
        @NotNull
        public List<String> getIpv6Addresses()
      • getPrivateIps

        @Stability(Stable)
        @NotNull
        public List<String> getPrivateIps()
      • getPublicIps

        @Stability(Stable)
        @NotNull
        public List<String> getPublicIps()
      • getFilterInput

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

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

        @Stability(Stable)
        @Nullable
        public List<String> getInstanceStateNamesInput()
      • getInstanceTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getInstanceTagsInput()
      • getTimeoutsInput

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

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

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

        @Stability(Stable)
        @NotNull
        public List<String> getInstanceStateNames()
      • setInstanceStateNames

        @Stability(Stable)
        public void setInstanceStateNames​(@NotNull
                                          List<String> value)
      • getInstanceTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getInstanceTags()
      • setInstanceTags

        @Stability(Stable)
        public void setInstanceTags​(@NotNull
                                    Map<String,​String> value)