Class ServiceAccountKey
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.google.service_account_key.ServiceAccountKey
-
- 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.102.0 (build e354887)", date="2024-08-31T03:59:22.719Z") @Stability(Stable) public class ServiceAccountKey extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key google_service_account_key}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceAccountKey.BuilderA fluent builder forServiceAccountKey.-
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 protectedServiceAccountKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedServiceAccountKey(software.amazon.jsii.JsiiObjectRef objRef)ServiceAccountKey(software.constructs.Construct scope, String id, ServiceAccountKeyConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key google_service_account_key} Resource.
-
Method Summary
-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
addMoveTarget, getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, hasResourceMove, importFrom, importFrom, interpolationForAttribute, isTerraformResource, moveFromId, moveTo, moveTo, moveToId, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toHclTerraform, 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
-
ServiceAccountKey
protected ServiceAccountKey(software.amazon.jsii.JsiiObjectRef objRef)
-
ServiceAccountKey
protected ServiceAccountKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ServiceAccountKey
@Stability(Stable) public ServiceAccountKey(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServiceAccountKeyConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key google_service_account_key} 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
-
generateConfigForImport
@Stability(Stable) @NotNull public static com.hashicorp.cdktf.ImportableResource generateConfigForImport(@NotNull software.constructs.Construct scope, @NotNull String importToId, @NotNull String importFromId, @Nullable com.hashicorp.cdktf.TerraformProvider provider)Generates CDKTF code for importing a ServiceAccountKey resource upon running "cdktf plan". - Parameters:
scope- The scope in which to define this construct. This parameter is required.importToId- The construct id used in the generated config for the ServiceAccountKey to import. This parameter is required.importFromId- The id of the existing ServiceAccountKey that should be imported. This parameter is required.provider- ? Optional instance of the provider where the ServiceAccountKey to import is found.
-
generateConfigForImport
@Stability(Stable) @NotNull public static com.hashicorp.cdktf.ImportableResource generateConfigForImport(@NotNull software.constructs.Construct scope, @NotNull String importToId, @NotNull String importFromId)Generates CDKTF code for importing a ServiceAccountKey resource upon running "cdktf plan". - Parameters:
scope- The scope in which to define this construct. This parameter is required.importToId- The construct id used in the generated config for the ServiceAccountKey to import. This parameter is required.importFromId- The id of the existing ServiceAccountKey that should be imported. This parameter is required.
-
resetId
@Stability(Stable) public void resetId()
-
resetKeepers
@Stability(Stable) public void resetKeepers()
-
resetKeyAlgorithm
@Stability(Stable) public void resetKeyAlgorithm()
-
resetPrivateKeyType
@Stability(Stable) public void resetPrivateKeyType()
-
resetPublicKeyData
@Stability(Stable) public void resetPublicKeyData()
-
resetPublicKeyType
@Stability(Stable) public void resetPublicKeyType()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
synthesizeHclAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeHclAttributes()
- Overrides:
synthesizeHclAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getName
@Stability(Stable) @NotNull public String getName()
-
getPrivateKey
@Stability(Stable) @NotNull public String getPrivateKey()
-
getPublicKey
@Stability(Stable) @NotNull public String getPublicKey()
-
getValidAfter
@Stability(Stable) @NotNull public String getValidAfter()
-
getValidBefore
@Stability(Stable) @NotNull public String getValidBefore()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getKeyAlgorithmInput
@Stability(Stable) @Nullable public String getKeyAlgorithmInput()
-
getPrivateKeyTypeInput
@Stability(Stable) @Nullable public String getPrivateKeyTypeInput()
-
getPublicKeyDataInput
@Stability(Stable) @Nullable public String getPublicKeyDataInput()
-
getPublicKeyTypeInput
@Stability(Stable) @Nullable public String getPublicKeyTypeInput()
-
getServiceAccountIdInput
@Stability(Stable) @Nullable public String getServiceAccountIdInput()
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getKeyAlgorithm
@Stability(Stable) @NotNull public String getKeyAlgorithm()
-
setKeyAlgorithm
@Stability(Stable) public void setKeyAlgorithm(@NotNull String value)
-
getPrivateKeyType
@Stability(Stable) @NotNull public String getPrivateKeyType()
-
setPrivateKeyType
@Stability(Stable) public void setPrivateKeyType(@NotNull String value)
-
getPublicKeyData
@Stability(Stable) @NotNull public String getPublicKeyData()
-
setPublicKeyData
@Stability(Stable) public void setPublicKeyData(@NotNull String value)
-
getPublicKeyType
@Stability(Stable) @NotNull public String getPublicKeyType()
-
setPublicKeyType
@Stability(Stable) public void setPublicKeyType(@NotNull String value)
-
getServiceAccountId
@Stability(Stable) @NotNull public String getServiceAccountId()
-
setServiceAccountId
@Stability(Stable) public void setServiceAccountId(@NotNull String value)
-
-