Skip to content

Latest commit

 

History

History
3118 lines (1942 loc) · 149 KB

storageBucketObject.java.md

File metadata and controls

3118 lines (1942 loc) · 149 KB

storageBucketObject Submodule

Constructs

StorageBucketObject

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object google_storage_bucket_object}.

Initializers

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObject;

StorageBucketObject.Builder.create(Construct scope, java.lang.String id)
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .bucket(java.lang.String)
    .name(java.lang.String)
//  .cacheControl(java.lang.String)
//  .content(java.lang.String)
//  .contentDisposition(java.lang.String)
//  .contentEncoding(java.lang.String)
//  .contentLanguage(java.lang.String)
//  .contentType(java.lang.String)
//  .customerEncryption(StorageBucketObjectCustomerEncryption)
//  .detectMd5Hash(java.lang.String)
//  .eventBasedHold(java.lang.Boolean)
//  .eventBasedHold(IResolvable)
//  .id(java.lang.String)
//  .kmsKeyName(java.lang.String)
//  .metadata(java.util.Map<java.lang.String, java.lang.String>)
//  .retention(StorageBucketObjectRetention)
//  .source(java.lang.String)
//  .storageClass(java.lang.String)
//  .temporaryHold(java.lang.Boolean)
//  .temporaryHold(IResolvable)
//  .timeouts(StorageBucketObjectTimeouts)
    .build();
Name Type Description
scope software.constructs.Construct The scope in which to define this construct.
id java.lang.String The scoped construct ID.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
bucket java.lang.String The name of the containing bucket.
name java.lang.String The name of the object. If you're interpolating the name of this object, see output_name instead.
cacheControl java.lang.String Cache-Control directive to specify caching behavior of object data.
content java.lang.String Data as string to be uploaded.
contentDisposition java.lang.String Content-Disposition of the object data.
contentEncoding java.lang.String Content-Encoding of the object data.
contentLanguage java.lang.String Content-Language of the object data.
contentType java.lang.String Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
customerEncryption StorageBucketObjectCustomerEncryption customer_encryption block.
detectMd5Hash java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#detect_md5hash StorageBucketObject#detect_md5hash}.
eventBasedHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Whether an object is under event-based hold.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#id StorageBucketObject#id}.
kmsKeyName java.lang.String Resource name of the Cloud KMS key that will be used to encrypt the object.
metadata java.util.Map<java.lang.String, java.lang.String> User-provided metadata, in key/value pairs.
retention StorageBucketObjectRetention retention block.
source java.lang.String A path to the data you want to upload. Must be defined if content is not.
storageClass java.lang.String The StorageClass of the new bucket object.
temporaryHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Whether an object is under temporary hold.
timeouts StorageBucketObjectTimeouts timeouts block.

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: java.lang.String

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

bucketRequired
  • Type: java.lang.String

The name of the containing bucket.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#bucket StorageBucketObject#bucket}


nameRequired
  • Type: java.lang.String

The name of the object. If you're interpolating the name of this object, see output_name instead.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#name StorageBucketObject#name}


cacheControlOptional
  • Type: java.lang.String

Cache-Control directive to specify caching behavior of object data.

If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#cache_control StorageBucketObject#cache_control}


contentOptional
  • Type: java.lang.String

Data as string to be uploaded.

Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content StorageBucketObject#content}


contentDispositionOptional
  • Type: java.lang.String

Content-Disposition of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_disposition StorageBucketObject#content_disposition}


contentEncodingOptional
  • Type: java.lang.String

Content-Encoding of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_encoding StorageBucketObject#content_encoding}


contentLanguageOptional
  • Type: java.lang.String

Content-Language of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_language StorageBucketObject#content_language}


contentTypeOptional
  • Type: java.lang.String

Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_type StorageBucketObject#content_type}


customerEncryptionOptional

customer_encryption block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#customer_encryption StorageBucketObject#customer_encryption}


detectMd5HashOptional
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#detect_md5hash StorageBucketObject#detect_md5hash}.


eventBasedHoldOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Whether an object is under event-based hold.

Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#event_based_hold StorageBucketObject#event_based_hold}


idOptional
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#id StorageBucketObject#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


kmsKeyNameOptional
  • Type: java.lang.String

Resource name of the Cloud KMS key that will be used to encrypt the object.

Overrides the object metadata's kmsKeyName value, if any.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#kms_key_name StorageBucketObject#kms_key_name}


metadataOptional
  • Type: java.util.Map<java.lang.String, java.lang.String>

User-provided metadata, in key/value pairs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#metadata StorageBucketObject#metadata}


retentionOptional

retention block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#retention StorageBucketObject#retention}


sourceOptional
  • Type: java.lang.String

A path to the data you want to upload. Must be defined if content is not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#source StorageBucketObject#source}


storageClassOptional
  • Type: java.lang.String

The StorageClass of the new bucket object.

Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#storage_class StorageBucketObject#storage_class}


temporaryHoldOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Whether an object is under temporary hold.

While this flag is set to true, the object is protected against deletion and overwrites.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#temporary_hold StorageBucketObject#temporary_hold}


timeoutsOptional

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#timeouts StorageBucketObject#timeouts}


Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putCustomerEncryption No description.
putRetention No description.
putTimeouts No description.
resetCacheControl No description.
resetContent No description.
resetContentDisposition No description.
resetContentEncoding No description.
resetContentLanguage No description.
resetContentType No description.
resetCustomerEncryption No description.
resetDetectMd5Hash No description.
resetEventBasedHold No description.
resetId No description.
resetKmsKeyName No description.
resetMetadata No description.
resetRetention No description.
resetSource No description.
resetStorageClass No description.
resetTemporaryHold No description.
resetTimeouts No description.

toString
public java.lang.String toString()

Returns a string representation of this construct.

addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
  • Type: java.lang.String

valueRequired
  • Type: java.lang.Object

overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: java.lang.String

The new logical ID to use for this stack element.


resetOverrideLogicalId
public void resetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public java.lang.Object toHclTerraform()
toMetadata
public java.lang.Object toMetadata()
toTerraform
public java.lang.Object toTerraform()

Adds this resource to the terraform JSON output.

addMoveTarget
public void addMoveTarget(java.lang.String moveTarget)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: java.lang.String

The string move target that will correspond to this resource.


getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

hasResourceMove
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
importFrom
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
idRequired
  • Type: java.lang.String

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

moveFromId
public void moveFromId(java.lang.String id)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: java.lang.String

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public void moveTo(java.lang.String moveTarget)
public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index)

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: java.lang.String

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: java.lang.String OR java.lang.Number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public void moveToId(java.lang.String id)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: java.lang.String

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putCustomerEncryption
public void putCustomerEncryption(StorageBucketObjectCustomerEncryption value)
valueRequired

putRetention
public void putRetention(StorageBucketObjectRetention value)
valueRequired

putTimeouts
public void putTimeouts(StorageBucketObjectTimeouts value)
valueRequired

resetCacheControl
public void resetCacheControl()
resetContent
public void resetContent()
resetContentDisposition
public void resetContentDisposition()
resetContentEncoding
public void resetContentEncoding()
resetContentLanguage
public void resetContentLanguage()
resetContentType
public void resetContentType()
resetCustomerEncryption
public void resetCustomerEncryption()
resetDetectMd5Hash
public void resetDetectMd5Hash()
resetEventBasedHold
public void resetEventBasedHold()
resetId
public void resetId()
resetKmsKeyName
public void resetKmsKeyName()
resetMetadata
public void resetMetadata()
resetRetention
public void resetRetention()
resetSource
public void resetSource()
resetStorageClass
public void resetStorageClass()
resetTemporaryHold
public void resetTemporaryHold()
resetTimeouts
public void resetTimeouts()

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a StorageBucketObject resource upon running "cdktf plan ".

isConstruct
import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObject;

StorageBucketObject.isConstruct(java.lang.Object x)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: java.lang.Object

Any object.


isTerraformElement
import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObject;

StorageBucketObject.isTerraformElement(java.lang.Object x)
xRequired
  • Type: java.lang.Object

isTerraformResource
import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObject;

StorageBucketObject.isTerraformResource(java.lang.Object x)
xRequired
  • Type: java.lang.Object

generateConfigForImport
import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObject;

StorageBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),StorageBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)

Generates CDKTF code for importing a StorageBucketObject resource upon running "cdktf plan ".

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: java.lang.String

The construct id used in the generated config for the StorageBucketObject to import.


importFromIdRequired
  • Type: java.lang.String

The id of the existing StorageBucketObject that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

? Optional instance of the provider where the StorageBucketObject to import is found.


Properties

Name Type Description
node software.constructs.Node The tree node.
cdktfStack com.hashicorp.cdktf.TerraformStack No description.
fqn java.lang.String No description.
friendlyUniqueId java.lang.String No description.
terraformMetaArguments java.util.Map<java.lang.String, java.lang.Object> No description.
terraformResourceType java.lang.String No description.
terraformGeneratorMetadata com.hashicorp.cdktf.TerraformProviderGeneratorMetadata No description.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<java.lang.String> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
crc32C java.lang.String No description.
customerEncryption StorageBucketObjectCustomerEncryptionOutputReference No description.
generation java.lang.Number No description.
md5Hash java.lang.String No description.
mediaLink java.lang.String No description.
outputName java.lang.String No description.
retention StorageBucketObjectRetentionOutputReference No description.
selfLink java.lang.String No description.
timeouts StorageBucketObjectTimeoutsOutputReference No description.
bucketInput java.lang.String No description.
cacheControlInput java.lang.String No description.
contentDispositionInput java.lang.String No description.
contentEncodingInput java.lang.String No description.
contentInput java.lang.String No description.
contentLanguageInput java.lang.String No description.
contentTypeInput java.lang.String No description.
customerEncryptionInput StorageBucketObjectCustomerEncryption No description.
detectMd5HashInput java.lang.String No description.
eventBasedHoldInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
idInput java.lang.String No description.
kmsKeyNameInput java.lang.String No description.
metadataInput java.util.Map<java.lang.String, java.lang.String> No description.
nameInput java.lang.String No description.
retentionInput StorageBucketObjectRetention No description.
sourceInput java.lang.String No description.
storageClassInput java.lang.String No description.
temporaryHoldInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
timeoutsInput com.hashicorp.cdktf.IResolvable OR StorageBucketObjectTimeouts No description.
bucket java.lang.String No description.
cacheControl java.lang.String No description.
content java.lang.String No description.
contentDisposition java.lang.String No description.
contentEncoding java.lang.String No description.
contentLanguage java.lang.String No description.
contentType java.lang.String No description.
detectMd5Hash java.lang.String No description.
eventBasedHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
id java.lang.String No description.
kmsKeyName java.lang.String No description.
metadata java.util.Map<java.lang.String, java.lang.String> No description.
name java.lang.String No description.
source java.lang.String No description.
storageClass java.lang.String No description.
temporaryHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.

nodeRequired
public Node getNode();
  • Type: software.constructs.Node

The tree node.


cdktfStackRequired
public TerraformStack getCdktfStack();
  • Type: com.hashicorp.cdktf.TerraformStack

fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
  • Type: java.lang.String

terraformMetaArgumentsRequired
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
  • Type: java.util.Map<java.lang.String, java.lang.Object>

terraformResourceTypeRequired
public java.lang.String getTerraformResourceType();
  • Type: java.lang.String

terraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
  • Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<java.lang.String> getDependsOn();
  • Type: java.util.List<java.lang.String>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

crc32CRequired
public java.lang.String getCrc32C();
  • Type: java.lang.String

customerEncryptionRequired
public StorageBucketObjectCustomerEncryptionOutputReference getCustomerEncryption();

generationRequired
public java.lang.Number getGeneration();
  • Type: java.lang.Number

md5HashRequired
public java.lang.String getMd5Hash();
  • Type: java.lang.String

mediaLinkRequired
public java.lang.String getMediaLink();
  • Type: java.lang.String

outputNameRequired
public java.lang.String getOutputName();
  • Type: java.lang.String

retentionRequired
public StorageBucketObjectRetentionOutputReference getRetention();

selfLinkRequired
public java.lang.String getSelfLink();
  • Type: java.lang.String

timeoutsRequired
public StorageBucketObjectTimeoutsOutputReference getTimeouts();

bucketInputOptional
public java.lang.String getBucketInput();
  • Type: java.lang.String

cacheControlInputOptional
public java.lang.String getCacheControlInput();
  • Type: java.lang.String

contentDispositionInputOptional
public java.lang.String getContentDispositionInput();
  • Type: java.lang.String

contentEncodingInputOptional
public java.lang.String getContentEncodingInput();
  • Type: java.lang.String

contentInputOptional
public java.lang.String getContentInput();
  • Type: java.lang.String

contentLanguageInputOptional
public java.lang.String getContentLanguageInput();
  • Type: java.lang.String

contentTypeInputOptional
public java.lang.String getContentTypeInput();
  • Type: java.lang.String

customerEncryptionInputOptional
public StorageBucketObjectCustomerEncryption getCustomerEncryptionInput();

detectMd5HashInputOptional
public java.lang.String getDetectMd5HashInput();
  • Type: java.lang.String

eventBasedHoldInputOptional
public java.lang.Object getEventBasedHoldInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

idInputOptional
public java.lang.String getIdInput();
  • Type: java.lang.String

kmsKeyNameInputOptional
public java.lang.String getKmsKeyNameInput();
  • Type: java.lang.String

metadataInputOptional
public java.util.Map<java.lang.String, java.lang.String> getMetadataInput();
  • Type: java.util.Map<java.lang.String, java.lang.String>

nameInputOptional
public java.lang.String getNameInput();
  • Type: java.lang.String

retentionInputOptional
public StorageBucketObjectRetention getRetentionInput();

sourceInputOptional
public java.lang.String getSourceInput();
  • Type: java.lang.String

storageClassInputOptional
public java.lang.String getStorageClassInput();
  • Type: java.lang.String

temporaryHoldInputOptional
public java.lang.Object getTemporaryHoldInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

timeoutsInputOptional
public java.lang.Object getTimeoutsInput();

bucketRequired
public java.lang.String getBucket();
  • Type: java.lang.String

cacheControlRequired
public java.lang.String getCacheControl();
  • Type: java.lang.String

contentRequired
public java.lang.String getContent();
  • Type: java.lang.String

contentDispositionRequired
public java.lang.String getContentDisposition();
  • Type: java.lang.String

contentEncodingRequired
public java.lang.String getContentEncoding();
  • Type: java.lang.String

contentLanguageRequired
public java.lang.String getContentLanguage();
  • Type: java.lang.String

contentTypeRequired
public java.lang.String getContentType();
  • Type: java.lang.String

detectMd5HashRequired
public java.lang.String getDetectMd5Hash();
  • Type: java.lang.String

eventBasedHoldRequired
public java.lang.Object getEventBasedHold();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

idRequired
public java.lang.String getId();
  • Type: java.lang.String

kmsKeyNameRequired
public java.lang.String getKmsKeyName();
  • Type: java.lang.String

metadataRequired
public java.util.Map<java.lang.String, java.lang.String> getMetadata();
  • Type: java.util.Map<java.lang.String, java.lang.String>

nameRequired
public java.lang.String getName();
  • Type: java.lang.String

sourceRequired
public java.lang.String getSource();
  • Type: java.lang.String

storageClassRequired
public java.lang.String getStorageClass();
  • Type: java.lang.String

temporaryHoldRequired
public java.lang.Object getTemporaryHold();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Constants

Name Type Description
tfResourceType java.lang.String No description.

tfResourceTypeRequired
public java.lang.String getTfResourceType();
  • Type: java.lang.String

Structs

StorageBucketObjectConfig

Initializer

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectConfig;

StorageBucketObjectConfig.builder()
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .bucket(java.lang.String)
    .name(java.lang.String)
//  .cacheControl(java.lang.String)
//  .content(java.lang.String)
//  .contentDisposition(java.lang.String)
//  .contentEncoding(java.lang.String)
//  .contentLanguage(java.lang.String)
//  .contentType(java.lang.String)
//  .customerEncryption(StorageBucketObjectCustomerEncryption)
//  .detectMd5Hash(java.lang.String)
//  .eventBasedHold(java.lang.Boolean)
//  .eventBasedHold(IResolvable)
//  .id(java.lang.String)
//  .kmsKeyName(java.lang.String)
//  .metadata(java.util.Map<java.lang.String, java.lang.String>)
//  .retention(StorageBucketObjectRetention)
//  .source(java.lang.String)
//  .storageClass(java.lang.String)
//  .temporaryHold(java.lang.Boolean)
//  .temporaryHold(IResolvable)
//  .timeouts(StorageBucketObjectTimeouts)
    .build();

Properties

Name Type Description
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
bucket java.lang.String The name of the containing bucket.
name java.lang.String The name of the object. If you're interpolating the name of this object, see output_name instead.
cacheControl java.lang.String Cache-Control directive to specify caching behavior of object data.
content java.lang.String Data as string to be uploaded.
contentDisposition java.lang.String Content-Disposition of the object data.
contentEncoding java.lang.String Content-Encoding of the object data.
contentLanguage java.lang.String Content-Language of the object data.
contentType java.lang.String Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
customerEncryption StorageBucketObjectCustomerEncryption customer_encryption block.
detectMd5Hash java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#detect_md5hash StorageBucketObject#detect_md5hash}.
eventBasedHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Whether an object is under event-based hold.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#id StorageBucketObject#id}.
kmsKeyName java.lang.String Resource name of the Cloud KMS key that will be used to encrypt the object.
metadata java.util.Map<java.lang.String, java.lang.String> User-provided metadata, in key/value pairs.
retention StorageBucketObjectRetention retention block.
source java.lang.String A path to the data you want to upload. Must be defined if content is not.
storageClass java.lang.String The StorageClass of the new bucket object.
temporaryHold java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Whether an object is under temporary hold.
timeouts StorageBucketObjectTimeouts timeouts block.

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

bucketRequired
public java.lang.String getBucket();
  • Type: java.lang.String

The name of the containing bucket.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#bucket StorageBucketObject#bucket}


nameRequired
public java.lang.String getName();
  • Type: java.lang.String

The name of the object. If you're interpolating the name of this object, see output_name instead.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#name StorageBucketObject#name}


cacheControlOptional
public java.lang.String getCacheControl();
  • Type: java.lang.String

Cache-Control directive to specify caching behavior of object data.

If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#cache_control StorageBucketObject#cache_control}


contentOptional
public java.lang.String getContent();
  • Type: java.lang.String

Data as string to be uploaded.

Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content StorageBucketObject#content}


contentDispositionOptional
public java.lang.String getContentDisposition();
  • Type: java.lang.String

Content-Disposition of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_disposition StorageBucketObject#content_disposition}


contentEncodingOptional
public java.lang.String getContentEncoding();
  • Type: java.lang.String

Content-Encoding of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_encoding StorageBucketObject#content_encoding}


contentLanguageOptional
public java.lang.String getContentLanguage();
  • Type: java.lang.String

Content-Language of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_language StorageBucketObject#content_language}


contentTypeOptional
public java.lang.String getContentType();
  • Type: java.lang.String

Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#content_type StorageBucketObject#content_type}


customerEncryptionOptional
public StorageBucketObjectCustomerEncryption getCustomerEncryption();

customer_encryption block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#customer_encryption StorageBucketObject#customer_encryption}


detectMd5HashOptional
public java.lang.String getDetectMd5Hash();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#detect_md5hash StorageBucketObject#detect_md5hash}.


eventBasedHoldOptional
public java.lang.Object getEventBasedHold();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Whether an object is under event-based hold.

Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#event_based_hold StorageBucketObject#event_based_hold}


idOptional
public java.lang.String getId();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#id StorageBucketObject#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


kmsKeyNameOptional
public java.lang.String getKmsKeyName();
  • Type: java.lang.String

Resource name of the Cloud KMS key that will be used to encrypt the object.

Overrides the object metadata's kmsKeyName value, if any.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#kms_key_name StorageBucketObject#kms_key_name}


metadataOptional
public java.util.Map<java.lang.String, java.lang.String> getMetadata();
  • Type: java.util.Map<java.lang.String, java.lang.String>

User-provided metadata, in key/value pairs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#metadata StorageBucketObject#metadata}


retentionOptional
public StorageBucketObjectRetention getRetention();

retention block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#retention StorageBucketObject#retention}


sourceOptional
public java.lang.String getSource();
  • Type: java.lang.String

A path to the data you want to upload. Must be defined if content is not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#source StorageBucketObject#source}


storageClassOptional
public java.lang.String getStorageClass();
  • Type: java.lang.String

The StorageClass of the new bucket object.

Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#storage_class StorageBucketObject#storage_class}


temporaryHoldOptional
public java.lang.Object getTemporaryHold();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Whether an object is under temporary hold.

While this flag is set to true, the object is protected against deletion and overwrites.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#temporary_hold StorageBucketObject#temporary_hold}


timeoutsOptional
public StorageBucketObjectTimeouts getTimeouts();

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#timeouts StorageBucketObject#timeouts}


StorageBucketObjectCustomerEncryption

Initializer

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectCustomerEncryption;

StorageBucketObjectCustomerEncryption.builder()
    .encryptionKey(java.lang.String)
//  .encryptionAlgorithm(java.lang.String)
    .build();

Properties

Name Type Description
encryptionKey java.lang.String Base64 encoded customer supplied encryption key.
encryptionAlgorithm java.lang.String The encryption algorithm. Default: AES256.

encryptionKeyRequired
public java.lang.String getEncryptionKey();
  • Type: java.lang.String

Base64 encoded customer supplied encryption key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#encryption_key StorageBucketObject#encryption_key}


encryptionAlgorithmOptional
public java.lang.String getEncryptionAlgorithm();
  • Type: java.lang.String

The encryption algorithm. Default: AES256.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#encryption_algorithm StorageBucketObject#encryption_algorithm}


StorageBucketObjectRetention

Initializer

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectRetention;

StorageBucketObjectRetention.builder()
    .mode(java.lang.String)
    .retainUntilTime(java.lang.String)
    .build();

Properties

Name Type Description
mode java.lang.String The object retention mode. Supported values include: "Unlocked", "Locked".
retainUntilTime java.lang.String Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.

modeRequired
public java.lang.String getMode();
  • Type: java.lang.String

The object retention mode. Supported values include: "Unlocked", "Locked".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#mode StorageBucketObject#mode}


retainUntilTimeRequired
public java.lang.String getRetainUntilTime();
  • Type: java.lang.String

Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#retain_until_time StorageBucketObject#retain_until_time}


StorageBucketObjectTimeouts

Initializer

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectTimeouts;

StorageBucketObjectTimeouts.builder()
//  .create(java.lang.String)
//  .delete(java.lang.String)
//  .update(java.lang.String)
    .build();

Properties

Name Type Description
create java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#create StorageBucketObject#create}.
delete java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#delete StorageBucketObject#delete}.
update java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#update StorageBucketObject#update}.

createOptional
public java.lang.String getCreate();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#create StorageBucketObject#create}.


deleteOptional
public java.lang.String getDelete();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#delete StorageBucketObject#delete}.


updateOptional
public java.lang.String getUpdate();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/storage_bucket_object#update StorageBucketObject#update}.


Classes

StorageBucketObjectCustomerEncryptionOutputReference

Initializers

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectCustomerEncryptionOutputReference;

new StorageBucketObjectCustomerEncryptionOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetEncryptionAlgorithm No description.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetEncryptionAlgorithm
public void resetEncryptionAlgorithm()

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
encryptionAlgorithmInput java.lang.String No description.
encryptionKeyInput java.lang.String No description.
encryptionAlgorithm java.lang.String No description.
encryptionKey java.lang.String No description.
internalValue StorageBucketObjectCustomerEncryption No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

encryptionAlgorithmInputOptional
public java.lang.String getEncryptionAlgorithmInput();
  • Type: java.lang.String

encryptionKeyInputOptional
public java.lang.String getEncryptionKeyInput();
  • Type: java.lang.String

encryptionAlgorithmRequired
public java.lang.String getEncryptionAlgorithm();
  • Type: java.lang.String

encryptionKeyRequired
public java.lang.String getEncryptionKey();
  • Type: java.lang.String

internalValueOptional
public StorageBucketObjectCustomerEncryption getInternalValue();

StorageBucketObjectRetentionOutputReference

Initializers

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectRetentionOutputReference;

new StorageBucketObjectRetentionOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
modeInput java.lang.String No description.
retainUntilTimeInput java.lang.String No description.
mode java.lang.String No description.
retainUntilTime java.lang.String No description.
internalValue StorageBucketObjectRetention No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

modeInputOptional
public java.lang.String getModeInput();
  • Type: java.lang.String

retainUntilTimeInputOptional
public java.lang.String getRetainUntilTimeInput();
  • Type: java.lang.String

modeRequired
public java.lang.String getMode();
  • Type: java.lang.String

retainUntilTimeRequired
public java.lang.String getRetainUntilTime();
  • Type: java.lang.String

internalValueOptional
public StorageBucketObjectRetention getInternalValue();

StorageBucketObjectTimeoutsOutputReference

Initializers

import com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectTimeoutsOutputReference;

new StorageBucketObjectTimeoutsOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetCreate No description.
resetDelete No description.
resetUpdate No description.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public void resetCreate()
resetDelete
public void resetDelete()
resetUpdate
public void resetUpdate()

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
createInput java.lang.String No description.
deleteInput java.lang.String No description.
updateInput java.lang.String No description.
create java.lang.String No description.
delete java.lang.String No description.
update java.lang.String No description.
internalValue com.hashicorp.cdktf.IResolvable OR StorageBucketObjectTimeouts No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.String>

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

createInputOptional
public java.lang.String getCreateInput();
  • Type: java.lang.String

deleteInputOptional
public java.lang.String getDeleteInput();
  • Type: java.lang.String

updateInputOptional
public java.lang.String getUpdateInput();
  • Type: java.lang.String

createRequired
public java.lang.String getCreate();
  • Type: java.lang.String

deleteRequired
public java.lang.String getDelete();
  • Type: java.lang.String

updateRequired
public java.lang.String getUpdate();
  • Type: java.lang.String

internalValueOptional
public java.lang.Object getInternalValue();