Class 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}.
    • 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:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformDataSource
      • getArchitecture

        @Stability(Stable)
        @NotNull
        public String getArchitecture()
      • getArn

        @Stability(Stable)
        @NotNull
        public String getArn()
      • 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()
      • 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()
      • 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()
      • getTpmSupport

        @Stability(Stable)
        @NotNull
        public String getTpmSupport()
      • getUsageOperation

        @Stability(Stable)
        @NotNull
        public String getUsageOperation()
      • getVirtualizationType

        @Stability(Stable)
        @NotNull
        public String getVirtualizationType()
      • getExecutableUsersInput

        @Stability(Stable)
        @Nullable
        public List<String> getExecutableUsersInput()
      • 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()
      • getOwnersInput

        @Stability(Stable)
        @Nullable
        public List<String> getOwnersInput()
      • getTagsInput

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

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

        @Stability(Stable)
        @NotNull
        public List<String> getExecutableUsers()
      • setExecutableUsers

        @Stability(Stable)
        public void setExecutableUsers​(@NotNull
                                       List<String> value)
      • 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)
      • getOwners

        @Stability(Stable)
        @NotNull
        public List<String> getOwners()
      • setOwners

        @Stability(Stable)
        public void setOwners​(@NotNull
                              List<String> value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

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