Skip to content

Latest commit

 

History

History
2804 lines (1750 loc) · 133 KB

googleStorageBucketObject.csharp.md

File metadata and controls

2804 lines (1750 loc) · 133 KB

googleStorageBucketObject Submodule

Constructs

GoogleStorageBucketObject

Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object google_storage_bucket_object}.

Initializers

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObject(Construct Scope, string Id, GoogleStorageBucketObjectConfig Config);
Name Type Description
Scope Constructs.Construct The scope in which to define this construct.
Id string The scoped construct ID.
Config GoogleStorageBucketObjectConfig No description.

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


IdRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


ConfigRequired

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
private string ToString()

Returns a string representation of this construct.

AddOverride
private void AddOverride(string Path, object Value)
PathRequired
  • Type: string

ValueRequired
  • Type: object

OverrideLogicalId
private void OverrideLogicalId(string NewLogicalId)

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

NewLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
private void ResetOverrideLogicalId()

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

ToHclTerraform
private object ToHclTerraform()
ToMetadata
private object ToMetadata()
ToTerraform
private object ToTerraform()

Adds this resource to the terraform JSON output.

AddMoveTarget
private void AddMoveTarget(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: string

The string move target that will correspond to this resource.


GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

HasResourceMove
private object HasResourceMove()
ImportFrom
private void ImportFrom(string Id, TerraformProvider Provider = null)
IdRequired
  • Type: string

ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

MoveFromId
private void MoveFromId(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: string

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


MoveTo
private void MoveTo(string MoveTarget, object Index = null)

Moves this resource to the target resource given by moveTarget.

MoveTargetRequired
  • Type: string

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


IndexOptional
  • Type: object

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


MoveToId
private void MoveToId(string Id)

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

IdRequired
  • Type: string

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


PutCustomerEncryption
private void PutCustomerEncryption(GoogleStorageBucketObjectCustomerEncryption Value)
ValueRequired

PutRetention
private void PutRetention(GoogleStorageBucketObjectRetention Value)
ValueRequired

PutTimeouts
private void PutTimeouts(GoogleStorageBucketObjectTimeouts Value)
ValueRequired

ResetCacheControl
private void ResetCacheControl()
ResetContent
private void ResetContent()
ResetContentDisposition
private void ResetContentDisposition()
ResetContentEncoding
private void ResetContentEncoding()
ResetContentLanguage
private void ResetContentLanguage()
ResetContentType
private void ResetContentType()
ResetCustomerEncryption
private void ResetCustomerEncryption()
ResetDetectMd5Hash
private void ResetDetectMd5Hash()
ResetEventBasedHold
private void ResetEventBasedHold()
ResetId
private void ResetId()
ResetKmsKeyName
private void ResetKmsKeyName()
ResetMetadata
private void ResetMetadata()
ResetRetention
private void ResetRetention()
ResetSource
private void ResetSource()
ResetStorageClass
private void ResetStorageClass()
ResetTemporaryHold
private void ResetTemporaryHold()
ResetTimeouts
private 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 GoogleStorageBucketObject resource upon running "cdktf plan ".

IsConstruct
using HashiCorp.Cdktf.Providers.GoogleBeta;

GoogleStorageBucketObject.IsConstruct(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: object

Any object.


IsTerraformElement
using HashiCorp.Cdktf.Providers.GoogleBeta;

GoogleStorageBucketObject.IsTerraformElement(object X);
XRequired
  • Type: object

IsTerraformResource
using HashiCorp.Cdktf.Providers.GoogleBeta;

GoogleStorageBucketObject.IsTerraformResource(object X);
XRequired
  • Type: object

GenerateConfigForImport
using HashiCorp.Cdktf.Providers.GoogleBeta;

GoogleStorageBucketObject.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);

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

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


ImportToIdRequired
  • Type: string

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


ImportFromIdRequired
  • Type: string

The id of the existing GoogleStorageBucketObject that should be imported.

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


ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

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


Properties

Name Type Description
Node Constructs.Node The tree node.
CdktfStack HashiCorp.Cdktf.TerraformStack No description.
Fqn string No description.
FriendlyUniqueId string No description.
TerraformMetaArguments System.Collections.Generic.IDictionary<string, object> No description.
TerraformResourceType string No description.
TerraformGeneratorMetadata HashiCorp.Cdktf.TerraformProviderGeneratorMetadata No description.
Connection object No description.
Count object No description.
DependsOn string[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
Crc32C string No description.
CustomerEncryption GoogleStorageBucketObjectCustomerEncryptionOutputReference No description.
Md5Hash string No description.
MediaLink string No description.
OutputName string No description.
Retention GoogleStorageBucketObjectRetentionOutputReference No description.
SelfLink string No description.
Timeouts GoogleStorageBucketObjectTimeoutsOutputReference No description.
BucketInput string No description.
CacheControlInput string No description.
ContentDispositionInput string No description.
ContentEncodingInput string No description.
ContentInput string No description.
ContentLanguageInput string No description.
ContentTypeInput string No description.
CustomerEncryptionInput GoogleStorageBucketObjectCustomerEncryption No description.
DetectMd5HashInput string No description.
EventBasedHoldInput object No description.
IdInput string No description.
KmsKeyNameInput string No description.
MetadataInput System.Collections.Generic.IDictionary<string, string> No description.
NameInput string No description.
RetentionInput GoogleStorageBucketObjectRetention No description.
SourceInput string No description.
StorageClassInput string No description.
TemporaryHoldInput object No description.
TimeoutsInput object No description.
Bucket string No description.
CacheControl string No description.
Content string No description.
ContentDisposition string No description.
ContentEncoding string No description.
ContentLanguage string No description.
ContentType string No description.
DetectMd5Hash string No description.
EventBasedHold object No description.
Id string No description.
KmsKeyName string No description.
Metadata System.Collections.Generic.IDictionary<string, string> No description.
Name string No description.
Source string No description.
StorageClass string No description.
TemporaryHold object No description.

NodeRequired
public Node Node { get; }
  • Type: Constructs.Node

The tree node.


CdktfStackRequired
public TerraformStack CdktfStack { get; }
  • Type: HashiCorp.Cdktf.TerraformStack

FqnRequired
public string Fqn { get; }
  • Type: string

FriendlyUniqueIdRequired
public string FriendlyUniqueId { get; }
  • Type: string

TerraformMetaArgumentsRequired
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
  • Type: System.Collections.Generic.IDictionary<string, object>

TerraformResourceTypeRequired
public string TerraformResourceType { get; }
  • Type: string

TerraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
  • Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
public object Connection { get; }
  • Type: object

CountOptional
public object Count { get; }
  • Type: object

DependsOnOptional
public string[] DependsOn { get; }
  • Type: string[]

ForEachOptional
public ITerraformIterator ForEach { get; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; }
  • Type: object[]

Crc32CRequired
public string Crc32C { get; }
  • Type: string

CustomerEncryptionRequired
public GoogleStorageBucketObjectCustomerEncryptionOutputReference CustomerEncryption { get; }

Md5HashRequired
public string Md5Hash { get; }
  • Type: string

MediaLinkRequired
public string MediaLink { get; }
  • Type: string

OutputNameRequired
public string OutputName { get; }
  • Type: string

RetentionRequired
public GoogleStorageBucketObjectRetentionOutputReference Retention { get; }

SelfLinkRequired
public string SelfLink { get; }
  • Type: string

TimeoutsRequired
public GoogleStorageBucketObjectTimeoutsOutputReference Timeouts { get; }

BucketInputOptional
public string BucketInput { get; }
  • Type: string

CacheControlInputOptional
public string CacheControlInput { get; }
  • Type: string

ContentDispositionInputOptional
public string ContentDispositionInput { get; }
  • Type: string

ContentEncodingInputOptional
public string ContentEncodingInput { get; }
  • Type: string

ContentInputOptional
public string ContentInput { get; }
  • Type: string

ContentLanguageInputOptional
public string ContentLanguageInput { get; }
  • Type: string

ContentTypeInputOptional
public string ContentTypeInput { get; }
  • Type: string

CustomerEncryptionInputOptional
public GoogleStorageBucketObjectCustomerEncryption CustomerEncryptionInput { get; }

DetectMd5HashInputOptional
public string DetectMd5HashInput { get; }
  • Type: string

EventBasedHoldInputOptional
public object EventBasedHoldInput { get; }
  • Type: object

IdInputOptional
public string IdInput { get; }
  • Type: string

KmsKeyNameInputOptional
public string KmsKeyNameInput { get; }
  • Type: string

MetadataInputOptional
public System.Collections.Generic.IDictionary<string, string> MetadataInput { get; }
  • Type: System.Collections.Generic.IDictionary<string, string>

NameInputOptional
public string NameInput { get; }
  • Type: string

RetentionInputOptional
public GoogleStorageBucketObjectRetention RetentionInput { get; }

SourceInputOptional
public string SourceInput { get; }
  • Type: string

StorageClassInputOptional
public string StorageClassInput { get; }
  • Type: string

TemporaryHoldInputOptional
public object TemporaryHoldInput { get; }
  • Type: object

TimeoutsInputOptional
public object TimeoutsInput { get; }
  • Type: object

BucketRequired
public string Bucket { get; }
  • Type: string

CacheControlRequired
public string CacheControl { get; }
  • Type: string

ContentRequired
public string Content { get; }
  • Type: string

ContentDispositionRequired
public string ContentDisposition { get; }
  • Type: string

ContentEncodingRequired
public string ContentEncoding { get; }
  • Type: string

ContentLanguageRequired
public string ContentLanguage { get; }
  • Type: string

ContentTypeRequired
public string ContentType { get; }
  • Type: string

DetectMd5HashRequired
public string DetectMd5Hash { get; }
  • Type: string

EventBasedHoldRequired
public object EventBasedHold { get; }
  • Type: object

IdRequired
public string Id { get; }
  • Type: string

KmsKeyNameRequired
public string KmsKeyName { get; }
  • Type: string

MetadataRequired
public System.Collections.Generic.IDictionary<string, string> Metadata { get; }
  • Type: System.Collections.Generic.IDictionary<string, string>

NameRequired
public string Name { get; }
  • Type: string

SourceRequired
public string Source { get; }
  • Type: string

StorageClassRequired
public string StorageClass { get; }
  • Type: string

TemporaryHoldRequired
public object TemporaryHold { get; }
  • Type: object

Constants

Name Type Description
TfResourceType string No description.

TfResourceTypeRequired
public string TfResourceType { get; }
  • Type: string

Structs

GoogleStorageBucketObjectConfig

Initializer

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectConfig {
    object Connection = null,
    object Count = null,
    ITerraformDependable[] DependsOn = null,
    ITerraformIterator ForEach = null,
    TerraformResourceLifecycle Lifecycle = null,
    TerraformProvider Provider = null,
    object[] Provisioners = null,
    string Bucket,
    string Name,
    string CacheControl = null,
    string Content = null,
    string ContentDisposition = null,
    string ContentEncoding = null,
    string ContentLanguage = null,
    string ContentType = null,
    GoogleStorageBucketObjectCustomerEncryption CustomerEncryption = null,
    string DetectMd5Hash = null,
    object EventBasedHold = null,
    string Id = null,
    string KmsKeyName = null,
    System.Collections.Generic.IDictionary<string, string> Metadata = null,
    GoogleStorageBucketObjectRetention Retention = null,
    string Source = null,
    string StorageClass = null,
    object TemporaryHold = null,
    GoogleStorageBucketObjectTimeouts Timeouts = null
};

Properties

Name Type Description
Connection object No description.
Count object No description.
DependsOn HashiCorp.Cdktf.ITerraformDependable[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
Bucket string The name of the containing bucket.
Name string The name of the object. If you're interpolating the name of this object, see output_name instead.
CacheControl string Cache-Control directive to specify caching behavior of object data.
Content string Data as string to be uploaded.
ContentDisposition string Content-Disposition of the object data.
ContentEncoding string Content-Encoding of the object data.
ContentLanguage string Content-Language of the object data.
ContentType string Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
CustomerEncryption GoogleStorageBucketObjectCustomerEncryption customer_encryption block.
DetectMd5Hash string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#detect_md5hash GoogleStorageBucketObject#detect_md5hash}.
EventBasedHold object Whether an object is under event-based hold.
Id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#id GoogleStorageBucketObject#id}.
KmsKeyName string Resource name of the Cloud KMS key that will be used to encrypt the object.
Metadata System.Collections.Generic.IDictionary<string, string> User-provided metadata, in key/value pairs.
Retention GoogleStorageBucketObjectRetention retention block.
Source string A path to the data you want to upload. Must be defined if content is not.
StorageClass string The StorageClass of the new bucket object.
TemporaryHold object Whether an object is under temporary hold.
Timeouts GoogleStorageBucketObjectTimeouts timeouts block.

ConnectionOptional
public object Connection { get; set; }
  • Type: object

CountOptional
public object Count { get; set; }
  • Type: object

DependsOnOptional
public ITerraformDependable[] DependsOn { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformDependable[]

ForEachOptional
public ITerraformIterator ForEach { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; set; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; set; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; set; }
  • Type: object[]

BucketRequired
public string Bucket { get; set; }
  • Type: string

The name of the containing bucket.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#bucket GoogleStorageBucketObject#bucket}


NameRequired
public string Name { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#name GoogleStorageBucketObject#name}


CacheControlOptional
public string CacheControl { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#cache_control GoogleStorageBucketObject#cache_control}


ContentOptional
public string Content { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#content GoogleStorageBucketObject#content}


ContentDispositionOptional
public string ContentDisposition { get; set; }
  • Type: string

Content-Disposition of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#content_disposition GoogleStorageBucketObject#content_disposition}


ContentEncodingOptional
public string ContentEncoding { get; set; }
  • Type: string

Content-Encoding of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#content_encoding GoogleStorageBucketObject#content_encoding}


ContentLanguageOptional
public string ContentLanguage { get; set; }
  • Type: string

Content-Language of the object data.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#content_language GoogleStorageBucketObject#content_language}


ContentTypeOptional
public string ContentType { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#content_type GoogleStorageBucketObject#content_type}


CustomerEncryptionOptional
public GoogleStorageBucketObjectCustomerEncryption CustomerEncryption { get; set; }

customer_encryption block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#customer_encryption GoogleStorageBucketObject#customer_encryption}


DetectMd5HashOptional
public string DetectMd5Hash { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#detect_md5hash GoogleStorageBucketObject#detect_md5hash}.


EventBasedHoldOptional
public object EventBasedHold { get; set; }
  • Type: object

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-beta/5.32.0/docs/resources/google_storage_bucket_object#event_based_hold GoogleStorageBucketObject#event_based_hold}


IdOptional
public string Id { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#id GoogleStorageBucketObject#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 string KmsKeyName { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#kms_key_name GoogleStorageBucketObject#kms_key_name}


MetadataOptional
public System.Collections.Generic.IDictionary<string, string> Metadata { get; set; }
  • Type: System.Collections.Generic.IDictionary<string, string>

User-provided metadata, in key/value pairs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#metadata GoogleStorageBucketObject#metadata}


RetentionOptional
public GoogleStorageBucketObjectRetention Retention { get; set; }

retention block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#retention GoogleStorageBucketObject#retention}


SourceOptional
public string Source { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#source GoogleStorageBucketObject#source}


StorageClassOptional
public string StorageClass { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#storage_class GoogleStorageBucketObject#storage_class}


TemporaryHoldOptional
public object TemporaryHold { get; set; }
  • Type: object

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-beta/5.32.0/docs/resources/google_storage_bucket_object#temporary_hold GoogleStorageBucketObject#temporary_hold}


TimeoutsOptional
public GoogleStorageBucketObjectTimeouts Timeouts { get; set; }

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#timeouts GoogleStorageBucketObject#timeouts}


GoogleStorageBucketObjectCustomerEncryption

Initializer

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectCustomerEncryption {
    string EncryptionKey,
    string EncryptionAlgorithm = null
};

Properties

Name Type Description
EncryptionKey string Base64 encoded customer supplied encryption key.
EncryptionAlgorithm string The encryption algorithm. Default: AES256.

EncryptionKeyRequired
public string EncryptionKey { get; set; }
  • Type: string

Base64 encoded customer supplied encryption key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#encryption_key GoogleStorageBucketObject#encryption_key}


EncryptionAlgorithmOptional
public string EncryptionAlgorithm { get; set; }
  • Type: string

The encryption algorithm. Default: AES256.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#encryption_algorithm GoogleStorageBucketObject#encryption_algorithm}


GoogleStorageBucketObjectRetention

Initializer

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectRetention {
    string Mode,
    string RetainUntilTime
};

Properties

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

ModeRequired
public string Mode { get; set; }
  • Type: string

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

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#mode GoogleStorageBucketObject#mode}


RetainUntilTimeRequired
public string RetainUntilTime { get; set; }
  • Type: 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-beta/5.32.0/docs/resources/google_storage_bucket_object#retain_until_time GoogleStorageBucketObject#retain_until_time}


GoogleStorageBucketObjectTimeouts

Initializer

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectTimeouts {
    string Create = null,
    string Delete = null,
    string Update = null
};

Properties

Name Type Description
Create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#create GoogleStorageBucketObject#create}.
Delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#delete GoogleStorageBucketObject#delete}.
Update string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#update GoogleStorageBucketObject#update}.

CreateOptional
public string Create { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#create GoogleStorageBucketObject#create}.


DeleteOptional
public string Delete { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#delete GoogleStorageBucketObject#delete}.


UpdateOptional
public string Update { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object#update GoogleStorageBucketObject#update}.


Classes

GoogleStorageBucketObjectCustomerEncryptionOutputReference

Initializers

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectCustomerEncryptionOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name Type Description
TerraformResource HashiCorp.Cdktf.IInterpolatingParent The parent resource.
TerraformAttribute string The attribute on the parent resource this class is referencing.

TerraformResourceRequired
  • Type: HashiCorp.Cdktf.IInterpolatingParent

The parent resource.


TerraformAttributeRequired
  • Type: 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
private string ComputeFqn()
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string Property)
PropertyRequired
  • Type: string

Resolve
private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired
  • Type: HashiCorp.Cdktf.IResolveContext

ToString
private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetEncryptionAlgorithm
private void ResetEncryptionAlgorithm()

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn string No description.
EncryptionAlgorithmInput string No description.
EncryptionKeyInput string No description.
EncryptionAlgorithm string No description.
EncryptionKey string No description.
InternalValue GoogleStorageBucketObjectCustomerEncryption No description.

CreationStackRequired
public string[] CreationStack { get; }
  • Type: 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 string Fqn { get; }
  • Type: string

EncryptionAlgorithmInputOptional
public string EncryptionAlgorithmInput { get; }
  • Type: string

EncryptionKeyInputOptional
public string EncryptionKeyInput { get; }
  • Type: string

EncryptionAlgorithmRequired
public string EncryptionAlgorithm { get; }
  • Type: string

EncryptionKeyRequired
public string EncryptionKey { get; }
  • Type: string

InternalValueOptional
public GoogleStorageBucketObjectCustomerEncryption InternalValue { get; }

GoogleStorageBucketObjectRetentionOutputReference

Initializers

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectRetentionOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name Type Description
TerraformResource HashiCorp.Cdktf.IInterpolatingParent The parent resource.
TerraformAttribute string The attribute on the parent resource this class is referencing.

TerraformResourceRequired
  • Type: HashiCorp.Cdktf.IInterpolatingParent

The parent resource.


TerraformAttributeRequired
  • Type: 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
private string ComputeFqn()
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string Property)
PropertyRequired
  • Type: string

Resolve
private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired
  • Type: HashiCorp.Cdktf.IResolveContext

ToString
private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn string No description.
ModeInput string No description.
RetainUntilTimeInput string No description.
Mode string No description.
RetainUntilTime string No description.
InternalValue GoogleStorageBucketObjectRetention No description.

CreationStackRequired
public string[] CreationStack { get; }
  • Type: 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 string Fqn { get; }
  • Type: string

ModeInputOptional
public string ModeInput { get; }
  • Type: string

RetainUntilTimeInputOptional
public string RetainUntilTimeInput { get; }
  • Type: string

ModeRequired
public string Mode { get; }
  • Type: string

RetainUntilTimeRequired
public string RetainUntilTime { get; }
  • Type: string

InternalValueOptional
public GoogleStorageBucketObjectRetention InternalValue { get; }

GoogleStorageBucketObjectTimeoutsOutputReference

Initializers

using HashiCorp.Cdktf.Providers.GoogleBeta;

new GoogleStorageBucketObjectTimeoutsOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name Type Description
TerraformResource HashiCorp.Cdktf.IInterpolatingParent The parent resource.
TerraformAttribute string The attribute on the parent resource this class is referencing.

TerraformResourceRequired
  • Type: HashiCorp.Cdktf.IInterpolatingParent

The parent resource.


TerraformAttributeRequired
  • Type: 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
private string ComputeFqn()
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string Property)
PropertyRequired
  • Type: string

Resolve
private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired
  • Type: HashiCorp.Cdktf.IResolveContext

ToString
private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetCreate
private void ResetCreate()
ResetDelete
private void ResetDelete()
ResetUpdate
private void ResetUpdate()

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn string No description.
CreateInput string No description.
DeleteInput string No description.
UpdateInput string No description.
Create string No description.
Delete string No description.
Update string No description.
InternalValue object No description.

CreationStackRequired
public string[] CreationStack { get; }
  • Type: 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 string Fqn { get; }
  • Type: string

CreateInputOptional
public string CreateInput { get; }
  • Type: string

DeleteInputOptional
public string DeleteInput { get; }
  • Type: string

UpdateInputOptional
public string UpdateInput { get; }
  • Type: string

CreateRequired
public string Create { get; }
  • Type: string

DeleteRequired
public string Delete { get; }
  • Type: string

UpdateRequired
public string Update { get; }
  • Type: string

InternalValueOptional
public object InternalValue { get; }
  • Type: object