Documentation
¶
Index ¶
- func NewStorageBucketAutoclassOutputReference_Override(s StorageBucketAutoclassOutputReference, ...)
- func NewStorageBucketCorsList_Override(s StorageBucketCorsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewStorageBucketCorsOutputReference_Override(s StorageBucketCorsOutputReference, ...)
- func NewStorageBucketCustomPlacementConfigOutputReference_Override(s StorageBucketCustomPlacementConfigOutputReference, ...)
- func NewStorageBucketEncryptionOutputReference_Override(s StorageBucketEncryptionOutputReference, ...)
- func NewStorageBucketHierarchicalNamespaceOutputReference_Override(s StorageBucketHierarchicalNamespaceOutputReference, ...)
- func NewStorageBucketIpFilterOutputReference_Override(s StorageBucketIpFilterOutputReference, ...)
- func NewStorageBucketIpFilterPublicNetworkSourceOutputReference_Override(s StorageBucketIpFilterPublicNetworkSourceOutputReference, ...)
- func NewStorageBucketIpFilterVpcNetworkSourcesList_Override(s StorageBucketIpFilterVpcNetworkSourcesList, ...)
- func NewStorageBucketIpFilterVpcNetworkSourcesOutputReference_Override(s StorageBucketIpFilterVpcNetworkSourcesOutputReference, ...)
- func NewStorageBucketLifecycleRuleActionOutputReference_Override(s StorageBucketLifecycleRuleActionOutputReference, ...)
- func NewStorageBucketLifecycleRuleConditionOutputReference_Override(s StorageBucketLifecycleRuleConditionOutputReference, ...)
- func NewStorageBucketLifecycleRuleList_Override(s StorageBucketLifecycleRuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewStorageBucketLifecycleRuleOutputReference_Override(s StorageBucketLifecycleRuleOutputReference, ...)
- func NewStorageBucketLoggingOutputReference_Override(s StorageBucketLoggingOutputReference, ...)
- func NewStorageBucketRetentionPolicyOutputReference_Override(s StorageBucketRetentionPolicyOutputReference, ...)
- func NewStorageBucketSoftDeletePolicyOutputReference_Override(s StorageBucketSoftDeletePolicyOutputReference, ...)
- func NewStorageBucketTimeoutsOutputReference_Override(s StorageBucketTimeoutsOutputReference, ...)
- func NewStorageBucketVersioningOutputReference_Override(s StorageBucketVersioningOutputReference, ...)
- func NewStorageBucketWebsiteOutputReference_Override(s StorageBucketWebsiteOutputReference, ...)
- func NewStorageBucket_Override(s StorageBucket, scope constructs.Construct, id *string, ...)
- func StorageBucket_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func StorageBucket_IsConstruct(x interface{}) *bool
- func StorageBucket_IsTerraformElement(x interface{}) *bool
- func StorageBucket_IsTerraformResource(x interface{}) *bool
- func StorageBucket_TfResourceType() *string
- type StorageBucket
- type StorageBucketAutoclass
- type StorageBucketAutoclassOutputReference
- type StorageBucketConfig
- type StorageBucketCors
- type StorageBucketCorsList
- type StorageBucketCorsOutputReference
- type StorageBucketCustomPlacementConfig
- type StorageBucketCustomPlacementConfigOutputReference
- type StorageBucketEncryption
- type StorageBucketEncryptionOutputReference
- type StorageBucketHierarchicalNamespace
- type StorageBucketHierarchicalNamespaceOutputReference
- type StorageBucketIpFilter
- type StorageBucketIpFilterOutputReference
- type StorageBucketIpFilterPublicNetworkSource
- type StorageBucketIpFilterPublicNetworkSourceOutputReference
- type StorageBucketIpFilterVpcNetworkSources
- type StorageBucketIpFilterVpcNetworkSourcesList
- type StorageBucketIpFilterVpcNetworkSourcesOutputReference
- type StorageBucketLifecycleRule
- type StorageBucketLifecycleRuleAction
- type StorageBucketLifecycleRuleActionOutputReference
- type StorageBucketLifecycleRuleCondition
- type StorageBucketLifecycleRuleConditionOutputReference
- type StorageBucketLifecycleRuleList
- type StorageBucketLifecycleRuleOutputReference
- type StorageBucketLogging
- type StorageBucketLoggingOutputReference
- type StorageBucketRetentionPolicy
- type StorageBucketRetentionPolicyOutputReference
- type StorageBucketSoftDeletePolicy
- type StorageBucketSoftDeletePolicyOutputReference
- type StorageBucketTimeouts
- type StorageBucketTimeoutsOutputReference
- type StorageBucketVersioning
- type StorageBucketVersioningOutputReference
- type StorageBucketWebsite
- type StorageBucketWebsiteOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageBucketAutoclassOutputReference_Override ¶
func NewStorageBucketAutoclassOutputReference_Override(s StorageBucketAutoclassOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketCorsList_Override ¶
func NewStorageBucketCorsList_Override(s StorageBucketCorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewStorageBucketCorsOutputReference_Override ¶
func NewStorageBucketCorsOutputReference_Override(s StorageBucketCorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewStorageBucketCustomPlacementConfigOutputReference_Override ¶
func NewStorageBucketCustomPlacementConfigOutputReference_Override(s StorageBucketCustomPlacementConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketEncryptionOutputReference_Override ¶
func NewStorageBucketEncryptionOutputReference_Override(s StorageBucketEncryptionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketHierarchicalNamespaceOutputReference_Override ¶
func NewStorageBucketHierarchicalNamespaceOutputReference_Override(s StorageBucketHierarchicalNamespaceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketIpFilterOutputReference_Override ¶
func NewStorageBucketIpFilterOutputReference_Override(s StorageBucketIpFilterOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketIpFilterPublicNetworkSourceOutputReference_Override ¶
func NewStorageBucketIpFilterPublicNetworkSourceOutputReference_Override(s StorageBucketIpFilterPublicNetworkSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketIpFilterVpcNetworkSourcesList_Override ¶
func NewStorageBucketIpFilterVpcNetworkSourcesList_Override(s StorageBucketIpFilterVpcNetworkSourcesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewStorageBucketIpFilterVpcNetworkSourcesOutputReference_Override ¶
func NewStorageBucketIpFilterVpcNetworkSourcesOutputReference_Override(s StorageBucketIpFilterVpcNetworkSourcesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewStorageBucketLifecycleRuleActionOutputReference_Override ¶
func NewStorageBucketLifecycleRuleActionOutputReference_Override(s StorageBucketLifecycleRuleActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketLifecycleRuleConditionOutputReference_Override ¶
func NewStorageBucketLifecycleRuleConditionOutputReference_Override(s StorageBucketLifecycleRuleConditionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketLifecycleRuleList_Override ¶
func NewStorageBucketLifecycleRuleList_Override(s StorageBucketLifecycleRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewStorageBucketLifecycleRuleOutputReference_Override ¶
func NewStorageBucketLifecycleRuleOutputReference_Override(s StorageBucketLifecycleRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewStorageBucketLoggingOutputReference_Override ¶
func NewStorageBucketLoggingOutputReference_Override(s StorageBucketLoggingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketRetentionPolicyOutputReference_Override ¶
func NewStorageBucketRetentionPolicyOutputReference_Override(s StorageBucketRetentionPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketSoftDeletePolicyOutputReference_Override ¶
func NewStorageBucketSoftDeletePolicyOutputReference_Override(s StorageBucketSoftDeletePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketTimeoutsOutputReference_Override ¶
func NewStorageBucketTimeoutsOutputReference_Override(s StorageBucketTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketVersioningOutputReference_Override ¶
func NewStorageBucketVersioningOutputReference_Override(s StorageBucketVersioningOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucketWebsiteOutputReference_Override ¶
func NewStorageBucketWebsiteOutputReference_Override(s StorageBucketWebsiteOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewStorageBucket_Override ¶
func NewStorageBucket_Override(s StorageBucket, scope constructs.Construct, id *string, config *StorageBucketConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket google_storage_bucket} Resource.
func StorageBucket_GenerateConfigForImport ¶
func StorageBucket_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a StorageBucket resource upon running "cdktf plan <stack-name>".
func StorageBucket_IsConstruct ¶
func StorageBucket_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 StorageBucket_IsTerraformElement ¶
func StorageBucket_IsTerraformElement(x interface{}) *bool
Experimental.
func StorageBucket_IsTerraformResource ¶
func StorageBucket_IsTerraformResource(x interface{}) *bool
Experimental.
func StorageBucket_TfResourceType ¶
func StorageBucket_TfResourceType() *string
Types ¶
type StorageBucket ¶
type StorageBucket interface {
cdktf.TerraformResource
Autoclass() StorageBucketAutoclassOutputReference
AutoclassInput() *StorageBucketAutoclass
// Experimental.
CdktfStack() cdktf.TerraformStack
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
Cors() StorageBucketCorsList
CorsInput() interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
CustomPlacementConfig() StorageBucketCustomPlacementConfigOutputReference
CustomPlacementConfigInput() *StorageBucketCustomPlacementConfig
DefaultEventBasedHold() interface{}
SetDefaultEventBasedHold(val interface{})
DefaultEventBasedHoldInput() interface{}
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
EffectiveLabels() cdktf.StringMap
EnableObjectRetention() interface{}
SetEnableObjectRetention(val interface{})
EnableObjectRetentionInput() interface{}
Encryption() StorageBucketEncryptionOutputReference
EncryptionInput() *StorageBucketEncryption
ForceDestroy() interface{}
SetForceDestroy(val interface{})
ForceDestroyInput() interface{}
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
HierarchicalNamespace() StorageBucketHierarchicalNamespaceOutputReference
HierarchicalNamespaceInput() *StorageBucketHierarchicalNamespace
Id() *string
SetId(val *string)
IdInput() *string
IpFilter() StorageBucketIpFilterOutputReference
IpFilterInput() *StorageBucketIpFilter
Labels() *map[string]*string
SetLabels(val *map[string]*string)
LabelsInput() *map[string]*string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
LifecycleRule() StorageBucketLifecycleRuleList
LifecycleRuleInput() interface{}
Location() *string
SetLocation(val *string)
LocationInput() *string
Logging() StorageBucketLoggingOutputReference
LoggingInput() *StorageBucketLogging
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
Project() *string
SetProject(val *string)
ProjectInput() *string
ProjectNumber() *float64
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
PublicAccessPrevention() *string
SetPublicAccessPrevention(val *string)
PublicAccessPreventionInput() *string
// Experimental.
RawOverrides() interface{}
RequesterPays() interface{}
SetRequesterPays(val interface{})
RequesterPaysInput() interface{}
RetentionPolicy() StorageBucketRetentionPolicyOutputReference
RetentionPolicyInput() *StorageBucketRetentionPolicy
Rpo() *string
SetRpo(val *string)
RpoInput() *string
SelfLink() *string
SoftDeletePolicy() StorageBucketSoftDeletePolicyOutputReference
SoftDeletePolicyInput() *StorageBucketSoftDeletePolicy
StorageClass() *string
SetStorageClass(val *string)
StorageClassInput() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformLabels() cdktf.StringMap
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
TimeCreated() *string
Timeouts() StorageBucketTimeoutsOutputReference
TimeoutsInput() interface{}
UniformBucketLevelAccess() interface{}
SetUniformBucketLevelAccess(val interface{})
UniformBucketLevelAccessInput() interface{}
Updated() *string
Url() *string
Versioning() StorageBucketVersioningOutputReference
VersioningInput() *StorageBucketVersioning
Website() StorageBucketWebsiteOutputReference
WebsiteInput() *StorageBucketWebsite
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// 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.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// 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.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutAutoclass(value *StorageBucketAutoclass)
PutCors(value interface{})
PutCustomPlacementConfig(value *StorageBucketCustomPlacementConfig)
PutEncryption(value *StorageBucketEncryption)
PutHierarchicalNamespace(value *StorageBucketHierarchicalNamespace)
PutIpFilter(value *StorageBucketIpFilter)
PutLifecycleRule(value interface{})
PutLogging(value *StorageBucketLogging)
PutRetentionPolicy(value *StorageBucketRetentionPolicy)
PutSoftDeletePolicy(value *StorageBucketSoftDeletePolicy)
PutTimeouts(value *StorageBucketTimeouts)
PutVersioning(value *StorageBucketVersioning)
PutWebsite(value *StorageBucketWebsite)
ResetAutoclass()
ResetCors()
ResetCustomPlacementConfig()
ResetDefaultEventBasedHold()
ResetEnableObjectRetention()
ResetEncryption()
ResetForceDestroy()
ResetHierarchicalNamespace()
ResetId()
ResetIpFilter()
ResetLabels()
ResetLifecycleRule()
ResetLogging()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetProject()
ResetPublicAccessPrevention()
ResetRequesterPays()
ResetRetentionPolicy()
ResetRpo()
ResetSoftDeletePolicy()
ResetStorageClass()
ResetTimeouts()
ResetUniformBucketLevelAccess()
ResetVersioning()
ResetWebsite()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() 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/6.45.0/docs/resources/storage_bucket google_storage_bucket}.
func NewStorageBucket ¶
func NewStorageBucket(scope constructs.Construct, id *string, config *StorageBucketConfig) StorageBucket
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket google_storage_bucket} Resource.
type StorageBucketAutoclass ¶
type StorageBucketAutoclass struct {
// While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#enabled StorageBucket#enabled}
Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"`
// The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time.
//
// Supported values include: NEARLINE, ARCHIVE.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#terminal_storage_class StorageBucket#terminal_storage_class}
TerminalStorageClass *string `field:"optional" json:"terminalStorageClass" yaml:"terminalStorageClass"`
}
type StorageBucketAutoclassOutputReference ¶
type StorageBucketAutoclassOutputReference 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
Enabled() interface{}
SetEnabled(val interface{})
EnabledInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *StorageBucketAutoclass
SetInternalValue(val *StorageBucketAutoclass)
TerminalStorageClass() *string
SetTerminalStorageClass(val *string)
TerminalStorageClassInput() *string
// 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
ResetTerminalStorageClass()
// 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 NewStorageBucketAutoclassOutputReference ¶
func NewStorageBucketAutoclassOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketAutoclassOutputReference
type StorageBucketConfig ¶
type StorageBucketConfig 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 Google Cloud Storage location or region.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#location StorageBucket#location}
Location *string `field:"required" json:"location" yaml:"location"`
// The name of the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#name StorageBucket#name}
Name *string `field:"required" json:"name" yaml:"name"`
// autoclass block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#autoclass StorageBucket#autoclass}
Autoclass *StorageBucketAutoclass `field:"optional" json:"autoclass" yaml:"autoclass"`
// cors block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#cors StorageBucket#cors}
Cors interface{} `field:"optional" json:"cors" yaml:"cors"`
// custom_placement_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#custom_placement_config StorageBucket#custom_placement_config}
CustomPlacementConfig *StorageBucketCustomPlacementConfig `field:"optional" json:"customPlacementConfig" yaml:"customPlacementConfig"`
// Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#default_event_based_hold StorageBucket#default_event_based_hold}
DefaultEventBasedHold interface{} `field:"optional" json:"defaultEventBasedHold" yaml:"defaultEventBasedHold"`
// Enables each object in the bucket to have its own retention policy, which prevents deletion until stored for a specific length of time.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#enable_object_retention StorageBucket#enable_object_retention}
EnableObjectRetention interface{} `field:"optional" json:"enableObjectRetention" yaml:"enableObjectRetention"`
// encryption block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#encryption StorageBucket#encryption}
Encryption *StorageBucketEncryption `field:"optional" json:"encryption" yaml:"encryption"`
// When deleting a bucket, this boolean option will delete all contained objects, or anywhereCaches (if any).
//
// If you try to delete a bucket that contains objects or anywhereCaches, Terraform will fail that run, deleting anywhereCaches may take 80 minutes to complete.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#force_destroy StorageBucket#force_destroy}
ForceDestroy interface{} `field:"optional" json:"forceDestroy" yaml:"forceDestroy"`
// hierarchical_namespace block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#hierarchical_namespace StorageBucket#hierarchical_namespace}
HierarchicalNamespace *StorageBucketHierarchicalNamespace `field:"optional" json:"hierarchicalNamespace" yaml:"hierarchicalNamespace"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#id StorageBucket#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"`
// ip_filter block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#ip_filter StorageBucket#ip_filter}
IpFilter *StorageBucketIpFilter `field:"optional" json:"ipFilter" yaml:"ipFilter"`
// A set of key/value label pairs to assign to the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#labels StorageBucket#labels}
Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
// lifecycle_rule block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#lifecycle_rule StorageBucket#lifecycle_rule}
LifecycleRule interface{} `field:"optional" json:"lifecycleRule" yaml:"lifecycleRule"`
// logging block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#logging StorageBucket#logging}
Logging *StorageBucketLogging `field:"optional" json:"logging" yaml:"logging"`
// The ID of the project in which the resource belongs.
//
// If it is not provided, the provider project is used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#project StorageBucket#project}
Project *string `field:"optional" json:"project" yaml:"project"`
// Prevents public access to a bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#public_access_prevention StorageBucket#public_access_prevention}
PublicAccessPrevention *string `field:"optional" json:"publicAccessPrevention" yaml:"publicAccessPrevention"`
// Enables Requester Pays on a storage bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#requester_pays StorageBucket#requester_pays}
RequesterPays interface{} `field:"optional" json:"requesterPays" yaml:"requesterPays"`
// retention_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#retention_policy StorageBucket#retention_policy}
RetentionPolicy *StorageBucketRetentionPolicy `field:"optional" json:"retentionPolicy" yaml:"retentionPolicy"`
// Specifies the RPO setting of bucket.
//
// If set 'ASYNC_TURBO', The Turbo Replication will be enabled for the dual-region bucket. Value 'DEFAULT' will set RPO setting to default. Turbo Replication is only for buckets in dual-regions.See the docs for more details.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#rpo StorageBucket#rpo}
Rpo *string `field:"optional" json:"rpo" yaml:"rpo"`
// soft_delete_policy block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#soft_delete_policy StorageBucket#soft_delete_policy}
SoftDeletePolicy *StorageBucketSoftDeletePolicy `field:"optional" json:"softDeletePolicy" yaml:"softDeletePolicy"`
// The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#storage_class StorageBucket#storage_class}
StorageClass *string `field:"optional" json:"storageClass" yaml:"storageClass"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#timeouts StorageBucket#timeouts}
Timeouts *StorageBucketTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// Enables uniform bucket-level access on a bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#uniform_bucket_level_access StorageBucket#uniform_bucket_level_access}
UniformBucketLevelAccess interface{} `field:"optional" json:"uniformBucketLevelAccess" yaml:"uniformBucketLevelAccess"`
// versioning block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#versioning StorageBucket#versioning}
Versioning *StorageBucketVersioning `field:"optional" json:"versioning" yaml:"versioning"`
// website block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#website StorageBucket#website}
Website *StorageBucketWebsite `field:"optional" json:"website" yaml:"website"`
}
type StorageBucketCors ¶
type StorageBucketCors struct {
// The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#max_age_seconds StorageBucket#max_age_seconds}
MaxAgeSeconds *float64 `field:"optional" json:"maxAgeSeconds" yaml:"maxAgeSeconds"`
// The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#method StorageBucket#method}
Method *[]*string `field:"optional" json:"method" yaml:"method"`
// The list of Origins eligible to receive CORS response headers.
//
// Note: "*" is permitted in the list of origins, and means "any Origin".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#origin StorageBucket#origin}
Origin *[]*string `field:"optional" json:"origin" yaml:"origin"`
// The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#response_header StorageBucket#response_header}
ResponseHeader *[]*string `field:"optional" json:"responseHeader" yaml:"responseHeader"`
}
type StorageBucketCorsList ¶
type StorageBucketCorsList interface {
cdktf.ComplexList
// 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) StorageBucketCorsOutputReference
// 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 NewStorageBucketCorsList ¶
func NewStorageBucketCorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) StorageBucketCorsList
type StorageBucketCorsOutputReference ¶
type StorageBucketCorsOutputReference 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
MaxAgeSeconds() *float64
SetMaxAgeSeconds(val *float64)
MaxAgeSecondsInput() *float64
Method() *[]*string
SetMethod(val *[]*string)
MethodInput() *[]*string
Origin() *[]*string
SetOrigin(val *[]*string)
OriginInput() *[]*string
ResponseHeader() *[]*string
SetResponseHeader(val *[]*string)
ResponseHeaderInput() *[]*string
// 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
ResetMaxAgeSeconds()
ResetMethod()
ResetOrigin()
ResetResponseHeader()
// 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 NewStorageBucketCorsOutputReference ¶
func NewStorageBucketCorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) StorageBucketCorsOutputReference
type StorageBucketCustomPlacementConfig ¶
type StorageBucketCustomPlacementConfig struct {
// The list of individual regions that comprise a dual-region bucket.
//
// See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#data_locations StorageBucket#data_locations}
DataLocations *[]*string `field:"required" json:"dataLocations" yaml:"dataLocations"`
}
type StorageBucketCustomPlacementConfigOutputReference ¶
type StorageBucketCustomPlacementConfigOutputReference 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
DataLocations() *[]*string
SetDataLocations(val *[]*string)
DataLocationsInput() *[]*string
// Experimental.
Fqn() *string
InternalValue() *StorageBucketCustomPlacementConfig
SetInternalValue(val *StorageBucketCustomPlacementConfig)
// 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
// 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 NewStorageBucketCustomPlacementConfigOutputReference ¶
func NewStorageBucketCustomPlacementConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketCustomPlacementConfigOutputReference
type StorageBucketEncryption ¶
type StorageBucketEncryption struct {
// A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
//
// You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#default_kms_key_name StorageBucket#default_kms_key_name}
DefaultKmsKeyName *string `field:"required" json:"defaultKmsKeyName" yaml:"defaultKmsKeyName"`
}
type StorageBucketEncryptionOutputReference ¶
type StorageBucketEncryptionOutputReference 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
DefaultKmsKeyName() *string
SetDefaultKmsKeyName(val *string)
DefaultKmsKeyNameInput() *string
// Experimental.
Fqn() *string
InternalValue() *StorageBucketEncryption
SetInternalValue(val *StorageBucketEncryption)
// 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
// 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 NewStorageBucketEncryptionOutputReference ¶
func NewStorageBucketEncryptionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketEncryptionOutputReference
type StorageBucketHierarchicalNamespace ¶
type StorageBucketHierarchicalNamespace struct {
// Set this field true to organize bucket with logical file system structure.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#enabled StorageBucket#enabled}
Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"`
}
type StorageBucketHierarchicalNamespaceOutputReference ¶
type StorageBucketHierarchicalNamespaceOutputReference 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
Enabled() interface{}
SetEnabled(val interface{})
EnabledInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *StorageBucketHierarchicalNamespace
SetInternalValue(val *StorageBucketHierarchicalNamespace)
// 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
// 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 NewStorageBucketHierarchicalNamespaceOutputReference ¶
func NewStorageBucketHierarchicalNamespaceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketHierarchicalNamespaceOutputReference
type StorageBucketIpFilter ¶
type StorageBucketIpFilter struct {
// The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#mode StorageBucket#mode}
Mode *string `field:"required" json:"mode" yaml:"mode"`
// Whether to allow all service agents to access the bucket regardless of the IP filter configuration.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#allow_all_service_agent_access StorageBucket#allow_all_service_agent_access}
AllowAllServiceAgentAccess interface{} `field:"optional" json:"allowAllServiceAgentAccess" yaml:"allowAllServiceAgentAccess"`
// Whether to allow cross-org VPCs in the bucket's IP filter configuration.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#allow_cross_org_vpcs StorageBucket#allow_cross_org_vpcs}
AllowCrossOrgVpcs interface{} `field:"optional" json:"allowCrossOrgVpcs" yaml:"allowCrossOrgVpcs"`
// public_network_source block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#public_network_source StorageBucket#public_network_source}
PublicNetworkSource *StorageBucketIpFilterPublicNetworkSource `field:"optional" json:"publicNetworkSource" yaml:"publicNetworkSource"`
// vpc_network_sources block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#vpc_network_sources StorageBucket#vpc_network_sources}
VpcNetworkSources interface{} `field:"optional" json:"vpcNetworkSources" yaml:"vpcNetworkSources"`
}
type StorageBucketIpFilterOutputReference ¶
type StorageBucketIpFilterOutputReference interface {
cdktf.ComplexObject
AllowAllServiceAgentAccess() interface{}
SetAllowAllServiceAgentAccess(val interface{})
AllowAllServiceAgentAccessInput() interface{}
AllowCrossOrgVpcs() interface{}
SetAllowCrossOrgVpcs(val interface{})
AllowCrossOrgVpcsInput() interface{}
// 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketIpFilter
SetInternalValue(val *StorageBucketIpFilter)
Mode() *string
SetMode(val *string)
ModeInput() *string
PublicNetworkSource() StorageBucketIpFilterPublicNetworkSourceOutputReference
PublicNetworkSourceInput() *StorageBucketIpFilterPublicNetworkSource
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
VpcNetworkSources() StorageBucketIpFilterVpcNetworkSourcesList
VpcNetworkSourcesInput() interface{}
// 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
PutPublicNetworkSource(value *StorageBucketIpFilterPublicNetworkSource)
PutVpcNetworkSources(value interface{})
ResetAllowAllServiceAgentAccess()
ResetAllowCrossOrgVpcs()
ResetPublicNetworkSource()
ResetVpcNetworkSources()
// 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 NewStorageBucketIpFilterOutputReference ¶
func NewStorageBucketIpFilterOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketIpFilterOutputReference
type StorageBucketIpFilterPublicNetworkSource ¶
type StorageBucketIpFilterPublicNetworkSource struct {
// The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#allowed_ip_cidr_ranges StorageBucket#allowed_ip_cidr_ranges}
AllowedIpCidrRanges *[]*string `field:"required" json:"allowedIpCidrRanges" yaml:"allowedIpCidrRanges"`
}
type StorageBucketIpFilterPublicNetworkSourceOutputReference ¶
type StorageBucketIpFilterPublicNetworkSourceOutputReference interface {
cdktf.ComplexObject
AllowedIpCidrRanges() *[]*string
SetAllowedIpCidrRanges(val *[]*string)
AllowedIpCidrRangesInput() *[]*string
// 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketIpFilterPublicNetworkSource
SetInternalValue(val *StorageBucketIpFilterPublicNetworkSource)
// 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
// 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 NewStorageBucketIpFilterPublicNetworkSourceOutputReference ¶
func NewStorageBucketIpFilterPublicNetworkSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketIpFilterPublicNetworkSourceOutputReference
type StorageBucketIpFilterVpcNetworkSources ¶
type StorageBucketIpFilterVpcNetworkSources struct {
// The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#allowed_ip_cidr_ranges StorageBucket#allowed_ip_cidr_ranges}
AllowedIpCidrRanges *[]*string `field:"required" json:"allowedIpCidrRanges" yaml:"allowedIpCidrRanges"`
// Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#network StorageBucket#network}
Network *string `field:"required" json:"network" yaml:"network"`
}
type StorageBucketIpFilterVpcNetworkSourcesList ¶
type StorageBucketIpFilterVpcNetworkSourcesList interface {
cdktf.ComplexList
// 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) StorageBucketIpFilterVpcNetworkSourcesOutputReference
// 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 NewStorageBucketIpFilterVpcNetworkSourcesList ¶
func NewStorageBucketIpFilterVpcNetworkSourcesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) StorageBucketIpFilterVpcNetworkSourcesList
type StorageBucketIpFilterVpcNetworkSourcesOutputReference ¶
type StorageBucketIpFilterVpcNetworkSourcesOutputReference interface {
cdktf.ComplexObject
AllowedIpCidrRanges() *[]*string
SetAllowedIpCidrRanges(val *[]*string)
AllowedIpCidrRangesInput() *[]*string
// 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Network() *string
SetNetwork(val *string)
NetworkInput() *string
// 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
// 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 NewStorageBucketIpFilterVpcNetworkSourcesOutputReference ¶
func NewStorageBucketIpFilterVpcNetworkSourcesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) StorageBucketIpFilterVpcNetworkSourcesOutputReference
type StorageBucketLifecycleRule ¶
type StorageBucketLifecycleRule struct {
// action block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#action StorageBucket#action}
Action *StorageBucketLifecycleRuleAction `field:"required" json:"action" yaml:"action"`
// condition block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#condition StorageBucket#condition}
Condition *StorageBucketLifecycleRuleCondition `field:"required" json:"condition" yaml:"condition"`
}
type StorageBucketLifecycleRuleAction ¶
type StorageBucketLifecycleRuleAction struct {
// The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#type StorageBucket#type}
Type *string `field:"required" json:"type" yaml:"type"`
// The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#storage_class StorageBucket#storage_class}
StorageClass *string `field:"optional" json:"storageClass" yaml:"storageClass"`
}
type StorageBucketLifecycleRuleActionOutputReference ¶
type StorageBucketLifecycleRuleActionOutputReference 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketLifecycleRuleAction
SetInternalValue(val *StorageBucketLifecycleRuleAction)
StorageClass() *string
SetStorageClass(val *string)
StorageClassInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Type() *string
SetType(val *string)
TypeInput() *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
ResetStorageClass()
// 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 NewStorageBucketLifecycleRuleActionOutputReference ¶
func NewStorageBucketLifecycleRuleActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketLifecycleRuleActionOutputReference
type StorageBucketLifecycleRuleCondition ¶
type StorageBucketLifecycleRuleCondition struct {
// Minimum age of an object in days to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#age StorageBucket#age}
Age *float64 `field:"optional" json:"age" yaml:"age"`
// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#created_before StorageBucket#created_before}
CreatedBefore *string `field:"optional" json:"createdBefore" yaml:"createdBefore"`
// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#custom_time_before StorageBucket#custom_time_before}
CustomTimeBefore *string `field:"optional" json:"customTimeBefore" yaml:"customTimeBefore"`
// Number of days elapsed since the user-specified timestamp set on an object.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#days_since_custom_time StorageBucket#days_since_custom_time}
DaysSinceCustomTime *float64 `field:"optional" json:"daysSinceCustomTime" yaml:"daysSinceCustomTime"`
// Number of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#days_since_noncurrent_time StorageBucket#days_since_noncurrent_time}
DaysSinceNoncurrentTime *float64 `field:"optional" json:"daysSinceNoncurrentTime" yaml:"daysSinceNoncurrentTime"`
// One or more matching name prefixes to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#matches_prefix StorageBucket#matches_prefix}
MatchesPrefix *[]*string `field:"optional" json:"matchesPrefix" yaml:"matchesPrefix"`
// Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#matches_storage_class StorageBucket#matches_storage_class}
MatchesStorageClass *[]*string `field:"optional" json:"matchesStorageClass" yaml:"matchesStorageClass"`
// One or more matching name suffixes to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#matches_suffix StorageBucket#matches_suffix}
MatchesSuffix *[]*string `field:"optional" json:"matchesSuffix" yaml:"matchesSuffix"`
// Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#noncurrent_time_before StorageBucket#noncurrent_time_before}
NoncurrentTimeBefore *string `field:"optional" json:"noncurrentTimeBefore" yaml:"noncurrentTimeBefore"`
// Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#num_newer_versions StorageBucket#num_newer_versions}
NumNewerVersions *float64 `field:"optional" json:"numNewerVersions" yaml:"numNewerVersions"`
// While set true, age value will be sent in the request even for zero value of the field.
//
// This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#send_age_if_zero StorageBucket#send_age_if_zero}
SendAgeIfZero interface{} `field:"optional" json:"sendAgeIfZero" yaml:"sendAgeIfZero"`
// While set true, days_since_custom_time value will be sent in the request even for zero value of the field.
//
// This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#send_days_since_custom_time_if_zero StorageBucket#send_days_since_custom_time_if_zero}
SendDaysSinceCustomTimeIfZero interface{} `field:"optional" json:"sendDaysSinceCustomTimeIfZero" yaml:"sendDaysSinceCustomTimeIfZero"`
// While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field.
//
// This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#send_days_since_noncurrent_time_if_zero StorageBucket#send_days_since_noncurrent_time_if_zero}
SendDaysSinceNoncurrentTimeIfZero interface{} `field:"optional" json:"sendDaysSinceNoncurrentTimeIfZero" yaml:"sendDaysSinceNoncurrentTimeIfZero"`
// While set true, num_newer_versions value will be sent in the request even for zero value of the field.
//
// This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#send_num_newer_versions_if_zero StorageBucket#send_num_newer_versions_if_zero}
SendNumNewerVersionsIfZero interface{} `field:"optional" json:"sendNumNewerVersionsIfZero" yaml:"sendNumNewerVersionsIfZero"`
// Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#with_state StorageBucket#with_state}
WithState *string `field:"optional" json:"withState" yaml:"withState"`
}
type StorageBucketLifecycleRuleConditionOutputReference ¶
type StorageBucketLifecycleRuleConditionOutputReference interface {
cdktf.ComplexObject
Age() *float64
SetAge(val *float64)
AgeInput() *float64
// 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)
CreatedBefore() *string
SetCreatedBefore(val *string)
CreatedBeforeInput() *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
CustomTimeBefore() *string
SetCustomTimeBefore(val *string)
CustomTimeBeforeInput() *string
DaysSinceCustomTime() *float64
SetDaysSinceCustomTime(val *float64)
DaysSinceCustomTimeInput() *float64
DaysSinceNoncurrentTime() *float64
SetDaysSinceNoncurrentTime(val *float64)
DaysSinceNoncurrentTimeInput() *float64
// Experimental.
Fqn() *string
InternalValue() *StorageBucketLifecycleRuleCondition
SetInternalValue(val *StorageBucketLifecycleRuleCondition)
MatchesPrefix() *[]*string
SetMatchesPrefix(val *[]*string)
MatchesPrefixInput() *[]*string
MatchesStorageClass() *[]*string
SetMatchesStorageClass(val *[]*string)
MatchesStorageClassInput() *[]*string
MatchesSuffix() *[]*string
SetMatchesSuffix(val *[]*string)
MatchesSuffixInput() *[]*string
NoncurrentTimeBefore() *string
SetNoncurrentTimeBefore(val *string)
NoncurrentTimeBeforeInput() *string
NumNewerVersions() *float64
SetNumNewerVersions(val *float64)
NumNewerVersionsInput() *float64
SendAgeIfZero() interface{}
SetSendAgeIfZero(val interface{})
SendAgeIfZeroInput() interface{}
SendDaysSinceCustomTimeIfZero() interface{}
SetSendDaysSinceCustomTimeIfZero(val interface{})
SendDaysSinceCustomTimeIfZeroInput() interface{}
SendDaysSinceNoncurrentTimeIfZero() interface{}
SetSendDaysSinceNoncurrentTimeIfZero(val interface{})
SendDaysSinceNoncurrentTimeIfZeroInput() interface{}
SendNumNewerVersionsIfZero() interface{}
SetSendNumNewerVersionsIfZero(val interface{})
SendNumNewerVersionsIfZeroInput() interface{}
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
WithState() *string
SetWithState(val *string)
WithStateInput() *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
ResetAge()
ResetCreatedBefore()
ResetCustomTimeBefore()
ResetDaysSinceCustomTime()
ResetDaysSinceNoncurrentTime()
ResetMatchesPrefix()
ResetMatchesStorageClass()
ResetMatchesSuffix()
ResetNoncurrentTimeBefore()
ResetNumNewerVersions()
ResetSendAgeIfZero()
ResetSendDaysSinceCustomTimeIfZero()
ResetSendDaysSinceNoncurrentTimeIfZero()
ResetSendNumNewerVersionsIfZero()
ResetWithState()
// 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 NewStorageBucketLifecycleRuleConditionOutputReference ¶
func NewStorageBucketLifecycleRuleConditionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketLifecycleRuleConditionOutputReference
type StorageBucketLifecycleRuleList ¶
type StorageBucketLifecycleRuleList interface {
cdktf.ComplexList
// 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) StorageBucketLifecycleRuleOutputReference
// 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 NewStorageBucketLifecycleRuleList ¶
func NewStorageBucketLifecycleRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) StorageBucketLifecycleRuleList
type StorageBucketLifecycleRuleOutputReference ¶
type StorageBucketLifecycleRuleOutputReference interface {
cdktf.ComplexObject
Action() StorageBucketLifecycleRuleActionOutputReference
ActionInput() *StorageBucketLifecycleRuleAction
// 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)
Condition() StorageBucketLifecycleRuleConditionOutputReference
ConditionInput() *StorageBucketLifecycleRuleCondition
// 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// 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
PutAction(value *StorageBucketLifecycleRuleAction)
PutCondition(value *StorageBucketLifecycleRuleCondition)
// 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 NewStorageBucketLifecycleRuleOutputReference ¶
func NewStorageBucketLifecycleRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) StorageBucketLifecycleRuleOutputReference
type StorageBucketLogging ¶
type StorageBucketLogging struct {
// The bucket that will receive log objects.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#log_bucket StorageBucket#log_bucket}
LogBucket *string `field:"required" json:"logBucket" yaml:"logBucket"`
// The object prefix for log objects.
//
// If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#log_object_prefix StorageBucket#log_object_prefix}
LogObjectPrefix *string `field:"optional" json:"logObjectPrefix" yaml:"logObjectPrefix"`
}
type StorageBucketLoggingOutputReference ¶
type StorageBucketLoggingOutputReference 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketLogging
SetInternalValue(val *StorageBucketLogging)
LogBucket() *string
SetLogBucket(val *string)
LogBucketInput() *string
LogObjectPrefix() *string
SetLogObjectPrefix(val *string)
LogObjectPrefixInput() *string
// 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
ResetLogObjectPrefix()
// 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 NewStorageBucketLoggingOutputReference ¶
func NewStorageBucketLoggingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketLoggingOutputReference
type StorageBucketRetentionPolicy ¶
type StorageBucketRetentionPolicy struct {
// The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived.
//
// The value must be less than 3,155,760,000 seconds.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#retention_period StorageBucket#retention_period}
RetentionPeriod *float64 `field:"required" json:"retentionPeriod" yaml:"retentionPeriod"`
// If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.
//
// Caution: Locking a bucket is an irreversible action.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#is_locked StorageBucket#is_locked}
IsLocked interface{} `field:"optional" json:"isLocked" yaml:"isLocked"`
}
type StorageBucketRetentionPolicyOutputReference ¶
type StorageBucketRetentionPolicyOutputReference 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketRetentionPolicy
SetInternalValue(val *StorageBucketRetentionPolicy)
IsLocked() interface{}
SetIsLocked(val interface{})
IsLockedInput() interface{}
RetentionPeriod() *float64
SetRetentionPeriod(val *float64)
RetentionPeriodInput() *float64
// 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
ResetIsLocked()
// 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 NewStorageBucketRetentionPolicyOutputReference ¶
func NewStorageBucketRetentionPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketRetentionPolicyOutputReference
type StorageBucketSoftDeletePolicy ¶
type StorageBucketSoftDeletePolicy struct {
// The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.
//
// Default value is 604800.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#retention_duration_seconds StorageBucket#retention_duration_seconds}
RetentionDurationSeconds *float64 `field:"optional" json:"retentionDurationSeconds" yaml:"retentionDurationSeconds"`
}
type StorageBucketSoftDeletePolicyOutputReference ¶
type StorageBucketSoftDeletePolicyOutputReference 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
EffectiveTime() *string
// Experimental.
Fqn() *string
InternalValue() *StorageBucketSoftDeletePolicy
SetInternalValue(val *StorageBucketSoftDeletePolicy)
RetentionDurationSeconds() *float64
SetRetentionDurationSeconds(val *float64)
RetentionDurationSecondsInput() *float64
// 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
ResetRetentionDurationSeconds()
// 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 NewStorageBucketSoftDeletePolicyOutputReference ¶
func NewStorageBucketSoftDeletePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketSoftDeletePolicyOutputReference
type StorageBucketTimeouts ¶
type StorageBucketTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#create StorageBucket#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#read StorageBucket#read}.
Read *string `field:"optional" json:"read" yaml:"read"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#update StorageBucket#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type StorageBucketTimeoutsOutputReference ¶
type StorageBucketTimeoutsOutputReference 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
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Read() *string
SetRead(val *string)
ReadInput() *string
// 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()
ResetRead()
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 NewStorageBucketTimeoutsOutputReference ¶
func NewStorageBucketTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketTimeoutsOutputReference
type StorageBucketVersioning ¶
type StorageBucketVersioning struct {
// While set to true, versioning is fully enabled for this bucket.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#enabled StorageBucket#enabled}
Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"`
}
type StorageBucketVersioningOutputReference ¶
type StorageBucketVersioningOutputReference 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
Enabled() interface{}
SetEnabled(val interface{})
EnabledInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *StorageBucketVersioning
SetInternalValue(val *StorageBucketVersioning)
// 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
// 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 NewStorageBucketVersioningOutputReference ¶
func NewStorageBucketVersioningOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketVersioningOutputReference
type StorageBucketWebsite ¶
type StorageBucketWebsite struct {
// Behaves as the bucket's directory index where missing objects are treated as potential directories.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#main_page_suffix StorageBucket#main_page_suffix}
MainPageSuffix *string `field:"optional" json:"mainPageSuffix" yaml:"mainPageSuffix"`
// The custom object to return when a requested resource is not found.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.45.0/docs/resources/storage_bucket#not_found_page StorageBucket#not_found_page}
NotFoundPage *string `field:"optional" json:"notFoundPage" yaml:"notFoundPage"`
}
type StorageBucketWebsiteOutputReference ¶
type StorageBucketWebsiteOutputReference 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
// Experimental.
Fqn() *string
InternalValue() *StorageBucketWebsite
SetInternalValue(val *StorageBucketWebsite)
MainPageSuffix() *string
SetMainPageSuffix(val *string)
MainPageSuffixInput() *string
NotFoundPage() *string
SetNotFoundPage(val *string)
NotFoundPageInput() *string
// 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
ResetMainPageSuffix()
ResetNotFoundPage()
// 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 NewStorageBucketWebsiteOutputReference ¶
func NewStorageBucketWebsiteOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) StorageBucketWebsiteOutputReference
Source Files
¶
- StorageBucket.go
- StorageBucketAutoclass.go
- StorageBucketAutoclassOutputReference.go
- StorageBucketAutoclassOutputReference__checks.go
- StorageBucketConfig.go
- StorageBucketCors.go
- StorageBucketCorsList.go
- StorageBucketCorsList__checks.go
- StorageBucketCorsOutputReference.go
- StorageBucketCorsOutputReference__checks.go
- StorageBucketCustomPlacementConfig.go
- StorageBucketCustomPlacementConfigOutputReference.go
- StorageBucketCustomPlacementConfigOutputReference__checks.go
- StorageBucketEncryption.go
- StorageBucketEncryptionOutputReference.go
- StorageBucketEncryptionOutputReference__checks.go
- StorageBucketHierarchicalNamespace.go
- StorageBucketHierarchicalNamespaceOutputReference.go
- StorageBucketHierarchicalNamespaceOutputReference__checks.go
- StorageBucketIpFilter.go
- StorageBucketIpFilterOutputReference.go
- StorageBucketIpFilterOutputReference__checks.go
- StorageBucketIpFilterPublicNetworkSource.go
- StorageBucketIpFilterPublicNetworkSourceOutputReference.go
- StorageBucketIpFilterPublicNetworkSourceOutputReference__checks.go
- StorageBucketIpFilterVpcNetworkSources.go
- StorageBucketIpFilterVpcNetworkSourcesList.go
- StorageBucketIpFilterVpcNetworkSourcesList__checks.go
- StorageBucketIpFilterVpcNetworkSourcesOutputReference.go
- StorageBucketIpFilterVpcNetworkSourcesOutputReference__checks.go
- StorageBucketLifecycleRule.go
- StorageBucketLifecycleRuleAction.go
- StorageBucketLifecycleRuleActionOutputReference.go
- StorageBucketLifecycleRuleActionOutputReference__checks.go
- StorageBucketLifecycleRuleCondition.go
- StorageBucketLifecycleRuleConditionOutputReference.go
- StorageBucketLifecycleRuleConditionOutputReference__checks.go
- StorageBucketLifecycleRuleList.go
- StorageBucketLifecycleRuleList__checks.go
- StorageBucketLifecycleRuleOutputReference.go
- StorageBucketLifecycleRuleOutputReference__checks.go
- StorageBucketLogging.go
- StorageBucketLoggingOutputReference.go
- StorageBucketLoggingOutputReference__checks.go
- StorageBucketRetentionPolicy.go
- StorageBucketRetentionPolicyOutputReference.go
- StorageBucketRetentionPolicyOutputReference__checks.go
- StorageBucketSoftDeletePolicy.go
- StorageBucketSoftDeletePolicyOutputReference.go
- StorageBucketSoftDeletePolicyOutputReference__checks.go
- StorageBucketTimeouts.go
- StorageBucketTimeoutsOutputReference.go
- StorageBucketTimeoutsOutputReference__checks.go
- StorageBucketVersioning.go
- StorageBucketVersioningOutputReference.go
- StorageBucketVersioningOutputReference__checks.go
- StorageBucketWebsite.go
- StorageBucketWebsiteOutputReference.go
- StorageBucketWebsiteOutputReference__checks.go
- StorageBucket__checks.go
- main.go