Class DataAwsInstances
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformDataSource
-
- com.hashicorp.cdktf.providers.aws.data_aws_instances.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}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataAwsInstances.BuilderA fluent builder forDataAwsInstances.-
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 protectedDataAwsInstances(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedDataAwsInstances(software.amazon.jsii.JsiiObjectRef objRef)DataAwsInstances(software.constructs.Construct scope, String id)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/instances aws_instances} Data Source.DataAwsInstances(software.constructs.Construct scope, String id, DataAwsInstancesConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/instances aws_instances} Data Source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAwsInstancesFilterListgetFilter()ObjectgetFilterInput()StringgetId()StringgetIdInput()List<String>getIds()List<String>getInstanceStateNames()List<String>getInstanceStateNamesInput()Map<String,String>getInstanceTags()Map<String,String>getInstanceTagsInput()List<String>getIpv6Addresses()List<String>getPrivateIps()List<String>getPublicIps()DataAwsInstancesTimeoutsOutputReferencegetTimeouts()ObjectgetTimeoutsInput()voidputFilter(Object value)voidputTimeouts(DataAwsInstancesTimeouts value)voidresetFilter()voidresetId()voidresetInstanceStateNames()voidresetInstanceTags()voidresetTimeouts()voidsetId(String value)voidsetInstanceStateNames(List<String> value)voidsetInstanceTags(Map<String,String> value)protected Map<String,Object>synthesizeAttributes()-
Methods inherited from class com.hashicorp.cdktf.TerraformDataSource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformDataSource, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, 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
-
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:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformDataSource
-
getFilter
@Stability(Stable) @NotNull public DataAwsInstancesFilterList getFilter()
-
getTimeouts
@Stability(Stable) @NotNull public DataAwsInstancesTimeoutsOutputReference getTimeouts()
-
getFilterInput
@Stability(Stable) @Nullable public Object getFilterInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getInstanceStateNamesInput
@Stability(Stable) @Nullable public List<String> getInstanceStateNamesInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
setInstanceStateNames
@Stability(Stable) public void setInstanceStateNames(@NotNull List<String> value)
-
-