Class DataAwsIamRole
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformDataSource
-
- com.hashicorp.cdktf.providers.aws.data_aws_iam_role.DataAwsIamRole
-
- 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:51.855Z") @Stability(Stable) public class DataAwsIamRole extends com.hashicorp.cdktf.TerraformDataSource
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_role aws_iam_role}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataAwsIamRole.BuilderA fluent builder forDataAwsIamRole.-
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 protectedDataAwsIamRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedDataAwsIamRole(software.amazon.jsii.JsiiObjectRef objRef)DataAwsIamRole(software.constructs.Construct scope, String id, DataAwsIamRoleConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_role aws_iam_role} Data Source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArn()StringgetAssumeRolePolicy()StringgetCreateDate()StringgetDescription()StringgetId()StringgetIdInput()NumbergetMaxSessionDuration()StringgetName()StringgetNameInput()StringgetPath()StringgetPermissionsBoundary()DataAwsIamRoleRoleLastUsedListgetRoleLastUsed()Map<String,String>getTags()Map<String,String>getTagsInput()StringgetUniqueId()voidresetId()voidresetTags()voidsetId(String value)voidsetName(String value)voidsetTags(Map<String,String> value)protected Map<String,Object>synthesizeAttributes()-
Methods inherited from class com.hashicorp.cdktf.TerraformDataSource
getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformDataSource, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, 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
-
DataAwsIamRole
protected DataAwsIamRole(software.amazon.jsii.JsiiObjectRef objRef)
-
DataAwsIamRole
protected DataAwsIamRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
DataAwsIamRole
@Stability(Stable) public DataAwsIamRole(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DataAwsIamRoleConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/iam_role aws_iam_role} Data Source.- 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
-
resetId
@Stability(Stable) public void resetId()
-
resetTags
@Stability(Stable) public void resetTags()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformDataSource
-
getArn
@Stability(Stable) @NotNull public String getArn()
-
getAssumeRolePolicy
@Stability(Stable) @NotNull public String getAssumeRolePolicy()
-
getCreateDate
@Stability(Stable) @NotNull public String getCreateDate()
-
getDescription
@Stability(Stable) @NotNull public String getDescription()
-
getMaxSessionDuration
@Stability(Stable) @NotNull public Number getMaxSessionDuration()
-
getPath
@Stability(Stable) @NotNull public String getPath()
-
getPermissionsBoundary
@Stability(Stable) @NotNull public String getPermissionsBoundary()
-
getRoleLastUsed
@Stability(Stable) @NotNull public DataAwsIamRoleRoleLastUsedList getRoleLastUsed()
-
getUniqueId
@Stability(Stable) @NotNull public String getUniqueId()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getNameInput
@Stability(Stable) @Nullable public String getNameInput()
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getName
@Stability(Stable) @NotNull public String getName()
-
setName
@Stability(Stable) public void setName(@NotNull String value)
-
-