public static final class ManagedPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ManagedPolicyProps
ManagedPolicyProps
ManagedPolicyProps.Builder, ManagedPolicyProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
A description of the managed policy.
|
PolicyDocument |
getDocument()
Initial PolicyDocument to use for this ManagedPolicy.
|
java.util.List<IGroup> |
getGroups()
Groups to attach this policy to.
|
java.lang.String |
getManagedPolicyName()
The name of the managed policy.
|
java.lang.String |
getPath()
The path for the policy.
|
java.util.List<IRole> |
getRoles()
Roles to attach this policy to.
|
java.util.List<PolicyStatement> |
getStatements()
Initial set of permissions to add to this policy document.
|
java.util.List<IUser> |
getUsers()
Users to attach this policy to.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getDescription()
ManagedPolicyProps
Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
Default: - empty
getDescription
in interface ManagedPolicyProps
public final PolicyDocument getDocument()
ManagedPolicyProps
If omited, any
PolicyStatement
provided in the statements
property will be applied
against the empty default PolicyDocument
.
Default: - An empty policy.
getDocument
in interface ManagedPolicyProps
public final java.util.List<IGroup> getGroups()
ManagedPolicyProps
You can also use attachToGroup(group)
to attach this policy to a group.
Default: - No groups.
getGroups
in interface ManagedPolicyProps
public final java.lang.String getManagedPolicyName()
ManagedPolicyProps
If you specify multiple policies for an entity, specify unique names. For example, if you specify a list of policies for an IAM role, each policy must have a unique name.
Default: - A name is automatically generated.
getManagedPolicyName
in interface ManagedPolicyProps
public final java.lang.String getPath()
ManagedPolicyProps
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (!) through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.
For more information about paths, see IAM Identifiers in the IAM User Guide.
Default: - "/"
getPath
in interface ManagedPolicyProps
public final java.util.List<IRole> getRoles()
ManagedPolicyProps
You can also use attachToRole(role)
to attach this policy to a role.
Default: - No roles.
getRoles
in interface ManagedPolicyProps
public final java.util.List<PolicyStatement> getStatements()
ManagedPolicyProps
You can also use addPermission(statement)
to add permissions later.
Default: - No statements.
getStatements
in interface ManagedPolicyProps
public final java.util.List<IUser> getUsers()
ManagedPolicyProps
You can also use attachToUser(user)
to attach this policy to a user.
Default: - No users.
getUsers
in interface ManagedPolicyProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()