Class IamRole
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.aws.iam_role.IamRole
-
- All Implemented Interfaces:
com.hashicorp.cdktf.IInterpolatingParent,com.hashicorp.cdktf.ITerraformAddressable,com.hashicorp.cdktf.ITerraformDependable,com.hashicorp.cdktf.ITerraformResource,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-30T04:56:53.284Z") @Stability(Stable) public class IamRole extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_role aws_iam_role}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIamRole.BuilderA fluent builder forIamRole.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringTF_RESOURCE_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protectedIamRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedIamRole(software.amazon.jsii.JsiiObjectRef objRef)IamRole(software.constructs.Construct scope, String id, IamRoleConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_role aws_iam_role} Resource.
-
Method Summary
-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
-
Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
TF_RESOURCE_TYPE
@Stability(Stable) public static final String TF_RESOURCE_TYPE
-
-
Constructor Detail
-
IamRole
protected IamRole(software.amazon.jsii.JsiiObjectRef objRef)
-
IamRole
protected IamRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
IamRole
@Stability(Stable) public IamRole(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull IamRoleConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_role aws_iam_role} Resource.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.config- This parameter is required.
-
-
Method Detail
-
putInlinePolicy
@Stability(Stable) public void putInlinePolicy(@NotNull Object value)- Parameters:
value- This parameter is required.
-
resetDescription
@Stability(Stable) public void resetDescription()
-
resetForceDetachPolicies
@Stability(Stable) public void resetForceDetachPolicies()
-
resetId
@Stability(Stable) public void resetId()
-
resetInlinePolicy
@Stability(Stable) public void resetInlinePolicy()
-
resetManagedPolicyArns
@Stability(Stable) public void resetManagedPolicyArns()
-
resetMaxSessionDuration
@Stability(Stable) public void resetMaxSessionDuration()
-
resetName
@Stability(Stable) public void resetName()
-
resetNamePrefix
@Stability(Stable) public void resetNamePrefix()
-
resetPath
@Stability(Stable) public void resetPath()
-
resetPermissionsBoundary
@Stability(Stable) public void resetPermissionsBoundary()
-
resetTags
@Stability(Stable) public void resetTags()
-
resetTagsAll
@Stability(Stable) public void resetTagsAll()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getArn
@Stability(Stable) @NotNull public String getArn()
-
getCreateDate
@Stability(Stable) @NotNull public String getCreateDate()
-
getInlinePolicy
@Stability(Stable) @NotNull public IamRoleInlinePolicyList getInlinePolicy()
-
getUniqueId
@Stability(Stable) @NotNull public String getUniqueId()
-
getAssumeRolePolicyInput
@Stability(Stable) @Nullable public String getAssumeRolePolicyInput()
-
getDescriptionInput
@Stability(Stable) @Nullable public String getDescriptionInput()
-
getForceDetachPoliciesInput
@Stability(Stable) @Nullable public Object getForceDetachPoliciesInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getInlinePolicyInput
@Stability(Stable) @Nullable public Object getInlinePolicyInput()
-
getManagedPolicyArnsInput
@Stability(Stable) @Nullable public List<String> getManagedPolicyArnsInput()
-
getMaxSessionDurationInput
@Stability(Stable) @Nullable public Number getMaxSessionDurationInput()
-
getNameInput
@Stability(Stable) @Nullable public String getNameInput()
-
getNamePrefixInput
@Stability(Stable) @Nullable public String getNamePrefixInput()
-
getPathInput
@Stability(Stable) @Nullable public String getPathInput()
-
getPermissionsBoundaryInput
@Stability(Stable) @Nullable public String getPermissionsBoundaryInput()
-
getAssumeRolePolicy
@Stability(Stable) @NotNull public String getAssumeRolePolicy()
-
setAssumeRolePolicy
@Stability(Stable) public void setAssumeRolePolicy(@NotNull String value)
-
getDescription
@Stability(Stable) @NotNull public String getDescription()
-
setDescription
@Stability(Stable) public void setDescription(@NotNull String value)
-
getForceDetachPolicies
@Stability(Stable) @NotNull public Object getForceDetachPolicies()
-
setForceDetachPolicies
@Stability(Stable) public void setForceDetachPolicies(@NotNull Boolean value)
-
setForceDetachPolicies
@Stability(Stable) public void setForceDetachPolicies(@NotNull com.hashicorp.cdktf.IResolvable value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
setManagedPolicyArns
@Stability(Stable) public void setManagedPolicyArns(@NotNull List<String> value)
-
getMaxSessionDuration
@Stability(Stable) @NotNull public Number getMaxSessionDuration()
-
setMaxSessionDuration
@Stability(Stable) public void setMaxSessionDuration(@NotNull Number value)
-
getName
@Stability(Stable) @NotNull public String getName()
-
setName
@Stability(Stable) public void setName(@NotNull String value)
-
getNamePrefix
@Stability(Stable) @NotNull public String getNamePrefix()
-
setNamePrefix
@Stability(Stable) public void setNamePrefix(@NotNull String value)
-
getPath
@Stability(Stable) @NotNull public String getPath()
-
setPath
@Stability(Stable) public void setPath(@NotNull String value)
-
getPermissionsBoundary
@Stability(Stable) @NotNull public String getPermissionsBoundary()
-
setPermissionsBoundary
@Stability(Stable) public void setPermissionsBoundary(@NotNull String value)
-
-