Documentation ¶
Index ¶
- type Args
- type Autoclass
- type AutoclassAttributes
- func (a AutoclassAttributes) Enabled() terra.BoolValue
- func (a AutoclassAttributes) InternalRef() (terra.Reference, error)
- func (a AutoclassAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AutoclassAttributes) InternalWithRef(ref terra.Reference) AutoclassAttributes
- func (a AutoclassAttributes) TerminalStorageClass() terra.StringValue
- type AutoclassState
- type Cors
- type CorsAttributes
- func (c CorsAttributes) InternalRef() (terra.Reference, error)
- func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes
- func (c CorsAttributes) MaxAgeSeconds() terra.NumberValue
- func (c CorsAttributes) Method() terra.ListValue[terra.StringValue]
- func (c CorsAttributes) Origin() terra.ListValue[terra.StringValue]
- func (c CorsAttributes) ResponseHeader() terra.ListValue[terra.StringValue]
- type CorsState
- type CustomPlacementConfig
- type CustomPlacementConfigAttributes
- func (cpc CustomPlacementConfigAttributes) DataLocations() terra.SetValue[terra.StringValue]
- func (cpc CustomPlacementConfigAttributes) InternalRef() (terra.Reference, error)
- func (cpc CustomPlacementConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpc CustomPlacementConfigAttributes) InternalWithRef(ref terra.Reference) CustomPlacementConfigAttributes
- type CustomPlacementConfigState
- type DataArgs
- type DataAutoclassAttributes
- func (a DataAutoclassAttributes) Enabled() terra.BoolValue
- func (a DataAutoclassAttributes) InternalRef() (terra.Reference, error)
- func (a DataAutoclassAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAutoclassAttributes) InternalWithRef(ref terra.Reference) DataAutoclassAttributes
- func (a DataAutoclassAttributes) TerminalStorageClass() terra.StringValue
- type DataAutoclassState
- type DataCorsAttributes
- func (c DataCorsAttributes) InternalRef() (terra.Reference, error)
- func (c DataCorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataCorsAttributes) InternalWithRef(ref terra.Reference) DataCorsAttributes
- func (c DataCorsAttributes) MaxAgeSeconds() terra.NumberValue
- func (c DataCorsAttributes) Method() terra.ListValue[terra.StringValue]
- func (c DataCorsAttributes) Origin() terra.ListValue[terra.StringValue]
- func (c DataCorsAttributes) ResponseHeader() terra.ListValue[terra.StringValue]
- type DataCorsState
- type DataCustomPlacementConfigAttributes
- func (cpc DataCustomPlacementConfigAttributes) DataLocations() terra.SetValue[terra.StringValue]
- func (cpc DataCustomPlacementConfigAttributes) InternalRef() (terra.Reference, error)
- func (cpc DataCustomPlacementConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpc DataCustomPlacementConfigAttributes) InternalWithRef(ref terra.Reference) DataCustomPlacementConfigAttributes
- type DataCustomPlacementConfigState
- type DataEncryptionAttributes
- func (e DataEncryptionAttributes) DefaultKmsKeyName() terra.StringValue
- func (e DataEncryptionAttributes) InternalRef() (terra.Reference, error)
- func (e DataEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DataEncryptionAttributes) InternalWithRef(ref terra.Reference) DataEncryptionAttributes
- type DataEncryptionState
- type DataLifecycleRuleActionAttributes
- func (a DataLifecycleRuleActionAttributes) InternalRef() (terra.Reference, error)
- func (a DataLifecycleRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataLifecycleRuleActionAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleActionAttributes
- func (a DataLifecycleRuleActionAttributes) StorageClass() terra.StringValue
- func (a DataLifecycleRuleActionAttributes) Type() terra.StringValue
- type DataLifecycleRuleActionState
- type DataLifecycleRuleAttributes
- func (lr DataLifecycleRuleAttributes) Action() terra.SetValue[DataLifecycleRuleActionAttributes]
- func (lr DataLifecycleRuleAttributes) Condition() terra.SetValue[DataLifecycleRuleConditionAttributes]
- func (lr DataLifecycleRuleAttributes) InternalRef() (terra.Reference, error)
- func (lr DataLifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lr DataLifecycleRuleAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleAttributes
- type DataLifecycleRuleConditionAttributes
- func (c DataLifecycleRuleConditionAttributes) Age() terra.NumberValue
- func (c DataLifecycleRuleConditionAttributes) CreatedBefore() terra.StringValue
- func (c DataLifecycleRuleConditionAttributes) CustomTimeBefore() terra.StringValue
- func (c DataLifecycleRuleConditionAttributes) DaysSinceCustomTime() terra.NumberValue
- func (c DataLifecycleRuleConditionAttributes) DaysSinceNoncurrentTime() terra.NumberValue
- func (c DataLifecycleRuleConditionAttributes) InternalRef() (terra.Reference, error)
- func (c DataLifecycleRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataLifecycleRuleConditionAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleConditionAttributes
- func (c DataLifecycleRuleConditionAttributes) MatchesPrefix() terra.ListValue[terra.StringValue]
- func (c DataLifecycleRuleConditionAttributes) MatchesStorageClass() terra.ListValue[terra.StringValue]
- func (c DataLifecycleRuleConditionAttributes) MatchesSuffix() terra.ListValue[terra.StringValue]
- func (c DataLifecycleRuleConditionAttributes) NoAge() terra.BoolValue
- func (c DataLifecycleRuleConditionAttributes) NoncurrentTimeBefore() terra.StringValue
- func (c DataLifecycleRuleConditionAttributes) NumNewerVersions() terra.NumberValue
- func (c DataLifecycleRuleConditionAttributes) WithState() terra.StringValue
- type DataLifecycleRuleConditionState
- type DataLifecycleRuleState
- type DataLoggingAttributes
- func (l DataLoggingAttributes) InternalRef() (terra.Reference, error)
- func (l DataLoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l DataLoggingAttributes) InternalWithRef(ref terra.Reference) DataLoggingAttributes
- func (l DataLoggingAttributes) LogBucket() terra.StringValue
- func (l DataLoggingAttributes) LogObjectPrefix() terra.StringValue
- type DataLoggingState
- type DataRetentionPolicyAttributes
- func (rp DataRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp DataRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp DataRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) DataRetentionPolicyAttributes
- func (rp DataRetentionPolicyAttributes) IsLocked() terra.BoolValue
- func (rp DataRetentionPolicyAttributes) RetentionPeriod() terra.NumberValue
- type DataRetentionPolicyState
- type DataSoftDeletePolicyAttributes
- func (sdp DataSoftDeletePolicyAttributes) EffectiveTime() terra.StringValue
- func (sdp DataSoftDeletePolicyAttributes) InternalRef() (terra.Reference, error)
- func (sdp DataSoftDeletePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sdp DataSoftDeletePolicyAttributes) InternalWithRef(ref terra.Reference) DataSoftDeletePolicyAttributes
- func (sdp DataSoftDeletePolicyAttributes) RetentionDurationSeconds() terra.NumberValue
- type DataSoftDeletePolicyState
- type DataSource
- type DataVersioningAttributes
- func (v DataVersioningAttributes) Enabled() terra.BoolValue
- func (v DataVersioningAttributes) InternalRef() (terra.Reference, error)
- func (v DataVersioningAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DataVersioningAttributes) InternalWithRef(ref terra.Reference) DataVersioningAttributes
- type DataVersioningState
- type DataWebsiteAttributes
- func (w DataWebsiteAttributes) InternalRef() (terra.Reference, error)
- func (w DataWebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (w DataWebsiteAttributes) InternalWithRef(ref terra.Reference) DataWebsiteAttributes
- func (w DataWebsiteAttributes) MainPageSuffix() terra.StringValue
- func (w DataWebsiteAttributes) NotFoundPage() terra.StringValue
- type DataWebsiteState
- type Encryption
- type EncryptionAttributes
- type EncryptionState
- type LifecycleRule
- type LifecycleRuleAction
- type LifecycleRuleActionAttributes
- func (a LifecycleRuleActionAttributes) InternalRef() (terra.Reference, error)
- func (a LifecycleRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a LifecycleRuleActionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleActionAttributes
- func (a LifecycleRuleActionAttributes) StorageClass() terra.StringValue
- func (a LifecycleRuleActionAttributes) Type() terra.StringValue
- type LifecycleRuleActionState
- type LifecycleRuleAttributes
- func (lr LifecycleRuleAttributes) Action() terra.SetValue[LifecycleRuleActionAttributes]
- func (lr LifecycleRuleAttributes) Condition() terra.SetValue[LifecycleRuleConditionAttributes]
- func (lr LifecycleRuleAttributes) InternalRef() (terra.Reference, error)
- func (lr LifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lr LifecycleRuleAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleAttributes
- type LifecycleRuleCondition
- type LifecycleRuleConditionAttributes
- func (c LifecycleRuleConditionAttributes) Age() terra.NumberValue
- func (c LifecycleRuleConditionAttributes) CreatedBefore() terra.StringValue
- func (c LifecycleRuleConditionAttributes) CustomTimeBefore() terra.StringValue
- func (c LifecycleRuleConditionAttributes) DaysSinceCustomTime() terra.NumberValue
- func (c LifecycleRuleConditionAttributes) DaysSinceNoncurrentTime() terra.NumberValue
- func (c LifecycleRuleConditionAttributes) InternalRef() (terra.Reference, error)
- func (c LifecycleRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c LifecycleRuleConditionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleConditionAttributes
- func (c LifecycleRuleConditionAttributes) MatchesPrefix() terra.ListValue[terra.StringValue]
- func (c LifecycleRuleConditionAttributes) MatchesStorageClass() terra.ListValue[terra.StringValue]
- func (c LifecycleRuleConditionAttributes) MatchesSuffix() terra.ListValue[terra.StringValue]
- func (c LifecycleRuleConditionAttributes) NoAge() terra.BoolValue
- func (c LifecycleRuleConditionAttributes) NoncurrentTimeBefore() terra.StringValue
- func (c LifecycleRuleConditionAttributes) NumNewerVersions() terra.NumberValue
- func (c LifecycleRuleConditionAttributes) WithState() terra.StringValue
- type LifecycleRuleConditionState
- type LifecycleRuleState
- type Logging
- type LoggingAttributes
- func (l LoggingAttributes) InternalRef() (terra.Reference, error)
- func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
- func (l LoggingAttributes) LogBucket() terra.StringValue
- func (l LoggingAttributes) LogObjectPrefix() terra.StringValue
- type LoggingState
- type Resource
- func (gsb *Resource) Attributes() googleStorageBucketAttributes
- func (gsb *Resource) Configuration() interface{}
- func (gsb *Resource) DependOn() terra.Reference
- func (gsb *Resource) Dependencies() terra.Dependencies
- func (gsb *Resource) ImportState(state io.Reader) error
- func (gsb *Resource) LifecycleManagement() *terra.Lifecycle
- func (gsb *Resource) LocalName() string
- func (gsb *Resource) State() (*googleStorageBucketState, bool)
- func (gsb *Resource) StateMust() *googleStorageBucketState
- func (gsb *Resource) Type() string
- type RetentionPolicy
- type RetentionPolicyAttributes
- func (rp RetentionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp RetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp RetentionPolicyAttributes) InternalWithRef(ref terra.Reference) RetentionPolicyAttributes
- func (rp RetentionPolicyAttributes) IsLocked() terra.BoolValue
- func (rp RetentionPolicyAttributes) RetentionPeriod() terra.NumberValue
- type RetentionPolicyState
- type SoftDeletePolicy
- type SoftDeletePolicyAttributes
- func (sdp SoftDeletePolicyAttributes) EffectiveTime() terra.StringValue
- func (sdp SoftDeletePolicyAttributes) InternalRef() (terra.Reference, error)
- func (sdp SoftDeletePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sdp SoftDeletePolicyAttributes) InternalWithRef(ref terra.Reference) SoftDeletePolicyAttributes
- func (sdp SoftDeletePolicyAttributes) RetentionDurationSeconds() terra.NumberValue
- type SoftDeletePolicyState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Versioning
- type VersioningAttributes
- type VersioningState
- type Website
- type WebsiteAttributes
- func (w WebsiteAttributes) InternalRef() (terra.Reference, error)
- func (w WebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (w WebsiteAttributes) InternalWithRef(ref terra.Reference) WebsiteAttributes
- func (w WebsiteAttributes) MainPageSuffix() terra.StringValue
- func (w WebsiteAttributes) NotFoundPage() terra.StringValue
- type WebsiteState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DefaultEventBasedHold: bool, optional DefaultEventBasedHold terra.BoolValue `hcl:"default_event_based_hold,attr"` // EnableObjectRetention: bool, optional EnableObjectRetention terra.BoolValue `hcl:"enable_object_retention,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // PublicAccessPrevention: string, optional PublicAccessPrevention terra.StringValue `hcl:"public_access_prevention,attr"` // RequesterPays: bool, optional RequesterPays terra.BoolValue `hcl:"requester_pays,attr"` // Rpo: string, optional Rpo terra.StringValue `hcl:"rpo,attr"` // StorageClass: string, optional StorageClass terra.StringValue `hcl:"storage_class,attr"` // UniformBucketLevelAccess: bool, optional UniformBucketLevelAccess terra.BoolValue `hcl:"uniform_bucket_level_access,attr"` // Autoclass: optional Autoclass *Autoclass `hcl:"autoclass,block"` // Cors: min=0 Cors []Cors `hcl:"cors,block" validate:"min=0"` // CustomPlacementConfig: optional CustomPlacementConfig *CustomPlacementConfig `hcl:"custom_placement_config,block"` // Encryption: optional Encryption *Encryption `hcl:"encryption,block"` // LifecycleRule: min=0,max=100 LifecycleRule []LifecycleRule `hcl:"lifecycle_rule,block" validate:"min=0,max=100"` // Logging: optional Logging *Logging `hcl:"logging,block"` // RetentionPolicy: optional RetentionPolicy *RetentionPolicy `hcl:"retention_policy,block"` // SoftDeletePolicy: optional SoftDeletePolicy *SoftDeletePolicy `hcl:"soft_delete_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Versioning: optional Versioning *Versioning `hcl:"versioning,block"` // Website: optional Website *Website `hcl:"website,block"` }
Args contains the configurations for google_storage_bucket.
type Autoclass ¶
type Autoclass struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // TerminalStorageClass: string, optional TerminalStorageClass terra.StringValue `hcl:"terminal_storage_class,attr"` }
type AutoclassAttributes ¶
type AutoclassAttributes struct {
// contains filtered or unexported fields
}
func (AutoclassAttributes) Enabled ¶
func (a AutoclassAttributes) Enabled() terra.BoolValue
func (AutoclassAttributes) InternalRef ¶
func (a AutoclassAttributes) InternalRef() (terra.Reference, error)
func (AutoclassAttributes) InternalTokens ¶
func (a AutoclassAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoclassAttributes) InternalWithRef ¶
func (a AutoclassAttributes) InternalWithRef(ref terra.Reference) AutoclassAttributes
func (AutoclassAttributes) TerminalStorageClass ¶
func (a AutoclassAttributes) TerminalStorageClass() terra.StringValue
type AutoclassState ¶
type Cors ¶
type Cors struct { // MaxAgeSeconds: number, optional MaxAgeSeconds terra.NumberValue `hcl:"max_age_seconds,attr"` // Method: list of string, optional Method terra.ListValue[terra.StringValue] `hcl:"method,attr"` // Origin: list of string, optional Origin terra.ListValue[terra.StringValue] `hcl:"origin,attr"` // ResponseHeader: list of string, optional ResponseHeader terra.ListValue[terra.StringValue] `hcl:"response_header,attr"` }
type CorsAttributes ¶
type CorsAttributes struct {
// contains filtered or unexported fields
}
func (CorsAttributes) InternalRef ¶
func (c CorsAttributes) InternalRef() (terra.Reference, error)
func (CorsAttributes) InternalTokens ¶
func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsAttributes) InternalWithRef ¶
func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes
func (CorsAttributes) MaxAgeSeconds ¶
func (c CorsAttributes) MaxAgeSeconds() terra.NumberValue
func (CorsAttributes) Method ¶
func (c CorsAttributes) Method() terra.ListValue[terra.StringValue]
func (CorsAttributes) Origin ¶
func (c CorsAttributes) Origin() terra.ListValue[terra.StringValue]
func (CorsAttributes) ResponseHeader ¶
func (c CorsAttributes) ResponseHeader() terra.ListValue[terra.StringValue]
type CustomPlacementConfig ¶
type CustomPlacementConfig struct { // DataLocations: set of string, required DataLocations terra.SetValue[terra.StringValue] `hcl:"data_locations,attr" validate:"required"` }
type CustomPlacementConfigAttributes ¶
type CustomPlacementConfigAttributes struct {
// contains filtered or unexported fields
}
func (CustomPlacementConfigAttributes) DataLocations ¶
func (cpc CustomPlacementConfigAttributes) DataLocations() terra.SetValue[terra.StringValue]
func (CustomPlacementConfigAttributes) InternalRef ¶
func (cpc CustomPlacementConfigAttributes) InternalRef() (terra.Reference, error)
func (CustomPlacementConfigAttributes) InternalTokens ¶
func (cpc CustomPlacementConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomPlacementConfigAttributes) InternalWithRef ¶
func (cpc CustomPlacementConfigAttributes) InternalWithRef(ref terra.Reference) CustomPlacementConfigAttributes
type CustomPlacementConfigState ¶
type CustomPlacementConfigState struct {
DataLocations []string `json:"data_locations"`
}
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_storage_bucket.
type DataAutoclassAttributes ¶
type DataAutoclassAttributes struct {
// contains filtered or unexported fields
}
func (DataAutoclassAttributes) Enabled ¶
func (a DataAutoclassAttributes) Enabled() terra.BoolValue
func (DataAutoclassAttributes) InternalRef ¶
func (a DataAutoclassAttributes) InternalRef() (terra.Reference, error)
func (DataAutoclassAttributes) InternalTokens ¶
func (a DataAutoclassAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAutoclassAttributes) InternalWithRef ¶
func (a DataAutoclassAttributes) InternalWithRef(ref terra.Reference) DataAutoclassAttributes
func (DataAutoclassAttributes) TerminalStorageClass ¶
func (a DataAutoclassAttributes) TerminalStorageClass() terra.StringValue
type DataAutoclassState ¶
type DataCorsAttributes ¶
type DataCorsAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsAttributes) InternalRef ¶
func (c DataCorsAttributes) InternalRef() (terra.Reference, error)
func (DataCorsAttributes) InternalTokens ¶
func (c DataCorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsAttributes) InternalWithRef ¶
func (c DataCorsAttributes) InternalWithRef(ref terra.Reference) DataCorsAttributes
func (DataCorsAttributes) MaxAgeSeconds ¶
func (c DataCorsAttributes) MaxAgeSeconds() terra.NumberValue
func (DataCorsAttributes) Method ¶
func (c DataCorsAttributes) Method() terra.ListValue[terra.StringValue]
func (DataCorsAttributes) Origin ¶
func (c DataCorsAttributes) Origin() terra.ListValue[terra.StringValue]
func (DataCorsAttributes) ResponseHeader ¶
func (c DataCorsAttributes) ResponseHeader() terra.ListValue[terra.StringValue]
type DataCorsState ¶
type DataCustomPlacementConfigAttributes ¶
type DataCustomPlacementConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataCustomPlacementConfigAttributes) DataLocations ¶
func (cpc DataCustomPlacementConfigAttributes) DataLocations() terra.SetValue[terra.StringValue]
func (DataCustomPlacementConfigAttributes) InternalRef ¶
func (cpc DataCustomPlacementConfigAttributes) InternalRef() (terra.Reference, error)
func (DataCustomPlacementConfigAttributes) InternalTokens ¶
func (cpc DataCustomPlacementConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCustomPlacementConfigAttributes) InternalWithRef ¶
func (cpc DataCustomPlacementConfigAttributes) InternalWithRef(ref terra.Reference) DataCustomPlacementConfigAttributes
type DataCustomPlacementConfigState ¶
type DataCustomPlacementConfigState struct {
DataLocations []string `json:"data_locations"`
}
type DataEncryptionAttributes ¶
type DataEncryptionAttributes struct {
// contains filtered or unexported fields
}
func (DataEncryptionAttributes) DefaultKmsKeyName ¶
func (e DataEncryptionAttributes) DefaultKmsKeyName() terra.StringValue
func (DataEncryptionAttributes) InternalRef ¶
func (e DataEncryptionAttributes) InternalRef() (terra.Reference, error)
func (DataEncryptionAttributes) InternalTokens ¶
func (e DataEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEncryptionAttributes) InternalWithRef ¶
func (e DataEncryptionAttributes) InternalWithRef(ref terra.Reference) DataEncryptionAttributes
type DataEncryptionState ¶
type DataEncryptionState struct {
DefaultKmsKeyName string `json:"default_kms_key_name"`
}
type DataLifecycleRuleActionAttributes ¶
type DataLifecycleRuleActionAttributes struct {
// contains filtered or unexported fields
}
func (DataLifecycleRuleActionAttributes) InternalRef ¶
func (a DataLifecycleRuleActionAttributes) InternalRef() (terra.Reference, error)
func (DataLifecycleRuleActionAttributes) InternalTokens ¶
func (a DataLifecycleRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLifecycleRuleActionAttributes) InternalWithRef ¶
func (a DataLifecycleRuleActionAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleActionAttributes
func (DataLifecycleRuleActionAttributes) StorageClass ¶
func (a DataLifecycleRuleActionAttributes) StorageClass() terra.StringValue
func (DataLifecycleRuleActionAttributes) Type ¶
func (a DataLifecycleRuleActionAttributes) Type() terra.StringValue
type DataLifecycleRuleAttributes ¶
type DataLifecycleRuleAttributes struct {
// contains filtered or unexported fields
}
func (DataLifecycleRuleAttributes) Action ¶
func (lr DataLifecycleRuleAttributes) Action() terra.SetValue[DataLifecycleRuleActionAttributes]
func (DataLifecycleRuleAttributes) Condition ¶
func (lr DataLifecycleRuleAttributes) Condition() terra.SetValue[DataLifecycleRuleConditionAttributes]
func (DataLifecycleRuleAttributes) InternalRef ¶
func (lr DataLifecycleRuleAttributes) InternalRef() (terra.Reference, error)
func (DataLifecycleRuleAttributes) InternalTokens ¶
func (lr DataLifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLifecycleRuleAttributes) InternalWithRef ¶
func (lr DataLifecycleRuleAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleAttributes
type DataLifecycleRuleConditionAttributes ¶
type DataLifecycleRuleConditionAttributes struct {
// contains filtered or unexported fields
}
func (DataLifecycleRuleConditionAttributes) Age ¶
func (c DataLifecycleRuleConditionAttributes) Age() terra.NumberValue
func (DataLifecycleRuleConditionAttributes) CreatedBefore ¶
func (c DataLifecycleRuleConditionAttributes) CreatedBefore() terra.StringValue
func (DataLifecycleRuleConditionAttributes) CustomTimeBefore ¶
func (c DataLifecycleRuleConditionAttributes) CustomTimeBefore() terra.StringValue
func (DataLifecycleRuleConditionAttributes) DaysSinceCustomTime ¶
func (c DataLifecycleRuleConditionAttributes) DaysSinceCustomTime() terra.NumberValue
func (DataLifecycleRuleConditionAttributes) DaysSinceNoncurrentTime ¶
func (c DataLifecycleRuleConditionAttributes) DaysSinceNoncurrentTime() terra.NumberValue
func (DataLifecycleRuleConditionAttributes) InternalRef ¶
func (c DataLifecycleRuleConditionAttributes) InternalRef() (terra.Reference, error)
func (DataLifecycleRuleConditionAttributes) InternalTokens ¶
func (c DataLifecycleRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLifecycleRuleConditionAttributes) InternalWithRef ¶
func (c DataLifecycleRuleConditionAttributes) InternalWithRef(ref terra.Reference) DataLifecycleRuleConditionAttributes
func (DataLifecycleRuleConditionAttributes) MatchesPrefix ¶
func (c DataLifecycleRuleConditionAttributes) MatchesPrefix() terra.ListValue[terra.StringValue]
func (DataLifecycleRuleConditionAttributes) MatchesStorageClass ¶
func (c DataLifecycleRuleConditionAttributes) MatchesStorageClass() terra.ListValue[terra.StringValue]
func (DataLifecycleRuleConditionAttributes) MatchesSuffix ¶
func (c DataLifecycleRuleConditionAttributes) MatchesSuffix() terra.ListValue[terra.StringValue]
func (DataLifecycleRuleConditionAttributes) NoAge ¶
func (c DataLifecycleRuleConditionAttributes) NoAge() terra.BoolValue
func (DataLifecycleRuleConditionAttributes) NoncurrentTimeBefore ¶
func (c DataLifecycleRuleConditionAttributes) NoncurrentTimeBefore() terra.StringValue
func (DataLifecycleRuleConditionAttributes) NumNewerVersions ¶
func (c DataLifecycleRuleConditionAttributes) NumNewerVersions() terra.NumberValue
func (DataLifecycleRuleConditionAttributes) WithState ¶
func (c DataLifecycleRuleConditionAttributes) WithState() terra.StringValue
type DataLifecycleRuleConditionState ¶
type DataLifecycleRuleConditionState struct { Age float64 `json:"age"` CreatedBefore string `json:"created_before"` CustomTimeBefore string `json:"custom_time_before"` DaysSinceCustomTime float64 `json:"days_since_custom_time"` DaysSinceNoncurrentTime float64 `json:"days_since_noncurrent_time"` MatchesPrefix []string `json:"matches_prefix"` MatchesStorageClass []string `json:"matches_storage_class"` MatchesSuffix []string `json:"matches_suffix"` NoAge bool `json:"no_age"` NoncurrentTimeBefore string `json:"noncurrent_time_before"` NumNewerVersions float64 `json:"num_newer_versions"` WithState string `json:"with_state"` }
type DataLifecycleRuleState ¶
type DataLifecycleRuleState struct { Action []DataLifecycleRuleActionState `json:"action"` Condition []DataLifecycleRuleConditionState `json:"condition"` }
type DataLoggingAttributes ¶
type DataLoggingAttributes struct {
// contains filtered or unexported fields
}
func (DataLoggingAttributes) InternalRef ¶
func (l DataLoggingAttributes) InternalRef() (terra.Reference, error)
func (DataLoggingAttributes) InternalTokens ¶
func (l DataLoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLoggingAttributes) InternalWithRef ¶
func (l DataLoggingAttributes) InternalWithRef(ref terra.Reference) DataLoggingAttributes
func (DataLoggingAttributes) LogBucket ¶
func (l DataLoggingAttributes) LogBucket() terra.StringValue
func (DataLoggingAttributes) LogObjectPrefix ¶
func (l DataLoggingAttributes) LogObjectPrefix() terra.StringValue
type DataLoggingState ¶
type DataRetentionPolicyAttributes ¶
type DataRetentionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataRetentionPolicyAttributes) InternalRef ¶
func (rp DataRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataRetentionPolicyAttributes) InternalTokens ¶
func (rp DataRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRetentionPolicyAttributes) InternalWithRef ¶
func (rp DataRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) DataRetentionPolicyAttributes
func (DataRetentionPolicyAttributes) IsLocked ¶
func (rp DataRetentionPolicyAttributes) IsLocked() terra.BoolValue
func (DataRetentionPolicyAttributes) RetentionPeriod ¶
func (rp DataRetentionPolicyAttributes) RetentionPeriod() terra.NumberValue
type DataSoftDeletePolicyAttributes ¶
type DataSoftDeletePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataSoftDeletePolicyAttributes) EffectiveTime ¶
func (sdp DataSoftDeletePolicyAttributes) EffectiveTime() terra.StringValue
func (DataSoftDeletePolicyAttributes) InternalRef ¶
func (sdp DataSoftDeletePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataSoftDeletePolicyAttributes) InternalTokens ¶
func (sdp DataSoftDeletePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSoftDeletePolicyAttributes) InternalWithRef ¶
func (sdp DataSoftDeletePolicyAttributes) InternalWithRef(ref terra.Reference) DataSoftDeletePolicyAttributes
func (DataSoftDeletePolicyAttributes) RetentionDurationSeconds ¶
func (sdp DataSoftDeletePolicyAttributes) RetentionDurationSeconds() terra.NumberValue
type DataSource ¶
DataSource represents the Terraform data resource google_storage_bucket.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gsb *DataSource) Attributes() dataGoogleStorageBucketAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gsb *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gsb *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gsb *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataVersioningAttributes ¶
type DataVersioningAttributes struct {
// contains filtered or unexported fields
}
func (DataVersioningAttributes) Enabled ¶
func (v DataVersioningAttributes) Enabled() terra.BoolValue
func (DataVersioningAttributes) InternalRef ¶
func (v DataVersioningAttributes) InternalRef() (terra.Reference, error)
func (DataVersioningAttributes) InternalTokens ¶
func (v DataVersioningAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataVersioningAttributes) InternalWithRef ¶
func (v DataVersioningAttributes) InternalWithRef(ref terra.Reference) DataVersioningAttributes
type DataVersioningState ¶
type DataVersioningState struct {
Enabled bool `json:"enabled"`
}
type DataWebsiteAttributes ¶
type DataWebsiteAttributes struct {
// contains filtered or unexported fields
}
func (DataWebsiteAttributes) InternalRef ¶
func (w DataWebsiteAttributes) InternalRef() (terra.Reference, error)
func (DataWebsiteAttributes) InternalTokens ¶
func (w DataWebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataWebsiteAttributes) InternalWithRef ¶
func (w DataWebsiteAttributes) InternalWithRef(ref terra.Reference) DataWebsiteAttributes
func (DataWebsiteAttributes) MainPageSuffix ¶
func (w DataWebsiteAttributes) MainPageSuffix() terra.StringValue
func (DataWebsiteAttributes) NotFoundPage ¶
func (w DataWebsiteAttributes) NotFoundPage() terra.StringValue
type DataWebsiteState ¶
type Encryption ¶
type Encryption struct { // DefaultKmsKeyName: string, required DefaultKmsKeyName terra.StringValue `hcl:"default_kms_key_name,attr" validate:"required"` }
type EncryptionAttributes ¶
type EncryptionAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionAttributes) DefaultKmsKeyName ¶
func (e EncryptionAttributes) DefaultKmsKeyName() terra.StringValue
func (EncryptionAttributes) InternalRef ¶
func (e EncryptionAttributes) InternalRef() (terra.Reference, error)
func (EncryptionAttributes) InternalTokens ¶
func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionAttributes) InternalWithRef ¶
func (e EncryptionAttributes) InternalWithRef(ref terra.Reference) EncryptionAttributes
type EncryptionState ¶
type EncryptionState struct {
DefaultKmsKeyName string `json:"default_kms_key_name"`
}
type LifecycleRule ¶
type LifecycleRule struct { // LifecycleRuleAction: required Action *LifecycleRuleAction `hcl:"action,block" validate:"required"` // LifecycleRuleCondition: required Condition *LifecycleRuleCondition `hcl:"condition,block" validate:"required"` }
type LifecycleRuleAction ¶
type LifecycleRuleAction struct { // StorageClass: string, optional StorageClass terra.StringValue `hcl:"storage_class,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type LifecycleRuleActionAttributes ¶
type LifecycleRuleActionAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleActionAttributes) InternalRef ¶
func (a LifecycleRuleActionAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleActionAttributes) InternalTokens ¶
func (a LifecycleRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleActionAttributes) InternalWithRef ¶
func (a LifecycleRuleActionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleActionAttributes
func (LifecycleRuleActionAttributes) StorageClass ¶
func (a LifecycleRuleActionAttributes) StorageClass() terra.StringValue
func (LifecycleRuleActionAttributes) Type ¶
func (a LifecycleRuleActionAttributes) Type() terra.StringValue
type LifecycleRuleAttributes ¶
type LifecycleRuleAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleAttributes) Action ¶
func (lr LifecycleRuleAttributes) Action() terra.SetValue[LifecycleRuleActionAttributes]
func (LifecycleRuleAttributes) Condition ¶
func (lr LifecycleRuleAttributes) Condition() terra.SetValue[LifecycleRuleConditionAttributes]
func (LifecycleRuleAttributes) InternalRef ¶
func (lr LifecycleRuleAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleAttributes) InternalTokens ¶
func (lr LifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleAttributes) InternalWithRef ¶
func (lr LifecycleRuleAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleAttributes
type LifecycleRuleCondition ¶
type LifecycleRuleCondition struct { // Age: number, optional Age terra.NumberValue `hcl:"age,attr"` // CreatedBefore: string, optional CreatedBefore terra.StringValue `hcl:"created_before,attr"` // CustomTimeBefore: string, optional CustomTimeBefore terra.StringValue `hcl:"custom_time_before,attr"` // DaysSinceCustomTime: number, optional DaysSinceCustomTime terra.NumberValue `hcl:"days_since_custom_time,attr"` // DaysSinceNoncurrentTime: number, optional DaysSinceNoncurrentTime terra.NumberValue `hcl:"days_since_noncurrent_time,attr"` // MatchesPrefix: list of string, optional MatchesPrefix terra.ListValue[terra.StringValue] `hcl:"matches_prefix,attr"` // MatchesStorageClass: list of string, optional MatchesStorageClass terra.ListValue[terra.StringValue] `hcl:"matches_storage_class,attr"` // MatchesSuffix: list of string, optional MatchesSuffix terra.ListValue[terra.StringValue] `hcl:"matches_suffix,attr"` // NoAge: bool, optional NoAge terra.BoolValue `hcl:"no_age,attr"` // NoncurrentTimeBefore: string, optional NoncurrentTimeBefore terra.StringValue `hcl:"noncurrent_time_before,attr"` // NumNewerVersions: number, optional NumNewerVersions terra.NumberValue `hcl:"num_newer_versions,attr"` // WithState: string, optional WithState terra.StringValue `hcl:"with_state,attr"` }
type LifecycleRuleConditionAttributes ¶
type LifecycleRuleConditionAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleConditionAttributes) Age ¶
func (c LifecycleRuleConditionAttributes) Age() terra.NumberValue
func (LifecycleRuleConditionAttributes) CreatedBefore ¶
func (c LifecycleRuleConditionAttributes) CreatedBefore() terra.StringValue
func (LifecycleRuleConditionAttributes) CustomTimeBefore ¶
func (c LifecycleRuleConditionAttributes) CustomTimeBefore() terra.StringValue
func (LifecycleRuleConditionAttributes) DaysSinceCustomTime ¶
func (c LifecycleRuleConditionAttributes) DaysSinceCustomTime() terra.NumberValue
func (LifecycleRuleConditionAttributes) DaysSinceNoncurrentTime ¶
func (c LifecycleRuleConditionAttributes) DaysSinceNoncurrentTime() terra.NumberValue
func (LifecycleRuleConditionAttributes) InternalRef ¶
func (c LifecycleRuleConditionAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleConditionAttributes) InternalTokens ¶
func (c LifecycleRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleConditionAttributes) InternalWithRef ¶
func (c LifecycleRuleConditionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleConditionAttributes
func (LifecycleRuleConditionAttributes) MatchesPrefix ¶
func (c LifecycleRuleConditionAttributes) MatchesPrefix() terra.ListValue[terra.StringValue]
func (LifecycleRuleConditionAttributes) MatchesStorageClass ¶
func (c LifecycleRuleConditionAttributes) MatchesStorageClass() terra.ListValue[terra.StringValue]
func (LifecycleRuleConditionAttributes) MatchesSuffix ¶
func (c LifecycleRuleConditionAttributes) MatchesSuffix() terra.ListValue[terra.StringValue]
func (LifecycleRuleConditionAttributes) NoAge ¶
func (c LifecycleRuleConditionAttributes) NoAge() terra.BoolValue
func (LifecycleRuleConditionAttributes) NoncurrentTimeBefore ¶
func (c LifecycleRuleConditionAttributes) NoncurrentTimeBefore() terra.StringValue
func (LifecycleRuleConditionAttributes) NumNewerVersions ¶
func (c LifecycleRuleConditionAttributes) NumNewerVersions() terra.NumberValue
func (LifecycleRuleConditionAttributes) WithState ¶
func (c LifecycleRuleConditionAttributes) WithState() terra.StringValue
type LifecycleRuleConditionState ¶
type LifecycleRuleConditionState struct { Age float64 `json:"age"` CreatedBefore string `json:"created_before"` CustomTimeBefore string `json:"custom_time_before"` DaysSinceCustomTime float64 `json:"days_since_custom_time"` DaysSinceNoncurrentTime float64 `json:"days_since_noncurrent_time"` MatchesPrefix []string `json:"matches_prefix"` MatchesStorageClass []string `json:"matches_storage_class"` MatchesSuffix []string `json:"matches_suffix"` NoAge bool `json:"no_age"` NoncurrentTimeBefore string `json:"noncurrent_time_before"` NumNewerVersions float64 `json:"num_newer_versions"` WithState string `json:"with_state"` }
type LifecycleRuleState ¶
type LifecycleRuleState struct { Action []LifecycleRuleActionState `json:"action"` Condition []LifecycleRuleConditionState `json:"condition"` }
type Logging ¶
type Logging struct { // LogBucket: string, required LogBucket terra.StringValue `hcl:"log_bucket,attr" validate:"required"` // LogObjectPrefix: string, optional LogObjectPrefix terra.StringValue `hcl:"log_object_prefix,attr"` }
type LoggingAttributes ¶
type LoggingAttributes struct {
// contains filtered or unexported fields
}
func (LoggingAttributes) InternalRef ¶
func (l LoggingAttributes) InternalRef() (terra.Reference, error)
func (LoggingAttributes) InternalTokens ¶
func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoggingAttributes) InternalWithRef ¶
func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
func (LoggingAttributes) LogBucket ¶
func (l LoggingAttributes) LogBucket() terra.StringValue
func (LoggingAttributes) LogObjectPrefix ¶
func (l LoggingAttributes) LogObjectPrefix() terra.StringValue
type LoggingState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_storage_bucket.
func (*Resource) Attributes ¶
func (gsb *Resource) Attributes() googleStorageBucketAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gsb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gsb *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type RetentionPolicy ¶
type RetentionPolicy struct { // IsLocked: bool, optional IsLocked terra.BoolValue `hcl:"is_locked,attr"` // RetentionPeriod: number, required RetentionPeriod terra.NumberValue `hcl:"retention_period,attr" validate:"required"` }
type RetentionPolicyAttributes ¶
type RetentionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionPolicyAttributes) InternalRef ¶
func (rp RetentionPolicyAttributes) InternalRef() (terra.Reference, error)
func (RetentionPolicyAttributes) InternalTokens ¶
func (rp RetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionPolicyAttributes) InternalWithRef ¶
func (rp RetentionPolicyAttributes) InternalWithRef(ref terra.Reference) RetentionPolicyAttributes
func (RetentionPolicyAttributes) IsLocked ¶
func (rp RetentionPolicyAttributes) IsLocked() terra.BoolValue
func (RetentionPolicyAttributes) RetentionPeriod ¶
func (rp RetentionPolicyAttributes) RetentionPeriod() terra.NumberValue
type RetentionPolicyState ¶
type SoftDeletePolicy ¶
type SoftDeletePolicy struct { // RetentionDurationSeconds: number, optional RetentionDurationSeconds terra.NumberValue `hcl:"retention_duration_seconds,attr"` }
type SoftDeletePolicyAttributes ¶
type SoftDeletePolicyAttributes struct {
// contains filtered or unexported fields
}
func (SoftDeletePolicyAttributes) EffectiveTime ¶
func (sdp SoftDeletePolicyAttributes) EffectiveTime() terra.StringValue
func (SoftDeletePolicyAttributes) InternalRef ¶
func (sdp SoftDeletePolicyAttributes) InternalRef() (terra.Reference, error)
func (SoftDeletePolicyAttributes) InternalTokens ¶
func (sdp SoftDeletePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SoftDeletePolicyAttributes) InternalWithRef ¶
func (sdp SoftDeletePolicyAttributes) InternalWithRef(ref terra.Reference) SoftDeletePolicyAttributes
func (SoftDeletePolicyAttributes) RetentionDurationSeconds ¶
func (sdp SoftDeletePolicyAttributes) RetentionDurationSeconds() terra.NumberValue
type SoftDeletePolicyState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type Versioning ¶
type VersioningAttributes ¶
type VersioningAttributes struct {
// contains filtered or unexported fields
}
func (VersioningAttributes) Enabled ¶
func (v VersioningAttributes) Enabled() terra.BoolValue
func (VersioningAttributes) InternalRef ¶
func (v VersioningAttributes) InternalRef() (terra.Reference, error)
func (VersioningAttributes) InternalTokens ¶
func (v VersioningAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersioningAttributes) InternalWithRef ¶
func (v VersioningAttributes) InternalWithRef(ref terra.Reference) VersioningAttributes
type VersioningState ¶
type VersioningState struct {
Enabled bool `json:"enabled"`
}
type Website ¶
type Website struct { // MainPageSuffix: string, optional MainPageSuffix terra.StringValue `hcl:"main_page_suffix,attr"` // NotFoundPage: string, optional NotFoundPage terra.StringValue `hcl:"not_found_page,attr"` }
type WebsiteAttributes ¶
type WebsiteAttributes struct {
// contains filtered or unexported fields
}
func (WebsiteAttributes) InternalRef ¶
func (w WebsiteAttributes) InternalRef() (terra.Reference, error)
func (WebsiteAttributes) InternalTokens ¶
func (w WebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WebsiteAttributes) InternalWithRef ¶
func (w WebsiteAttributes) InternalWithRef(ref terra.Reference) WebsiteAttributes
func (WebsiteAttributes) MainPageSuffix ¶
func (w WebsiteAttributes) MainPageSuffix() terra.StringValue
func (WebsiteAttributes) NotFoundPage ¶
func (w WebsiteAttributes) NotFoundPage() terra.StringValue