Class DataAwsIamPolicy

  • 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.846Z")
    @Stability(Stable)
    public class DataAwsIamPolicy
    extends com.hashicorp.cdktf.TerraformDataSource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_policy aws_iam_policy}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DataAwsIamPolicy.Builder
      A fluent builder for DataAwsIamPolicy.
      • 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
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformDependable

        com.hashicorp.cdktf.ITerraformDependable.Jsii$Default, com.hashicorp.cdktf.ITerraformDependable.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformResource

        com.hashicorp.cdktf.ITerraformResource.Jsii$Default, com.hashicorp.cdktf.ITerraformResource.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DataAwsIamPolicy​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected DataAwsIamPolicy​(software.amazon.jsii.JsiiObjectRef objRef)  
        DataAwsIamPolicy​(software.constructs.Construct scope, String id)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_policy aws_iam_policy} Data Source.
        DataAwsIamPolicy​(software.constructs.Construct scope, String id, DataAwsIamPolicyConfig config)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_policy aws_iam_policy} Data Source.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • DataAwsIamPolicy

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

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

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

        @Stability(Stable)
        public DataAwsIamPolicy​(@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/iam_policy aws_iam_policy} 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

      • resetArn

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

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

        @Stability(Stable)
        public void resetName()
      • resetPathPrefix

        @Stability(Stable)
        public void resetPathPrefix()
      • resetTags

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

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

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • getPath

        @Stability(Stable)
        @NotNull
        public String getPath()
      • getPolicy

        @Stability(Stable)
        @NotNull
        public String getPolicy()
      • getPolicyId

        @Stability(Stable)
        @NotNull
        public String getPolicyId()
      • getArnInput

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

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

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getPathPrefixInput

        @Stability(Stable)
        @Nullable
        public String getPathPrefixInput()
      • getTagsInput

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

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

        @Stability(Stable)
        public void setArn​(@NotNull
                           String value)
      • getId

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

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

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getPathPrefix

        @Stability(Stable)
        @NotNull
        public String getPathPrefix()
      • setPathPrefix

        @Stability(Stable)
        public void setPathPrefix​(@NotNull
                                  String value)
      • getTags

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

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