aws_s3_bucket_analytics_configuration

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 {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Filter: optional
	Filter *Filter `hcl:"filter,block"`
	// StorageClassAnalysis: optional
	StorageClassAnalysis *StorageClassAnalysis `hcl:"storage_class_analysis,block"`
}

Args contains the configurations for aws_s3_bucket_analytics_configuration.

type Filter

type Filter struct {
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

type FilterAttributes

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

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Prefix

func (f FilterAttributes) Prefix() terra.StringValue

func (FilterAttributes) Tags

type FilterState

type FilterState struct {
	Prefix string            `json:"prefix"`
	Tags   map[string]string `json:"tags"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asbac *Resource) Attributes() awsS3BucketAnalyticsConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asbac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asbac *Resource) State() (*awsS3BucketAnalyticsConfigurationState, bool)

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

func (*Resource) StateMust

func (asbac *Resource) StateMust() *awsS3BucketAnalyticsConfigurationState

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

func (*Resource) Type

func (asbac *Resource) Type() string

Type returns the Terraform object type for Resource.

type StorageClassAnalysis

type StorageClassAnalysis struct {
	// StorageClassAnalysisDataExport: required
	DataExport *StorageClassAnalysisDataExport `hcl:"data_export,block" validate:"required"`
}

type StorageClassAnalysisAttributes

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

func (StorageClassAnalysisAttributes) DataExport

func (StorageClassAnalysisAttributes) InternalRef

func (sca StorageClassAnalysisAttributes) InternalRef() (terra.Reference, error)

func (StorageClassAnalysisAttributes) InternalTokens

func (sca StorageClassAnalysisAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageClassAnalysisAttributes) InternalWithRef

type StorageClassAnalysisDataExport

type StorageClassAnalysisDataExport struct {
	// OutputSchemaVersion: string, optional
	OutputSchemaVersion terra.StringValue `hcl:"output_schema_version,attr"`
	// StorageClassAnalysisDataExportDestination: required
	Destination *StorageClassAnalysisDataExportDestination `hcl:"destination,block" validate:"required"`
}

type StorageClassAnalysisDataExportAttributes

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

func (StorageClassAnalysisDataExportAttributes) Destination

func (StorageClassAnalysisDataExportAttributes) InternalRef

func (StorageClassAnalysisDataExportAttributes) InternalTokens

func (StorageClassAnalysisDataExportAttributes) InternalWithRef

func (StorageClassAnalysisDataExportAttributes) OutputSchemaVersion

type StorageClassAnalysisDataExportDestination

type StorageClassAnalysisDataExportDestination struct {
	// StorageClassAnalysisDataExportDestinationS3BucketDestination: required
	S3BucketDestination *StorageClassAnalysisDataExportDestinationS3BucketDestination `hcl:"s3_bucket_destination,block" validate:"required"`
}

type StorageClassAnalysisDataExportDestinationAttributes

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

func (StorageClassAnalysisDataExportDestinationAttributes) InternalRef

func (StorageClassAnalysisDataExportDestinationAttributes) InternalTokens

func (StorageClassAnalysisDataExportDestinationAttributes) InternalWithRef

type StorageClassAnalysisDataExportDestinationS3BucketDestination

type StorageClassAnalysisDataExportDestinationS3BucketDestination struct {
	// BucketAccountId: string, optional
	BucketAccountId terra.StringValue `hcl:"bucket_account_id,attr"`
	// BucketArn: string, required
	BucketArn terra.StringValue `hcl:"bucket_arn,attr" validate:"required"`
	// Format: string, optional
	Format terra.StringValue `hcl:"format,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes

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

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) BucketAccountId

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) BucketArn

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) Format

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) InternalRef

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) InternalTokens

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) InternalWithRef

func (StorageClassAnalysisDataExportDestinationS3BucketDestinationAttributes) Prefix

type StorageClassAnalysisDataExportDestinationS3BucketDestinationState

type StorageClassAnalysisDataExportDestinationS3BucketDestinationState struct {
	BucketAccountId string `json:"bucket_account_id"`
	BucketArn       string `json:"bucket_arn"`
	Format          string `json:"format"`
	Prefix          string `json:"prefix"`
}

type StorageClassAnalysisDataExportDestinationState

type StorageClassAnalysisDataExportDestinationState struct {
	S3BucketDestination []StorageClassAnalysisDataExportDestinationS3BucketDestinationState `json:"s3_bucket_destination"`
}

type StorageClassAnalysisDataExportState

type StorageClassAnalysisDataExportState struct {
	OutputSchemaVersion string                                           `json:"output_schema_version"`
	Destination         []StorageClassAnalysisDataExportDestinationState `json:"destination"`
}

type StorageClassAnalysisState

type StorageClassAnalysisState struct {
	DataExport []StorageClassAnalysisDataExportState `json:"data_export"`
}

Jump to

Keyboard shortcuts

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