Class SnsTopicSubscription

  • 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:55.237Z")
    @Stability(Stable)
    public class SnsTopicSubscription
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sns_topic_subscription aws_sns_topic_subscription}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • SnsTopicSubscription

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

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

        @Stability(Stable)
        public SnsTopicSubscription​(@NotNull
                                    software.constructs.Construct scope,
                                    @NotNull
                                    String id,
                                    @NotNull
                                    SnsTopicSubscriptionConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sns_topic_subscription aws_sns_topic_subscription} 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

      • resetConfirmationTimeoutInMinutes

        @Stability(Stable)
        public void resetConfirmationTimeoutInMinutes()
      • resetDeliveryPolicy

        @Stability(Stable)
        public void resetDeliveryPolicy()
      • resetEndpointAutoConfirms

        @Stability(Stable)
        public void resetEndpointAutoConfirms()
      • resetFilterPolicy

        @Stability(Stable)
        public void resetFilterPolicy()
      • resetFilterPolicyScope

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

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

        @Stability(Stable)
        public void resetRawMessageDelivery()
      • resetRedrivePolicy

        @Stability(Stable)
        public void resetRedrivePolicy()
      • resetSubscriptionRoleArn

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

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

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

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.IResolvable getConfirmationWasAuthenticated()
      • getOwnerId

        @Stability(Stable)
        @NotNull
        public String getOwnerId()
      • getPendingConfirmation

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.IResolvable getPendingConfirmation()
      • getConfirmationTimeoutInMinutesInput

        @Stability(Stable)
        @Nullable
        public Number getConfirmationTimeoutInMinutesInput()
      • getDeliveryPolicyInput

        @Stability(Stable)
        @Nullable
        public String getDeliveryPolicyInput()
      • getEndpointAutoConfirmsInput

        @Stability(Stable)
        @Nullable
        public Object getEndpointAutoConfirmsInput()
      • getEndpointInput

        @Stability(Stable)
        @Nullable
        public String getEndpointInput()
      • getFilterPolicyInput

        @Stability(Stable)
        @Nullable
        public String getFilterPolicyInput()
      • getFilterPolicyScopeInput

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

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

        @Stability(Stable)
        @Nullable
        public String getProtocolInput()
      • getRawMessageDeliveryInput

        @Stability(Stable)
        @Nullable
        public Object getRawMessageDeliveryInput()
      • getRedrivePolicyInput

        @Stability(Stable)
        @Nullable
        public String getRedrivePolicyInput()
      • getSubscriptionRoleArnInput

        @Stability(Stable)
        @Nullable
        public String getSubscriptionRoleArnInput()
      • getTopicArnInput

        @Stability(Stable)
        @Nullable
        public String getTopicArnInput()
      • getConfirmationTimeoutInMinutes

        @Stability(Stable)
        @NotNull
        public Number getConfirmationTimeoutInMinutes()
      • setConfirmationTimeoutInMinutes

        @Stability(Stable)
        public void setConfirmationTimeoutInMinutes​(@NotNull
                                                    Number value)
      • getDeliveryPolicy

        @Stability(Stable)
        @NotNull
        public String getDeliveryPolicy()
      • setDeliveryPolicy

        @Stability(Stable)
        public void setDeliveryPolicy​(@NotNull
                                      String value)
      • getEndpoint

        @Stability(Stable)
        @NotNull
        public String getEndpoint()
      • setEndpoint

        @Stability(Stable)
        public void setEndpoint​(@NotNull
                                String value)
      • getEndpointAutoConfirms

        @Stability(Stable)
        @NotNull
        public Object getEndpointAutoConfirms()
      • setEndpointAutoConfirms

        @Stability(Stable)
        public void setEndpointAutoConfirms​(@NotNull
                                            Boolean value)
      • setEndpointAutoConfirms

        @Stability(Stable)
        public void setEndpointAutoConfirms​(@NotNull
                                            com.hashicorp.cdktf.IResolvable value)
      • getFilterPolicy

        @Stability(Stable)
        @NotNull
        public String getFilterPolicy()
      • setFilterPolicy

        @Stability(Stable)
        public void setFilterPolicy​(@NotNull
                                    String value)
      • getFilterPolicyScope

        @Stability(Stable)
        @NotNull
        public String getFilterPolicyScope()
      • setFilterPolicyScope

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

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

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

        @Stability(Stable)
        @NotNull
        public String getProtocol()
      • setProtocol

        @Stability(Stable)
        public void setProtocol​(@NotNull
                                String value)
      • getRawMessageDelivery

        @Stability(Stable)
        @NotNull
        public Object getRawMessageDelivery()
      • setRawMessageDelivery

        @Stability(Stable)
        public void setRawMessageDelivery​(@NotNull
                                          Boolean value)
      • setRawMessageDelivery

        @Stability(Stable)
        public void setRawMessageDelivery​(@NotNull
                                          com.hashicorp.cdktf.IResolvable value)
      • getRedrivePolicy

        @Stability(Stable)
        @NotNull
        public String getRedrivePolicy()
      • setRedrivePolicy

        @Stability(Stable)
        public void setRedrivePolicy​(@NotNull
                                     String value)
      • getSubscriptionRoleArn

        @Stability(Stable)
        @NotNull
        public String getSubscriptionRoleArn()
      • setSubscriptionRoleArn

        @Stability(Stable)
        public void setSubscriptionRoleArn​(@NotNull
                                           String value)
      • getTopicArn

        @Stability(Stable)
        @NotNull
        public String getTopicArn()
      • setTopicArn

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