Class DataAwsAmi
- 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_ami.DataAwsAmi
-
- 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.280Z") @Stability(Stable) public class DataAwsAmi extends com.hashicorp.cdktf.TerraformDataSource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ami aws_ami}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataAwsAmi.BuilderA fluent builder forDataAwsAmi.-
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 protectedDataAwsAmi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedDataAwsAmi(software.amazon.jsii.JsiiObjectRef objRef)DataAwsAmi(software.constructs.Construct scope, String id)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ami aws_ami} Data Source.DataAwsAmi(software.constructs.Construct scope, String id, DataAwsAmiConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ami aws_ami} Data Source.
-
Method Summary
-
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
-
DataAwsAmi
protected DataAwsAmi(software.amazon.jsii.JsiiObjectRef objRef)
-
DataAwsAmi
protected DataAwsAmi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
DataAwsAmi
@Stability(Stable) public DataAwsAmi(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable DataAwsAmiConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/ami aws_ami} 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-
-
DataAwsAmi
@Stability(Stable) public DataAwsAmi(@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/ami aws_ami} 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 DataAwsAmiTimeouts value)- Parameters:
value- This parameter is required.
-
resetExecutableUsers
@Stability(Stable) public void resetExecutableUsers()
-
resetFilter
@Stability(Stable) public void resetFilter()
-
resetId
@Stability(Stable) public void resetId()
-
resetIncludeDeprecated
@Stability(Stable) public void resetIncludeDeprecated()
-
resetMostRecent
@Stability(Stable) public void resetMostRecent()
-
resetNameRegex
@Stability(Stable) public void resetNameRegex()
-
resetOwners
@Stability(Stable) public void resetOwners()
-
resetTags
@Stability(Stable) public void resetTags()
-
resetTimeouts
@Stability(Stable) public void resetTimeouts()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformDataSource
-
getArchitecture
@Stability(Stable) @NotNull public String getArchitecture()
-
getArn
@Stability(Stable) @NotNull public String getArn()
-
getBlockDeviceMappings
@Stability(Stable) @NotNull public DataAwsAmiBlockDeviceMappingsList getBlockDeviceMappings()
-
getBootMode
@Stability(Stable) @NotNull public String getBootMode()
-
getCreationDate
@Stability(Stable) @NotNull public String getCreationDate()
-
getDeprecationTime
@Stability(Stable) @NotNull public String getDeprecationTime()
-
getDescription
@Stability(Stable) @NotNull public String getDescription()
-
getEnaSupport
@Stability(Stable) @NotNull public com.hashicorp.cdktf.IResolvable getEnaSupport()
-
getFilter
@Stability(Stable) @NotNull public DataAwsAmiFilterList getFilter()
-
getHypervisor
@Stability(Stable) @NotNull public String getHypervisor()
-
getImageId
@Stability(Stable) @NotNull public String getImageId()
-
getImageLocation
@Stability(Stable) @NotNull public String getImageLocation()
-
getImageOwnerAlias
@Stability(Stable) @NotNull public String getImageOwnerAlias()
-
getImageType
@Stability(Stable) @NotNull public String getImageType()
-
getImdsSupport
@Stability(Stable) @NotNull public String getImdsSupport()
-
getKernelId
@Stability(Stable) @NotNull public String getKernelId()
-
getName
@Stability(Stable) @NotNull public String getName()
-
getOwnerId
@Stability(Stable) @NotNull public String getOwnerId()
-
getPlatform
@Stability(Stable) @NotNull public String getPlatform()
-
getPlatformDetails
@Stability(Stable) @NotNull public String getPlatformDetails()
-
getProductCodes
@Stability(Stable) @NotNull public DataAwsAmiProductCodesList getProductCodes()
-
getPublicValue
@Stability(Stable) @NotNull public com.hashicorp.cdktf.IResolvable getPublicValue()
-
getRamdiskId
@Stability(Stable) @NotNull public String getRamdiskId()
-
getRootDeviceName
@Stability(Stable) @NotNull public String getRootDeviceName()
-
getRootDeviceType
@Stability(Stable) @NotNull public String getRootDeviceType()
-
getRootSnapshotId
@Stability(Stable) @NotNull public String getRootSnapshotId()
-
getSriovNetSupport
@Stability(Stable) @NotNull public String getSriovNetSupport()
-
getState
@Stability(Stable) @NotNull public String getState()
-
getStateReason
@Stability(Stable) @NotNull public com.hashicorp.cdktf.StringMap getStateReason()
-
getTimeouts
@Stability(Stable) @NotNull public DataAwsAmiTimeoutsOutputReference getTimeouts()
-
getTpmSupport
@Stability(Stable) @NotNull public String getTpmSupport()
-
getUsageOperation
@Stability(Stable) @NotNull public String getUsageOperation()
-
getVirtualizationType
@Stability(Stable) @NotNull public String getVirtualizationType()
-
getFilterInput
@Stability(Stable) @Nullable public Object getFilterInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getIncludeDeprecatedInput
@Stability(Stable) @Nullable public Object getIncludeDeprecatedInput()
-
getMostRecentInput
@Stability(Stable) @Nullable public Object getMostRecentInput()
-
getNameRegexInput
@Stability(Stable) @Nullable public String getNameRegexInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getIncludeDeprecated
@Stability(Stable) @NotNull public Object getIncludeDeprecated()
-
setIncludeDeprecated
@Stability(Stable) public void setIncludeDeprecated(@NotNull Boolean value)
-
setIncludeDeprecated
@Stability(Stable) public void setIncludeDeprecated(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getMostRecent
@Stability(Stable) @NotNull public Object getMostRecent()
-
setMostRecent
@Stability(Stable) public void setMostRecent(@NotNull Boolean value)
-
setMostRecent
@Stability(Stable) public void setMostRecent(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getNameRegex
@Stability(Stable) @NotNull public String getNameRegex()
-
setNameRegex
@Stability(Stable) public void setNameRegex(@NotNull String value)
-
-