Class InstanceProfileProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.InstanceProfileProps.Jsii$Proxy
- All Implemented Interfaces:
InstanceProfileProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
InstanceProfileProps
@Stability(Stable)
@Internal
public static final class InstanceProfileProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements InstanceProfileProps
An implementation for
InstanceProfileProps-
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.InstanceProfileProps
InstanceProfileProps.Builder, InstanceProfileProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(InstanceProfileProps.Builder builder) Constructor that initializes the object based on literal property values passed by theInstanceProfileProps.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 StringThe name of the InstanceProfile to create.final StringgetPath()The path to the InstanceProfile.final IRolegetRole()An IAM role to associate with the instance profile that is used by EC2 instances.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 theInstanceProfileProps.Builder.
-
-
Method Details
-
getInstanceProfileName
Description copied from interface:InstanceProfilePropsThe name of the InstanceProfile to create.Default: - generated by CloudFormation
- Specified by:
getInstanceProfileNamein interfaceInstanceProfileProps
-
getPath
Description copied from interface:InstanceProfilePropsThe path to the InstanceProfile.Default: /
- Specified by:
getPathin interfaceInstanceProfileProps
-
getRole
Description copied from interface:InstanceProfilePropsAn IAM role to associate with the instance profile that is used by EC2 instances.The role must be assumable by the service principal
ec2.amazonaws.com:Default: - a role will be automatically created, it can be accessed via the `role` property
Example:
Role role = Role.Builder.create(this, "MyRole") .assumedBy(new ServicePrincipal("ec2.amazonaws.com")) .build();- Specified by:
getRolein interfaceInstanceProfileProps
-
$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()
-