Class CloudwatchLogResourcePolicy

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

      Nested Classes 
      Modifier and Type Class Description
      static class  CloudwatchLogResourcePolicy.Builder
      A fluent builder for CloudwatchLogResourcePolicy.
      • 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 getPolicyDocument()  
      String getPolicyDocumentInput()  
      String getPolicyName()  
      String getPolicyNameInput()  
      void resetId()  
      void setId​(String value)  
      void setPolicyDocument​(String value)  
      void setPolicyName​(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

      • CloudwatchLogResourcePolicy

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

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

        @Stability(Stable)
        public CloudwatchLogResourcePolicy​(@NotNull
                                           software.constructs.Construct scope,
                                           @NotNull
                                           String id,
                                           @NotNull
                                           CloudwatchLogResourcePolicyConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_resource_policy aws_cloudwatch_log_resource_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
      • getIdInput

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

        @Stability(Stable)
        @Nullable
        public String getPolicyDocumentInput()
      • getPolicyNameInput

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

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

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

        @Stability(Stable)
        @NotNull
        public String getPolicyDocument()
      • setPolicyDocument

        @Stability(Stable)
        public void setPolicyDocument​(@NotNull
                                      String value)
      • getPolicyName

        @Stability(Stable)
        @NotNull
        public String getPolicyName()
      • setPolicyName

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