Class ManagedPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
ManagedPolicyProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ManagedPolicyProps
ManagedPolicyProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.ManagedPolicyProps
ManagedPolicyProps.Builder, ManagedPolicyProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ManagedPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theManagedPolicyProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
A description of the managed policy.final PolicyDocument
Initial PolicyDocument to use for this ManagedPolicy.Groups to attach this policy to.final String
The name of the managed policy.final String
getPath()
The path for the policy.getRoles()
Roles to attach this policy to.final List<PolicyStatement>
Initial set of permissions to add to this policy document.getUsers()
Users to attach this policy to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theManagedPolicyProps.Builder
.
-
-
Method Details
-
getDescription
Description copied from interface:ManagedPolicyProps
A description of the managed policy.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
- Specified by:
getDescription
in interfaceManagedPolicyProps
-
getDocument
Description copied from interface:ManagedPolicyProps
Initial PolicyDocument to use for this ManagedPolicy.If omited, any
PolicyStatement
provided in thestatements
property will be applied against the empty defaultPolicyDocument
.Default: - An empty policy.
- Specified by:
getDocument
in interfaceManagedPolicyProps
-
getGroups
Description copied from interface:ManagedPolicyProps
Groups to attach this policy to.You can also use
attachToGroup(group)
to attach this policy to a group.Default: - No groups.
- Specified by:
getGroups
in interfaceManagedPolicyProps
-
getManagedPolicyName
Description copied from interface:ManagedPolicyProps
The name of the managed policy.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.
- Specified by:
getManagedPolicyName
in interfaceManagedPolicyProps
-
getPath
Description copied from interface:ManagedPolicyProps
The path for the policy.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: - "/"
- Specified by:
getPath
in interfaceManagedPolicyProps
-
getRoles
Description copied from interface:ManagedPolicyProps
Roles to attach this policy to.You can also use
attachToRole(role)
to attach this policy to a role.Default: - No roles.
- Specified by:
getRoles
in interfaceManagedPolicyProps
-
getStatements
Description copied from interface:ManagedPolicyProps
Initial set of permissions to add to this policy document.You can also use
addPermission(statement)
to add permissions later.Default: - No statements.
- Specified by:
getStatements
in interfaceManagedPolicyProps
-
getUsers
Description copied from interface:ManagedPolicyProps
Users to attach this policy to.You can also use
attachToUser(user)
to attach this policy to a user.Default: - No users.
- Specified by:
getUsers
in interfaceManagedPolicyProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-