Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.32.0/docs/resources/google_storage_bucket_object google_storage_bucket_object}.
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. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
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. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
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.
- Type: string
The string move target that will correspond to this resource.
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private object HasResourceMove()
private void ImportFrom(string Id, TerraformProvider Provider = null)
- Type: string
- Type: HashiCorp.Cdktf.TerraformProvider
private IResolvable InterpolationForAttribute(string TerraformAttribute)
- Type: string
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.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
private void MoveTo(string MoveTarget, object Index = null)
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: object
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
private void MoveToId(string Id)
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
private void PutCustomerEncryption(GoogleStorageBucketObjectCustomerEncryption Value)
private void PutRetention(GoogleStorageBucketObjectRetention Value)
private void PutTimeouts(GoogleStorageBucketObjectTimeouts Value)
private void ResetCacheControl()
private void ResetContent()
private void ResetContentDisposition()
private void ResetContentEncoding()
private void ResetContentLanguage()
private void ResetContentType()
private void ResetCustomerEncryption()
private void ResetDetectMd5Hash()
private void ResetEventBasedHold()
private void ResetId()
private void ResetKmsKeyName()
private void ResetMetadata()
private void ResetRetention()
private void ResetSource()
private void ResetStorageClass()
private void ResetTemporaryHold()
private void ResetTimeouts()
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 ". |
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.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.GoogleBeta;
GoogleStorageBucketObject.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.GoogleBeta;
GoogleStorageBucketObject.IsTerraformResource(object X);
- Type: object
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 ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the GoogleStorageBucketObject to import.
- 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
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the GoogleStorageBucketObject to import is found.
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. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public object Connection { get; }
- Type: object
public object Count { get; }
- Type: object
public string[] DependsOn { get; }
- Type: string[]
public ITerraformIterator ForEach { get; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; }
- Type: object[]
public string Crc32C { get; }
- Type: string
public GoogleStorageBucketObjectCustomerEncryptionOutputReference CustomerEncryption { get; }
public string Md5Hash { get; }
- Type: string
public string MediaLink { get; }
- Type: string
public string OutputName { get; }
- Type: string
public GoogleStorageBucketObjectRetentionOutputReference Retention { get; }
public string SelfLink { get; }
- Type: string
public GoogleStorageBucketObjectTimeoutsOutputReference Timeouts { get; }
public string BucketInput { get; }
- Type: string
public string CacheControlInput { get; }
- Type: string
public string ContentDispositionInput { get; }
- Type: string
public string ContentEncodingInput { get; }
- Type: string
public string ContentInput { get; }
- Type: string
public string ContentLanguageInput { get; }
- Type: string
public string ContentTypeInput { get; }
- Type: string
public GoogleStorageBucketObjectCustomerEncryption CustomerEncryptionInput { get; }
public string DetectMd5HashInput { get; }
- Type: string
public object EventBasedHoldInput { get; }
- Type: object
public string IdInput { get; }
- Type: string
public string KmsKeyNameInput { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, string> MetadataInput { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string NameInput { get; }
- Type: string
public GoogleStorageBucketObjectRetention RetentionInput { get; }
public string SourceInput { get; }
- Type: string
public string StorageClassInput { get; }
- Type: string
public object TemporaryHoldInput { get; }
- Type: object
public object TimeoutsInput { get; }
- Type: object
public string Bucket { get; }
- Type: string
public string CacheControl { get; }
- Type: string
public string Content { get; }
- Type: string
public string ContentDisposition { get; }
- Type: string
public string ContentEncoding { get; }
- Type: string
public string ContentLanguage { get; }
- Type: string
public string ContentType { get; }
- Type: string
public string DetectMd5Hash { get; }
- Type: string
public object EventBasedHold { get; }
- Type: object
public string Id { get; }
- Type: string
public string KmsKeyName { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, string> Metadata { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string Name { get; }
- Type: string
public string Source { get; }
- Type: string
public string StorageClass { get; }
- Type: string
public object TemporaryHold { get; }
- Type: object
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
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
};
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. |
public object Connection { get; set; }
- Type: object
public object Count { get; set; }
- Type: object
public ITerraformDependable[] DependsOn { get; set; }
- Type: HashiCorp.Cdktf.ITerraformDependable[]
public ITerraformIterator ForEach { get; set; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; set; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; set; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; set; }
- Type: object[]
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}.
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}
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.
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}
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}
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}
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}
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}
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}
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}
using HashiCorp.Cdktf.Providers.GoogleBeta;
new GoogleStorageBucketObjectCustomerEncryption {
string EncryptionKey,
string EncryptionAlgorithm = null
};
Name | Type | Description |
---|---|---|
EncryptionKey |
string |
Base64 encoded customer supplied encryption key. |
EncryptionAlgorithm |
string |
The encryption algorithm. Default: AES256. |
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}
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}
using HashiCorp.Cdktf.Providers.GoogleBeta;
new GoogleStorageBucketObjectRetention {
string Mode,
string RetainUntilTime
};
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. |
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}
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}
using HashiCorp.Cdktf.Providers.GoogleBeta;
new GoogleStorageBucketObjectTimeouts {
string Create = null,
string Delete = null,
string Update = null
};
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}. |
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}.
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}.
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}.
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. |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
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. |
private string ComputeFqn()
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable InterpolationForAttribute(string Property)
- Type: string
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
private void ResetEncryptionAlgorithm()
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. |
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.
public string Fqn { get; }
- Type: string
public string EncryptionAlgorithmInput { get; }
- Type: string
public string EncryptionKeyInput { get; }
- Type: string
public string EncryptionAlgorithm { get; }
- Type: string
public string EncryptionKey { get; }
- Type: string
public GoogleStorageBucketObjectCustomerEncryption InternalValue { get; }
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. |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
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. |
private string ComputeFqn()
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable InterpolationForAttribute(string Property)
- Type: string
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
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. |
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.
public string Fqn { get; }
- Type: string
public string ModeInput { get; }
- Type: string
public string RetainUntilTimeInput { get; }
- Type: string
public string Mode { get; }
- Type: string
public string RetainUntilTime { get; }
- Type: string
public GoogleStorageBucketObjectRetention InternalValue { get; }
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. |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
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. |
private string ComputeFqn()
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable InterpolationForAttribute(string Property)
- Type: string
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
private void ResetCreate()
private void ResetDelete()
private void ResetUpdate()
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. |
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.
public string Fqn { get; }
- Type: string
public string CreateInput { get; }
- Type: string
public string DeleteInput { get; }
- Type: string
public string UpdateInput { get; }
- Type: string
public string Create { get; }
- Type: string
public string Delete { get; }
- Type: string
public string Update { get; }
- Type: string
public object InternalValue { get; }
- Type: object