@Stability(value=Stable) public static final class PolicyStatementProps.Builder extends Object implements software.amazon.jsii.Builder<PolicyStatementProps>
PolicyStatementProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public PolicyStatementProps.Builder actions(List<String> actions)
PolicyStatementProps.getActions()actions - List of actions to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder conditions(Map<String,? extends Object> conditions)
PolicyStatementProps.getConditions()conditions - Conditions to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder effect(Effect effect)
PolicyStatementProps.getEffect()effect - Whether to allow or deny the actions in this statement.this@Stability(value=Stable) public PolicyStatementProps.Builder notActions(List<String> notActions)
PolicyStatementProps.getNotActions()notActions - List of not actions to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder notPrincipals(List<? extends IPrincipal> notPrincipals)
PolicyStatementProps.getNotPrincipals()notPrincipals - List of not principals to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder notResources(List<String> notResources)
PolicyStatementProps.getNotResources()notResources - NotResource ARNs to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder principals(List<? extends IPrincipal> principals)
PolicyStatementProps.getPrincipals()principals - List of principals to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder resources(List<String> resources)
PolicyStatementProps.getResources()resources - Resource ARNs to add to the statement.this@Stability(value=Stable) public PolicyStatementProps.Builder sid(String sid)
PolicyStatementProps.getSid()sid - The Sid (statement ID) is an optional identifier that you provide for the policy statement.
You 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.this@Stability(value=Stable) public PolicyStatementProps build()
build in interface software.amazon.jsii.Builder<PolicyStatementProps>PolicyStatementPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.