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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.ManagedPolicyProps
ManagedPolicyProps.Builder, ManagedPolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ManagedPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theManagedPolicyProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringA description of the managed policy.final PolicyDocumentInitial PolicyDocument to use for this ManagedPolicy.Groups to attach this policy to.final StringThe name of the managed policy.final StringgetPath()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 inthashCode()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:ManagedPolicyPropsA 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:
getDescriptionin interfaceManagedPolicyProps
-
getDocument
Description copied from interface:ManagedPolicyPropsInitial PolicyDocument to use for this ManagedPolicy.If omited, any
PolicyStatementprovided in thestatementsproperty will be applied against the empty defaultPolicyDocument.Default: - An empty policy.
- Specified by:
getDocumentin interfaceManagedPolicyProps
-
getGroups
Description copied from interface:ManagedPolicyPropsGroups to attach this policy to.You can also use
attachToGroup(group)to attach this policy to a group.Default: - No groups.
- Specified by:
getGroupsin interfaceManagedPolicyProps
-
getManagedPolicyName
Description copied from interface:ManagedPolicyPropsThe 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:
getManagedPolicyNamein interfaceManagedPolicyProps
-
getPath
Description copied from interface:ManagedPolicyPropsThe 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:
getPathin interfaceManagedPolicyProps
-
getRoles
Description copied from interface:ManagedPolicyPropsRoles to attach this policy to.You can also use
attachToRole(role)to attach this policy to a role.Default: - No roles.
- Specified by:
getRolesin interfaceManagedPolicyProps
-
getStatements
Description copied from interface:ManagedPolicyPropsInitial set of permissions to add to this policy document.You can also use
addPermission(statement)to add permissions later.Default: - No statements.
- Specified by:
getStatementsin interfaceManagedPolicyProps
-
getUsers
Description copied from interface:ManagedPolicyPropsUsers to attach this policy to.You can also use
attachToUser(user)to attach this policy to a user.Default: - No users.
- Specified by:
getUsersin interfaceManagedPolicyProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-