@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.398Z") @Stability(value=Stable) public class CfnRole extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRole.Builder
A fluent builder for
CfnRole. |
static interface |
CfnRole.PolicyProperty |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.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 |
|---|---|
|
CfnRole(software.constructs.Construct scope,
String id,
CfnRoleProps props)
Create a new `AWS::IAM::Role`.
|
protected |
CfnRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRole(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAssumeRolePolicyDocument()
`AWS::IAM::Role.AssumeRolePolicyDocument`.
|
String |
getAttrArn() |
String |
getAttrRoleId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::IAM::Role.Description`.
|
List<String> |
getManagedPolicyArns()
`AWS::IAM::Role.ManagedPolicyArns`.
|
Number |
getMaxSessionDuration()
`AWS::IAM::Role.MaxSessionDuration`.
|
String |
getPath()
`AWS::IAM::Role.Path`.
|
String |
getPermissionsBoundary()
`AWS::IAM::Role.PermissionsBoundary`.
|
Object |
getPolicies()
`AWS::IAM::Role.Policies`.
|
String |
getRoleName()
`AWS::IAM::Role.RoleName`.
|
TagManager |
getTags()
`AWS::IAM::Role.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAssumeRolePolicyDocument(Object value)
`AWS::IAM::Role.AssumeRolePolicyDocument`.
|
void |
setDescription(String value)
`AWS::IAM::Role.Description`.
|
void |
setManagedPolicyArns(List<String> value)
`AWS::IAM::Role.ManagedPolicyArns`.
|
void |
setMaxSessionDuration(Number value)
`AWS::IAM::Role.MaxSessionDuration`.
|
void |
setPath(String value)
`AWS::IAM::Role.Path`.
|
void |
setPermissionsBoundary(String value)
`AWS::IAM::Role.PermissionsBoundary`.
|
void |
setPolicies(IResolvable value)
`AWS::IAM::Role.Policies`.
|
void |
setPolicies(List<Object> value)
`AWS::IAM::Role.Policies`.
|
void |
setRoleName(String value)
`AWS::IAM::Role.RoleName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRole(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRole(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnRoleProps 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 IInspectableinspector - - 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 CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrRoleId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getAssumeRolePolicyDocument()
@Stability(value=Stable)
public void setAssumeRolePolicyDocument(@NotNull
Object value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getManagedPolicyArns()
@Stability(value=Stable)
public void setManagedPolicyArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Number getMaxSessionDuration()
@Stability(value=Stable)
public void setMaxSessionDuration(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getPath()
@Stability(value=Stable)
public void setPath(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPermissionsBoundary()
@Stability(value=Stable)
public void setPermissionsBoundary(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPolicies()
@Stability(value=Stable)
public void setPolicies(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setPolicies(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getRoleName()
@Stability(value=Stable)
public void setRoleName(@Nullable
String value)
Copyright © 2021. All rights reserved.