Class UserProps.Jsii$Proxy
- All Implemented Interfaces:
UserProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
UserProps
UserProps-
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.UserProps
UserProps.Builder, UserProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(UserProps.Builder builder) Constructor that initializes the object based on literal property values passed by theUserProps.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 booleanGroups to add this user to.final List<IManagedPolicy> A list of managed policies associated with this role.final SecretValueThe password for the user.final BooleanSpecifies whether the user is required to set a new password the next time the user logs in to the AWS Management Console.final StringgetPath()The path for the user name.final IManagedPolicyAWS supports permissions boundaries for IAM entities (users or roles).final StringA name for the IAM user.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 theUserProps.Builder.
-
-
Method Details
-
getGroups
Description copied from interface:UserPropsGroups to add this user to.You can also use
addToGroupto add this user to a group.Default: - No groups.
-
getManagedPolicies
Description copied from interface:UserPropsA list of managed policies associated with this role.You can add managed policies later using
addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName)).Default: - No managed policies.
- Specified by:
getManagedPoliciesin interfaceUserProps
-
getPassword
Description copied from interface:UserPropsThe password for the user. This is required so the user can access the AWS Management Console.You can use
SecretValue.unsafePlainTextto specify a password in plain text or usesecretsmanager.Secret.fromSecretAttributesto reference a secret in Secrets Manager.Default: - User won't be able to access the management console without a password.
- Specified by:
getPasswordin interfaceUserProps
-
getPasswordResetRequired
Description copied from interface:UserPropsSpecifies whether the user is required to set a new password the next time the user logs in to the AWS Management Console.If this is set to 'true', you must also specify "initialPassword".
Default: false
- Specified by:
getPasswordResetRequiredin interfaceUserProps
-
getPath
Description copied from interface:UserPropsThe path for the user name.For more information about paths, see IAM Identifiers in the IAM User Guide.
Default: /
-
getPermissionsBoundary
Description copied from interface:UserPropsAWS supports permissions boundaries for IAM entities (users or roles).A permissions boundary is an advanced feature for using a managed policy to set the maximum permissions that an identity-based policy can grant to an IAM entity. An entity's permissions boundary allows it to perform only the actions that are allowed by both its identity-based policies and its permissions boundaries.
Default: - No permissions boundary.
- Specified by:
getPermissionsBoundaryin interfaceUserProps
-
getUserName
Description copied from interface:UserPropsA name for the IAM user.For valid values, see the UserName parameter for the CreateUser action in the IAM API Reference. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the user name.
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
If you specify a name, you must specify the CAPABILITY_NAMED_IAM value to acknowledge your template's capabilities. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Default: - Generated by CloudFormation (recommended)
- Specified by:
getUserNamein interfaceUserProps
-
$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()
-