@Stability(value=Experimental) @Internal public static final class PolicyStatementProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyStatementProps
PolicyStatementPropssoftware.amazon.jsii.JsiiObject.InitializationModePolicyStatementProps.Builder, PolicyStatementProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<String> actions,
Map<String,? extends Object> conditions,
Effect effect,
List<String> notActions,
List<? extends IPrincipal> notPrincipals,
List<String> notResources,
List<? extends IPrincipal> principals,
List<String> resources,
String sid)
Constructor that initializes the object based on literal property values passed by the
PolicyStatementProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getActions()
(experimental) List of actions to add to the statement.
|
Map<String,Object> |
getConditions()
(experimental) Conditions to add to the statement.
|
Effect |
getEffect()
(experimental) Whether to allow or deny the actions in this statement.
|
List<String> |
getNotActions()
(experimental) List of not actions to add to the statement.
|
List<IPrincipal> |
getNotPrincipals()
(experimental) List of not principals to add to the statement.
|
List<String> |
getNotResources()
(experimental) NotResource ARNs to add to the statement.
|
List<IPrincipal> |
getPrincipals()
(experimental) List of principals to add to the statement.
|
List<String> |
getResources()
(experimental) Resource ARNs to add to the statement.
|
String |
getSid()
(experimental) The Sid (statement ID) is an optional identifier that you provide for the policy statement.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<String> actions, Map<String,? extends Object> conditions, Effect effect, List<String> notActions, List<? extends IPrincipal> notPrincipals, List<String> notResources, List<? extends IPrincipal> principals, List<String> resources, String sid)
PolicyStatementProps.Builder.public final List<String> getActions()
PolicyStatementPropsDefault: - no actions
getActions in interface PolicyStatementPropspublic final Map<String,Object> getConditions()
PolicyStatementPropsDefault: - no condition
getConditions in interface PolicyStatementPropspublic final Effect getEffect()
PolicyStatementPropsDefault: Effect.ALLOW
getEffect in interface PolicyStatementPropspublic final List<String> getNotActions()
PolicyStatementPropsDefault: - no not-actions
getNotActions in interface PolicyStatementPropspublic final List<IPrincipal> getNotPrincipals()
PolicyStatementPropsDefault: - no not principals
getNotPrincipals in interface PolicyStatementPropspublic final List<String> getNotResources()
PolicyStatementPropsDefault: - no not-resources
getNotResources in interface PolicyStatementPropspublic final List<IPrincipal> getPrincipals()
PolicyStatementPropsDefault: - no principals
getPrincipals in interface PolicyStatementPropspublic final List<String> getResources()
PolicyStatementPropsDefault: - no resources
getResources in interface PolicyStatementPropspublic final String getSid()
PolicyStatementPropsYou can assign a Sid value to each statement in a statement array. In services that let you specify an ID element, such as SQS and SNS, the Sid value is just a sub-ID of the policy document's ID. In IAM, the Sid value must be unique within a JSON policy.
Default: - no sid
getSid in interface PolicyStatementProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.