Class EcrpublicRepositoryPolicy

  • 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:52.834Z")
    @Stability(Stable)
    public class EcrpublicRepositoryPolicy
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ecrpublic_repository_policy aws_ecrpublic_repository_policy}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EcrpublicRepositoryPolicy.Builder
      A fluent builder for EcrpublicRepositoryPolicy.
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getId()  
      String getIdInput()  
      String getPolicy()  
      String getPolicyInput()  
      String getRegistryId()  
      String getRepositoryName()  
      String getRepositoryNameInput()  
      void resetId()  
      void setId​(String value)  
      void setPolicy​(String value)  
      void setRepositoryName​(String value)  
      protected Map<String,​Object> synthesizeAttributes()  
      • Methods inherited from class com.hashicorp.cdktf.TerraformResource

        getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
      • Methods inherited from class com.hashicorp.cdktf.TerraformElement

        addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformAddressable

        getFqn
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformResource

        getFqn, getFriendlyUniqueId
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • EcrpublicRepositoryPolicy

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

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

        @Stability(Stable)
        public EcrpublicRepositoryPolicy​(@NotNull
                                         software.constructs.Construct scope,
                                         @NotNull
                                         String id,
                                         @NotNull
                                         EcrpublicRepositoryPolicyConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ecrpublic_repository_policy aws_ecrpublic_repository_policy} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • resetId

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

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

        @Stability(Stable)
        @NotNull
        public String getRegistryId()
      • getIdInput

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

        @Stability(Stable)
        @Nullable
        public String getPolicyInput()
      • getRepositoryNameInput

        @Stability(Stable)
        @Nullable
        public String getRepositoryNameInput()
      • getId

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

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

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

        @Stability(Stable)
        public void setPolicy​(@NotNull
                              String value)
      • getRepositoryName

        @Stability(Stable)
        @NotNull
        public String getRepositoryName()
      • setRepositoryName

        @Stability(Stable)
        public void setRepositoryName​(@NotNull
                                      String value)