Documentation ¶
Index ¶
- func NewSpacesBucketCorsRuleList_Override(s SpacesBucketCorsRuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSpacesBucketCorsRuleOutputReference_Override(s SpacesBucketCorsRuleOutputReference, ...)
- func NewSpacesBucketLifecycleRuleExpirationOutputReference_Override(s SpacesBucketLifecycleRuleExpirationOutputReference, ...)
- func NewSpacesBucketLifecycleRuleList_Override(s SpacesBucketLifecycleRuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference_Override(s SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference, ...)
- func NewSpacesBucketLifecycleRuleOutputReference_Override(s SpacesBucketLifecycleRuleOutputReference, ...)
- func NewSpacesBucketVersioningOutputReference_Override(s SpacesBucketVersioningOutputReference, ...)
- func NewSpacesBucket_Override(s SpacesBucket, scope constructs.Construct, id *string, ...)
- func SpacesBucket_IsConstruct(x interface{}) *bool
- func SpacesBucket_TfResourceType() *string
- type SpacesBucket
- type SpacesBucketConfig
- type SpacesBucketCorsRule
- type SpacesBucketCorsRuleList
- type SpacesBucketCorsRuleOutputReference
- type SpacesBucketLifecycleRule
- type SpacesBucketLifecycleRuleExpiration
- type SpacesBucketLifecycleRuleExpirationOutputReference
- type SpacesBucketLifecycleRuleList
- type SpacesBucketLifecycleRuleNoncurrentVersionExpiration
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference
- type SpacesBucketLifecycleRuleOutputReference
- type SpacesBucketVersioning
- type SpacesBucketVersioningOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpacesBucketCorsRuleList_Override ¶
func NewSpacesBucketCorsRuleList_Override(s SpacesBucketCorsRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSpacesBucketCorsRuleOutputReference_Override ¶
func NewSpacesBucketCorsRuleOutputReference_Override(s SpacesBucketCorsRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSpacesBucketLifecycleRuleExpirationOutputReference_Override ¶
func NewSpacesBucketLifecycleRuleExpirationOutputReference_Override(s SpacesBucketLifecycleRuleExpirationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewSpacesBucketLifecycleRuleList_Override ¶
func NewSpacesBucketLifecycleRuleList_Override(s SpacesBucketLifecycleRuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference_Override ¶
func NewSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference_Override(s SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewSpacesBucketLifecycleRuleOutputReference_Override ¶
func NewSpacesBucketLifecycleRuleOutputReference_Override(s SpacesBucketLifecycleRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSpacesBucketVersioningOutputReference_Override ¶
func NewSpacesBucketVersioningOutputReference_Override(s SpacesBucketVersioningOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewSpacesBucket_Override ¶
func NewSpacesBucket_Override(s SpacesBucket, scope constructs.Construct, id *string, config *SpacesBucketConfig)
Create a new {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket digitalocean_spaces_bucket} Resource.
func SpacesBucket_IsConstruct ¶
func SpacesBucket_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 SpacesBucket_TfResourceType ¶
func SpacesBucket_TfResourceType() *string
Types ¶
type SpacesBucket ¶
type SpacesBucket interface { cdktf.TerraformResource Acl() *string SetAcl(val *string) AclInput() *string BucketDomainName() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} CorsRule() SpacesBucketCorsRuleList CorsRuleInput() interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) ForceDestroy() interface{} SetForceDestroy(val interface{}) ForceDestroyInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LifecycleRule() SpacesBucketLifecycleRuleList LifecycleRuleInput() interface{} Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Urn() *string Versioning() SpacesBucketVersioningOutputReference VersioningInput() *SpacesBucketVersioning // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCorsRule(value interface{}) PutLifecycleRule(value interface{}) PutVersioning(value *SpacesBucketVersioning) ResetAcl() ResetCorsRule() ResetForceDestroy() ResetId() ResetLifecycleRule() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRegion() ResetVersioning() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket digitalocean_spaces_bucket}.
func NewSpacesBucket ¶
func NewSpacesBucket(scope constructs.Construct, id *string, config *SpacesBucketConfig) SpacesBucket
Create a new {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket digitalocean_spaces_bucket} Resource.
type SpacesBucketConfig ¶
type SpacesBucketConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // Bucket name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#name SpacesBucket#name} Name *string `field:"required" json:"name" yaml:"name"` // Canned ACL applied on bucket creation. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#acl SpacesBucket#acl} Acl *string `field:"optional" json:"acl" yaml:"acl"` // cors_rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#cors_rule SpacesBucket#cors_rule} CorsRule interface{} `field:"optional" json:"corsRule" yaml:"corsRule"` // Unless true, the bucket will only be destroyed if empty. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#force_destroy SpacesBucket#force_destroy} ForceDestroy interface{} `field:"optional" json:"forceDestroy" yaml:"forceDestroy"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#id SpacesBucket#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"` // lifecycle_rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#lifecycle_rule SpacesBucket#lifecycle_rule} LifecycleRule interface{} `field:"optional" json:"lifecycleRule" yaml:"lifecycleRule"` // Bucket region. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#region SpacesBucket#region} Region *string `field:"optional" json:"region" yaml:"region"` // versioning block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#versioning SpacesBucket#versioning} Versioning *SpacesBucketVersioning `field:"optional" json:"versioning" yaml:"versioning"` }
type SpacesBucketCorsRule ¶
type SpacesBucketCorsRule struct { // A list of HTTP methods (e.g. GET) which are allowed from the specified origin. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#allowed_methods SpacesBucket#allowed_methods} AllowedMethods *[]*string `field:"required" json:"allowedMethods" yaml:"allowedMethods"` // A list of hosts from which requests using the specified methods are allowed. // // A host may contain one wildcard (e.g. http://*.example.com). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#allowed_origins SpacesBucket#allowed_origins} AllowedOrigins *[]*string `field:"required" json:"allowedOrigins" yaml:"allowedOrigins"` // A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. // // A header may contain one wildcard (e.g. x-amz-*). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#allowed_headers SpacesBucket#allowed_headers} AllowedHeaders *[]*string `field:"optional" json:"allowedHeaders" yaml:"allowedHeaders"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#max_age_seconds SpacesBucket#max_age_seconds}. MaxAgeSeconds *float64 `field:"optional" json:"maxAgeSeconds" yaml:"maxAgeSeconds"` }
type SpacesBucketCorsRuleList ¶
type SpacesBucketCorsRuleList 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) // Experimental. ComputeFqn() *string Get(index *float64) SpacesBucketCorsRuleOutputReference // 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 NewSpacesBucketCorsRuleList ¶
func NewSpacesBucketCorsRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SpacesBucketCorsRuleList
type SpacesBucketCorsRuleOutputReference ¶
type SpacesBucketCorsRuleOutputReference interface { cdktf.ComplexObject AllowedHeaders() *[]*string SetAllowedHeaders(val *[]*string) AllowedHeadersInput() *[]*string AllowedMethods() *[]*string SetAllowedMethods(val *[]*string) AllowedMethodsInput() *[]*string AllowedOrigins() *[]*string SetAllowedOrigins(val *[]*string) AllowedOriginsInput() *[]*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{}) MaxAgeSeconds() *float64 SetMaxAgeSeconds(val *float64) MaxAgeSecondsInput() *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 ResetAllowedHeaders() ResetMaxAgeSeconds() // 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 NewSpacesBucketCorsRuleOutputReference ¶
func NewSpacesBucketCorsRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SpacesBucketCorsRuleOutputReference
type SpacesBucketLifecycleRule ¶
type SpacesBucketLifecycleRule struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#enabled SpacesBucket#enabled}. Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#abort_incomplete_multipart_upload_days SpacesBucket#abort_incomplete_multipart_upload_days}. AbortIncompleteMultipartUploadDays *float64 `field:"optional" json:"abortIncompleteMultipartUploadDays" yaml:"abortIncompleteMultipartUploadDays"` // expiration block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#expiration SpacesBucket#expiration} Expiration *SpacesBucketLifecycleRuleExpiration `field:"optional" json:"expiration" yaml:"expiration"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#id SpacesBucket#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"` // noncurrent_version_expiration block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#noncurrent_version_expiration SpacesBucket#noncurrent_version_expiration} NoncurrentVersionExpiration *SpacesBucketLifecycleRuleNoncurrentVersionExpiration `field:"optional" json:"noncurrentVersionExpiration" yaml:"noncurrentVersionExpiration"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#prefix SpacesBucket#prefix}. Prefix *string `field:"optional" json:"prefix" yaml:"prefix"` }
type SpacesBucketLifecycleRuleExpiration ¶
type SpacesBucketLifecycleRuleExpiration struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#date SpacesBucket#date}. Date *string `field:"optional" json:"date" yaml:"date"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#days SpacesBucket#days}. Days *float64 `field:"optional" json:"days" yaml:"days"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#expired_object_delete_marker SpacesBucket#expired_object_delete_marker}. ExpiredObjectDeleteMarker interface{} `field:"optional" json:"expiredObjectDeleteMarker" yaml:"expiredObjectDeleteMarker"` }
type SpacesBucketLifecycleRuleExpirationOutputReference ¶
type SpacesBucketLifecycleRuleExpirationOutputReference 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 Date() *string SetDate(val *string) DateInput() *string Days() *float64 SetDays(val *float64) DaysInput() *float64 ExpiredObjectDeleteMarker() interface{} SetExpiredObjectDeleteMarker(val interface{}) ExpiredObjectDeleteMarkerInput() interface{} // Experimental. Fqn() *string InternalValue() *SpacesBucketLifecycleRuleExpiration SetInternalValue(val *SpacesBucketLifecycleRuleExpiration) // 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 ResetDate() ResetDays() ResetExpiredObjectDeleteMarker() // 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 NewSpacesBucketLifecycleRuleExpirationOutputReference ¶
func NewSpacesBucketLifecycleRuleExpirationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) SpacesBucketLifecycleRuleExpirationOutputReference
type SpacesBucketLifecycleRuleList ¶
type SpacesBucketLifecycleRuleList 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) // Experimental. ComputeFqn() *string Get(index *float64) SpacesBucketLifecycleRuleOutputReference // 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 NewSpacesBucketLifecycleRuleList ¶
func NewSpacesBucketLifecycleRuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SpacesBucketLifecycleRuleList
type SpacesBucketLifecycleRuleNoncurrentVersionExpiration ¶
type SpacesBucketLifecycleRuleNoncurrentVersionExpiration struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#days SpacesBucket#days}. Days *float64 `field:"optional" json:"days" yaml:"days"` }
type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference ¶
type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference 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 Days() *float64 SetDays(val *float64) DaysInput() *float64 // Experimental. Fqn() *string InternalValue() *SpacesBucketLifecycleRuleNoncurrentVersionExpiration SetInternalValue(val *SpacesBucketLifecycleRuleNoncurrentVersionExpiration) // 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 ResetDays() // 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 NewSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference ¶
func NewSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference
type SpacesBucketLifecycleRuleOutputReference ¶
type SpacesBucketLifecycleRuleOutputReference interface { cdktf.ComplexObject AbortIncompleteMultipartUploadDays() *float64 SetAbortIncompleteMultipartUploadDays(val *float64) AbortIncompleteMultipartUploadDaysInput() *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) // 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{} Expiration() SpacesBucketLifecycleRuleExpirationOutputReference ExpirationInput() *SpacesBucketLifecycleRuleExpiration // Experimental. Fqn() *string Id() *string SetId(val *string) IdInput() *string InternalValue() interface{} SetInternalValue(val interface{}) NoncurrentVersionExpiration() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference NoncurrentVersionExpirationInput() *SpacesBucketLifecycleRuleNoncurrentVersionExpiration Prefix() *string SetPrefix(val *string) PrefixInput() *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 PutExpiration(value *SpacesBucketLifecycleRuleExpiration) PutNoncurrentVersionExpiration(value *SpacesBucketLifecycleRuleNoncurrentVersionExpiration) ResetAbortIncompleteMultipartUploadDays() ResetExpiration() ResetId() ResetNoncurrentVersionExpiration() ResetPrefix() // 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 NewSpacesBucketLifecycleRuleOutputReference ¶
func NewSpacesBucketLifecycleRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SpacesBucketLifecycleRuleOutputReference
type SpacesBucketVersioning ¶
type SpacesBucketVersioning struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean/r/spaces_bucket#enabled SpacesBucket#enabled}.
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
}
type SpacesBucketVersioningOutputReference ¶
type SpacesBucketVersioningOutputReference 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() *SpacesBucketVersioning SetInternalValue(val *SpacesBucketVersioning) // 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 ResetEnabled() // 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 NewSpacesBucketVersioningOutputReference ¶
func NewSpacesBucketVersioningOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) SpacesBucketVersioningOutputReference
Source Files ¶
- spacesbucket.go
- spacesbucket_SpacesBucket.go
- spacesbucket_SpacesBucketConfig.go
- spacesbucket_SpacesBucketCorsRule.go
- spacesbucket_SpacesBucketCorsRuleList.go
- spacesbucket_SpacesBucketCorsRuleList__runtime_type_checks.go
- spacesbucket_SpacesBucketCorsRuleOutputReference.go
- spacesbucket_SpacesBucketCorsRuleOutputReference__runtime_type_checks.go
- spacesbucket_SpacesBucketLifecycleRule.go
- spacesbucket_SpacesBucketLifecycleRuleExpiration.go
- spacesbucket_SpacesBucketLifecycleRuleExpirationOutputReference.go
- spacesbucket_SpacesBucketLifecycleRuleExpirationOutputReference__runtime_type_checks.go
- spacesbucket_SpacesBucketLifecycleRuleList.go
- spacesbucket_SpacesBucketLifecycleRuleList__runtime_type_checks.go
- spacesbucket_SpacesBucketLifecycleRuleNoncurrentVersionExpiration.go
- spacesbucket_SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference.go
- spacesbucket_SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputReference__runtime_type_checks.go
- spacesbucket_SpacesBucketLifecycleRuleOutputReference.go
- spacesbucket_SpacesBucketLifecycleRuleOutputReference__runtime_type_checks.go
- spacesbucket_SpacesBucketVersioning.go
- spacesbucket_SpacesBucketVersioningOutputReference.go
- spacesbucket_SpacesBucketVersioningOutputReference__runtime_type_checks.go
- spacesbucket_SpacesBucket__runtime_type_checks.go