Interface IInstanceProfile
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IInstanceProfileRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IInstanceProfile.Jsii$Default
- All Known Implementing Classes:
IInstanceProfile.Jsii$Proxy,InstanceProfile
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:37.907Z")
@Stability(Stable)
public interface IInstanceProfile
extends software.amazon.jsii.JsiiSerializable, IResource, IInstanceProfileRef
Represents an IAM Instance Profile.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIInstanceProfile.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Methods inherited from interface software.amazon.awscdk.interfaces.iam.IInstanceProfileRef
getInstanceProfileRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceProfileArn
The InstanceProfile's ARN. -
getInstanceProfileName
The InstanceProfile's name. -
getRole
The role associated with the InstanceProfile. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-