Documentation ¶
Index ¶
- type Args
- type Filter
- type FilterAttributes
- func (f FilterAttributes) AccessPoint() terra.StringValue
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Prefix() terra.StringValue
- func (f FilterAttributes) Tags() terra.MapValue[terra.StringValue]
- type FilterState
- type Resource
- func (asbm *Resource) Attributes() awsS3BucketMetricAttributes
- func (asbm *Resource) Configuration() interface{}
- func (asbm *Resource) DependOn() terra.Reference
- func (asbm *Resource) Dependencies() terra.Dependencies
- func (asbm *Resource) ImportState(state io.Reader) error
- func (asbm *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbm *Resource) LocalName() string
- func (asbm *Resource) State() (*awsS3BucketMetricState, bool)
- func (asbm *Resource) StateMust() *awsS3BucketMetricState
- func (asbm *Resource) Type() string
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"` }
Args contains the configurations for aws_s3_bucket_metric.
type Filter ¶
type Filter struct { // AccessPoint: string, optional AccessPoint terra.StringValue `hcl:"access_point,attr"` // 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) AccessPoint ¶
func (f FilterAttributes) AccessPoint() terra.StringValue
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 ¶
func (f FilterAttributes) Tags() terra.MapValue[terra.StringValue]
type FilterState ¶
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_metric.
func (*Resource) Attributes ¶
func (asbm *Resource) Attributes() awsS3BucketMetricAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbm *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.
Click to show internal directories.
Click to hide internal directories.