Class CustomizeRolesOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.CustomizeRolesOptions.Jsii$Proxy
- All Implemented Interfaces:
CustomizeRolesOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CustomizeRolesOptions
@Stability(Stable)
@Internal
public static final class CustomizeRolesOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CustomizeRolesOptions
An implementation for
CustomizeRolesOptions-
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.CustomizeRolesOptions
CustomizeRolesOptions.Builder, CustomizeRolesOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CustomizeRolesOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theCustomizeRolesOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCustomizeRolesOptions.Builder.
-
-
Method Details
-
getPreventSynthesis
Description copied from interface:CustomizeRolesOptionsWhether or not to synthesize the resource into the CFN template.Set this to
falseif you still want to create the resources and you also want to create the policy report.Default: true
- Specified by:
getPreventSynthesisin interfaceCustomizeRolesOptions
-
getUsePrecreatedRoles
Description copied from interface:CustomizeRolesOptionsA list of precreated IAM roles to substitute for roles that CDK is creating.The constructPath can be either a relative or absolute path from the scope that
customizeRolesis used on to the role being created.Default: - there are no precreated roles. Synthesis will fail if `preventSynthesis=true`
Example:
App app; Stack stack = new Stack(app, "MyStack"); Role.Builder.create(stack, "MyRole") .assumedBy(new AccountPrincipal("1111111111")) .build(); Role.customizeRoles(stack, CustomizeRolesOptions.builder() .usePrecreatedRoles(Map.of( // absolute path "MyStack/MyRole", "my-precreated-role-name", // or relative path from `stack` "MyRole", "my-precreated-role")) .build());- Specified by:
getUsePrecreatedRolesin interfaceCustomizeRolesOptions
-
$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()
-