Class Policy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sns.FilterOrPolicy
software.amazon.awscdk.services.sns.Policy
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:16.445Z")
@Stability(Stable)
public class Policy
extends FilterOrPolicy
Policy Implementation of FilterOrPolicy.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sns.*; FilterOrPolicy filterOrPolicy; Policy policy = new Policy(Map.of( "policyDocKey", filterOrPolicy));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpolicy argument to construct.getType()
Type used in DFS buildFilterPolicyWithMessageBody to determine json value type.Methods inherited from class software.amazon.awscdk.services.sns.FilterOrPolicy
filter, isFilter, isPolicy, policy
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Policy
protected Policy(software.amazon.jsii.JsiiObjectRef objRef) -
Policy
protected Policy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Policy
Policy constructor.- Parameters:
policyDoc
- policy argument to construct. This parameter is required.
-
-
Method Details
-
getPolicyDoc
policy argument to construct. -
getType
Type used in DFS buildFilterPolicyWithMessageBody to determine json value type.- Specified by:
getType
in classFilterOrPolicy
-