Documentation ¶
Index ¶
- func GoogleStorageBucketObject_IsConstruct(x interface{}) *bool
- func GoogleStorageBucketObject_IsTerraformElement(x interface{}) *bool
- func GoogleStorageBucketObject_IsTerraformResource(x interface{}) *bool
- func GoogleStorageBucketObject_TfResourceType() *string
- func NewGoogleStorageBucketObjectCustomerEncryptionOutputReference_Override(g GoogleStorageBucketObjectCustomerEncryptionOutputReference, ...)
- func NewGoogleStorageBucketObjectTimeoutsOutputReference_Override(g GoogleStorageBucketObjectTimeoutsOutputReference, ...)
- func NewGoogleStorageBucketObject_Override(g GoogleStorageBucketObject, scope constructs.Construct, id *string, ...)
- type GoogleStorageBucketObject
- type GoogleStorageBucketObjectConfig
- type GoogleStorageBucketObjectCustomerEncryption
- type GoogleStorageBucketObjectCustomerEncryptionOutputReference
- type GoogleStorageBucketObjectTimeouts
- type GoogleStorageBucketObjectTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleStorageBucketObject_IsConstruct ¶
func GoogleStorageBucketObject_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func GoogleStorageBucketObject_IsTerraformElement ¶
func GoogleStorageBucketObject_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleStorageBucketObject_IsTerraformResource ¶
func GoogleStorageBucketObject_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleStorageBucketObject_TfResourceType ¶
func GoogleStorageBucketObject_TfResourceType() *string
func NewGoogleStorageBucketObjectCustomerEncryptionOutputReference_Override ¶
func NewGoogleStorageBucketObjectCustomerEncryptionOutputReference_Override(g GoogleStorageBucketObjectCustomerEncryptionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleStorageBucketObjectTimeoutsOutputReference_Override ¶
func NewGoogleStorageBucketObjectTimeoutsOutputReference_Override(g GoogleStorageBucketObjectTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleStorageBucketObject_Override ¶
func NewGoogleStorageBucketObject_Override(g GoogleStorageBucketObject, scope constructs.Construct, id *string, config *GoogleStorageBucketObjectConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object google_storage_bucket_object} Resource.
Types ¶
type GoogleStorageBucketObject ¶
type GoogleStorageBucketObject interface { cdktf.TerraformResource Bucket() *string SetBucket(val *string) BucketInput() *string CacheControl() *string SetCacheControl(val *string) CacheControlInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} Content() *string SetContent(val *string) ContentDisposition() *string SetContentDisposition(val *string) ContentDispositionInput() *string ContentEncoding() *string SetContentEncoding(val *string) ContentEncodingInput() *string ContentInput() *string ContentLanguage() *string SetContentLanguage(val *string) ContentLanguageInput() *string ContentType() *string SetContentType(val *string) ContentTypeInput() *string // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) Crc32C() *string CustomerEncryption() GoogleStorageBucketObjectCustomerEncryptionOutputReference CustomerEncryptionInput() *GoogleStorageBucketObjectCustomerEncryption // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DetectMd5Hash() *string SetDetectMd5Hash(val *string) DetectMd5HashInput() *string EventBasedHold() interface{} SetEventBasedHold(val interface{}) EventBasedHoldInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string KmsKeyName() *string SetKmsKeyName(val *string) KmsKeyNameInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Md5Hash() *string MediaLink() *string Metadata() *map[string]*string SetMetadata(val *map[string]*string) MetadataInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node OutputName() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string Source() *string SetSource(val *string) SourceInput() *string StorageClass() *string SetStorageClass(val *string) StorageClassInput() *string TemporaryHold() interface{} SetTemporaryHold(val interface{}) TemporaryHoldInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleStorageBucketObjectTimeoutsOutputReference TimeoutsInput() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCustomerEncryption(value *GoogleStorageBucketObjectCustomerEncryption) PutTimeouts(value *GoogleStorageBucketObjectTimeouts) ResetCacheControl() ResetContent() ResetContentDisposition() ResetContentEncoding() ResetContentLanguage() ResetContentType() ResetCustomerEncryption() ResetDetectMd5Hash() ResetEventBasedHold() ResetId() ResetKmsKeyName() ResetMetadata() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSource() ResetStorageClass() ResetTemporaryHold() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object google_storage_bucket_object}.
func NewGoogleStorageBucketObject ¶
func NewGoogleStorageBucketObject(scope constructs.Construct, id *string, config *GoogleStorageBucketObjectConfig) GoogleStorageBucketObject
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object google_storage_bucket_object} Resource.
type GoogleStorageBucketObjectConfig ¶
type GoogleStorageBucketObjectConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the containing bucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#bucket GoogleStorageBucketObject#bucket} Bucket *string `field:"required" json:"bucket" yaml:"bucket"` // 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/4.79.0/docs/resources/google_storage_bucket_object#name GoogleStorageBucketObject#name} Name *string `field:"required" json:"name" yaml:"name"` // 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/4.79.0/docs/resources/google_storage_bucket_object#cache_control GoogleStorageBucketObject#cache_control} CacheControl *string `field:"optional" json:"cacheControl" yaml:"cacheControl"` // 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/4.79.0/docs/resources/google_storage_bucket_object#content GoogleStorageBucketObject#content} Content *string `field:"optional" json:"content" yaml:"content"` // Content-Disposition of the object data. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#content_disposition GoogleStorageBucketObject#content_disposition} ContentDisposition *string `field:"optional" json:"contentDisposition" yaml:"contentDisposition"` // Content-Encoding of the object data. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#content_encoding GoogleStorageBucketObject#content_encoding} ContentEncoding *string `field:"optional" json:"contentEncoding" yaml:"contentEncoding"` // Content-Language of the object data. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#content_language GoogleStorageBucketObject#content_language} ContentLanguage *string `field:"optional" json:"contentLanguage" yaml:"contentLanguage"` // 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/4.79.0/docs/resources/google_storage_bucket_object#content_type GoogleStorageBucketObject#content_type} ContentType *string `field:"optional" json:"contentType" yaml:"contentType"` // customer_encryption block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#customer_encryption GoogleStorageBucketObject#customer_encryption} CustomerEncryption *GoogleStorageBucketObjectCustomerEncryption `field:"optional" json:"customerEncryption" yaml:"customerEncryption"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#detect_md5hash GoogleStorageBucketObject#detect_md5hash}. DetectMd5Hash *string `field:"optional" json:"detectMd5Hash" yaml:"detectMd5Hash"` // 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/4.79.0/docs/resources/google_storage_bucket_object#event_based_hold GoogleStorageBucketObject#event_based_hold} EventBasedHold interface{} `field:"optional" json:"eventBasedHold" yaml:"eventBasedHold"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.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. Id *string `field:"optional" json:"id" yaml:"id"` // 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/4.79.0/docs/resources/google_storage_bucket_object#kms_key_name GoogleStorageBucketObject#kms_key_name} KmsKeyName *string `field:"optional" json:"kmsKeyName" yaml:"kmsKeyName"` // User-provided metadata, in key/value pairs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#metadata GoogleStorageBucketObject#metadata} Metadata *map[string]*string `field:"optional" json:"metadata" yaml:"metadata"` // 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/4.79.0/docs/resources/google_storage_bucket_object#source GoogleStorageBucketObject#source} Source *string `field:"optional" json:"source" yaml:"source"` // 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/4.79.0/docs/resources/google_storage_bucket_object#storage_class GoogleStorageBucketObject#storage_class} StorageClass *string `field:"optional" json:"storageClass" yaml:"storageClass"` // 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/4.79.0/docs/resources/google_storage_bucket_object#temporary_hold GoogleStorageBucketObject#temporary_hold} TemporaryHold interface{} `field:"optional" json:"temporaryHold" yaml:"temporaryHold"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#timeouts GoogleStorageBucketObject#timeouts} Timeouts *GoogleStorageBucketObjectTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type GoogleStorageBucketObjectCustomerEncryption ¶
type GoogleStorageBucketObjectCustomerEncryption struct { // Base64 encoded customer supplied encryption key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#encryption_key GoogleStorageBucketObject#encryption_key} EncryptionKey *string `field:"required" json:"encryptionKey" yaml:"encryptionKey"` // The encryption algorithm. Default: AES256. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#encryption_algorithm GoogleStorageBucketObject#encryption_algorithm} EncryptionAlgorithm *string `field:"optional" json:"encryptionAlgorithm" yaml:"encryptionAlgorithm"` }
type GoogleStorageBucketObjectCustomerEncryptionOutputReference ¶
type GoogleStorageBucketObjectCustomerEncryptionOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // 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. // Experimental. CreationStack() *[]*string EncryptionAlgorithm() *string SetEncryptionAlgorithm(val *string) EncryptionAlgorithmInput() *string EncryptionKey() *string SetEncryptionKey(val *string) EncryptionKeyInput() *string // Experimental. Fqn() *string InternalValue() *GoogleStorageBucketObjectCustomerEncryption SetInternalValue(val *GoogleStorageBucketObjectCustomerEncryption) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetEncryptionAlgorithm() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleStorageBucketObjectCustomerEncryptionOutputReference ¶
func NewGoogleStorageBucketObjectCustomerEncryptionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleStorageBucketObjectCustomerEncryptionOutputReference
type GoogleStorageBucketObjectTimeouts ¶
type GoogleStorageBucketObjectTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#create GoogleStorageBucketObject#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#delete GoogleStorageBucketObject#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_storage_bucket_object#update GoogleStorageBucketObject#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleStorageBucketObjectTimeoutsOutputReference ¶
type GoogleStorageBucketObjectTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *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. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleStorageBucketObjectTimeoutsOutputReference ¶
func NewGoogleStorageBucketObjectTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleStorageBucketObjectTimeoutsOutputReference
Source Files ¶
- GoogleStorageBucketObject.go
- GoogleStorageBucketObjectConfig.go
- GoogleStorageBucketObjectCustomerEncryption.go
- GoogleStorageBucketObjectCustomerEncryptionOutputReference.go
- GoogleStorageBucketObjectCustomerEncryptionOutputReference__checks.go
- GoogleStorageBucketObjectTimeouts.go
- GoogleStorageBucketObjectTimeoutsOutputReference.go
- GoogleStorageBucketObjectTimeoutsOutputReference__checks.go
- GoogleStorageBucketObject__checks.go
- main.go