google_logging_billing_account_bucket_config

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// BillingAccount: string, required
	BillingAccount terra.StringValue `hcl:"billing_account,attr" validate:"required"`
	// BucketId: string, required
	BucketId terra.StringValue `hcl:"bucket_id,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// RetentionDays: number, optional
	RetentionDays terra.NumberValue `hcl:"retention_days,attr"`
	// CmekSettings: optional
	CmekSettings *CmekSettings `hcl:"cmek_settings,block"`
	// IndexConfigs: min=0,max=20
	IndexConfigs []IndexConfigs `hcl:"index_configs,block" validate:"min=0,max=20"`
}

Args contains the configurations for google_logging_billing_account_bucket_config.

type CmekSettings

type CmekSettings struct {
	// KmsKeyName: string, required
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"`
}

type CmekSettingsAttributes

type CmekSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (CmekSettingsAttributes) InternalRef

func (cs CmekSettingsAttributes) InternalRef() (terra.Reference, error)

func (CmekSettingsAttributes) InternalTokens

func (cs CmekSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CmekSettingsAttributes) InternalWithRef

func (CmekSettingsAttributes) KmsKeyName

func (cs CmekSettingsAttributes) KmsKeyName() terra.StringValue

func (CmekSettingsAttributes) KmsKeyVersionName

func (cs CmekSettingsAttributes) KmsKeyVersionName() terra.StringValue

func (CmekSettingsAttributes) Name

func (CmekSettingsAttributes) ServiceAccountId

func (cs CmekSettingsAttributes) ServiceAccountId() terra.StringValue

type CmekSettingsState

type CmekSettingsState struct {
	KmsKeyName        string `json:"kms_key_name"`
	KmsKeyVersionName string `json:"kms_key_version_name"`
	Name              string `json:"name"`
	ServiceAccountId  string `json:"service_account_id"`
}

type IndexConfigs

type IndexConfigs struct {
	// FieldPath: string, required
	FieldPath terra.StringValue `hcl:"field_path,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type IndexConfigsAttributes

type IndexConfigsAttributes struct {
	// contains filtered or unexported fields
}

func (IndexConfigsAttributes) FieldPath

func (ic IndexConfigsAttributes) FieldPath() terra.StringValue

func (IndexConfigsAttributes) InternalRef

func (ic IndexConfigsAttributes) InternalRef() (terra.Reference, error)

func (IndexConfigsAttributes) InternalTokens

func (ic IndexConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexConfigsAttributes) InternalWithRef

func (IndexConfigsAttributes) Type

type IndexConfigsState

type IndexConfigsState struct {
	FieldPath string `json:"field_path"`
	Type      string `json:"type"`
}

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_logging_billing_account_bucket_config.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (glbabc *Resource) Attributes() googleLoggingBillingAccountBucketConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (glbabc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (glbabc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (glbabc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (glbabc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (glbabc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (glbabc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (glbabc *Resource) State() (*googleLoggingBillingAccountBucketConfigState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (glbabc *Resource) StateMust() *googleLoggingBillingAccountBucketConfigState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (glbabc *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL