Class DataAwsCallerIdentity

  • 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.446Z")
    @Stability(Stable)
    public class DataAwsCallerIdentity
    extends com.hashicorp.cdktf.TerraformDataSource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/caller_identity aws_caller_identity}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DataAwsCallerIdentity.Builder
      A fluent builder for DataAwsCallerIdentity.
      • 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
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformDependable

        com.hashicorp.cdktf.ITerraformDependable.Jsii$Default, com.hashicorp.cdktf.ITerraformDependable.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformResource

        com.hashicorp.cdktf.ITerraformResource.Jsii$Default, com.hashicorp.cdktf.ITerraformResource.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DataAwsCallerIdentity​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected DataAwsCallerIdentity​(software.amazon.jsii.JsiiObjectRef objRef)  
        DataAwsCallerIdentity​(software.constructs.Construct scope, String id)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/caller_identity aws_caller_identity} Data Source.
        DataAwsCallerIdentity​(software.constructs.Construct scope, String id, DataAwsCallerIdentityConfig config)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/caller_identity aws_caller_identity} Data Source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getAccountId()  
      String getArn()  
      String getId()  
      String getIdInput()  
      String getUserId()  
      void resetId()  
      void setId​(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.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformAddressable

        getFqn
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformResource

        getFqn, getFriendlyUniqueId
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • DataAwsCallerIdentity

        protected DataAwsCallerIdentity​(software.amazon.jsii.JsiiObjectRef objRef)
      • DataAwsCallerIdentity

        protected DataAwsCallerIdentity​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • DataAwsCallerIdentity

        @Stability(Stable)
        public DataAwsCallerIdentity​(@NotNull
                                     software.constructs.Construct scope,
                                     @NotNull
                                     String id,
                                     @Nullable
                                     DataAwsCallerIdentityConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/caller_identity aws_caller_identity} 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 -
      • DataAwsCallerIdentity

        @Stability(Stable)
        public DataAwsCallerIdentity​(@NotNull
                                     software.constructs.Construct scope,
                                     @NotNull
                                     String id)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/caller_identity aws_caller_identity} 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.
    • Method Detail

      • resetId

        @Stability(Stable)
        public void resetId()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformDataSource
      • getAccountId

        @Stability(Stable)
        @NotNull
        public String getAccountId()
      • getArn

        @Stability(Stable)
        @NotNull
        public String getArn()
      • getUserId

        @Stability(Stable)
        @NotNull
        public String getUserId()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)