@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.246Z") @Stability(value=Stable) public class CfnInstanceProfile extends CfnResource implements IInspectable
Modifier and Type | Class and Description |
---|---|
static class |
CfnInstanceProfile.Builder
A fluent builder for
CfnInstanceProfile . |
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnInstanceProfile(software.constructs.Construct scope,
String id,
CfnInstanceProfileProps props)
Create a new `AWS::IAM::InstanceProfile`.
|
protected |
CfnInstanceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnInstanceProfile(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getInstanceProfileName()
`AWS::IAM::InstanceProfile.InstanceProfileName`.
|
String |
getPath()
`AWS::IAM::InstanceProfile.Path`.
|
List<String> |
getRoles()
`AWS::IAM::InstanceProfile.Roles`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setInstanceProfileName(String value)
`AWS::IAM::InstanceProfile.InstanceProfileName`.
|
void |
setPath(String value)
`AWS::IAM::InstanceProfile.Path`.
|
void |
setRoles(List<String> value)
`AWS::IAM::InstanceProfile.Roles`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnInstanceProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInstanceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnInstanceProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnInstanceProfileProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public List<String> getRoles()
@Stability(value=Stable) public void setRoles(@NotNull List<String> value)
@Stability(value=Stable) @Nullable public String getInstanceProfileName()
@Stability(value=Stable) public void setInstanceProfileName(@Nullable String value)
@Stability(value=Stable) @Nullable public String getPath()
@Stability(value=Stable) public void setPath(@Nullable String value)
Copyright © 2021. All rights reserved.