Documentation
¶
Index ¶
- type Args
- type Resource
- func (asbl *Resource) Attributes() awsS3BucketLoggingAttributes
- func (asbl *Resource) Configuration() interface{}
- func (asbl *Resource) DependOn() terra.Reference
- func (asbl *Resource) Dependencies() terra.Dependencies
- func (asbl *Resource) ImportState(state io.Reader) error
- func (asbl *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbl *Resource) LocalName() string
- func (asbl *Resource) State() (*awsS3BucketLoggingState, bool)
- func (asbl *Resource) StateMust() *awsS3BucketLoggingState
- func (asbl *Resource) Type() string
- type TargetGrant
- type TargetGrantAttributes
- func (tg TargetGrantAttributes) Grantee() terra.ListValue[TargetGrantGranteeAttributes]
- func (tg TargetGrantAttributes) InternalRef() (terra.Reference, error)
- func (tg TargetGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg TargetGrantAttributes) InternalWithRef(ref terra.Reference) TargetGrantAttributes
- func (tg TargetGrantAttributes) Permission() terra.StringValue
- type TargetGrantGrantee
- type TargetGrantGranteeAttributes
- func (g TargetGrantGranteeAttributes) DisplayName() terra.StringValue
- func (g TargetGrantGranteeAttributes) EmailAddress() terra.StringValue
- func (g TargetGrantGranteeAttributes) Id() terra.StringValue
- func (g TargetGrantGranteeAttributes) InternalRef() (terra.Reference, error)
- func (g TargetGrantGranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g TargetGrantGranteeAttributes) InternalWithRef(ref terra.Reference) TargetGrantGranteeAttributes
- func (g TargetGrantGranteeAttributes) Type() terra.StringValue
- func (g TargetGrantGranteeAttributes) Uri() terra.StringValue
- type TargetGrantGranteeState
- type TargetGrantState
- type TargetObjectKeyFormat
- type TargetObjectKeyFormatAttributes
- func (tokf TargetObjectKeyFormatAttributes) InternalRef() (terra.Reference, error)
- func (tokf TargetObjectKeyFormatAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tokf TargetObjectKeyFormatAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatAttributes
- func (tokf TargetObjectKeyFormatAttributes) PartitionedPrefix() terra.ListValue[TargetObjectKeyFormatPartitionedPrefixAttributes]
- func (tokf TargetObjectKeyFormatAttributes) SimplePrefix() terra.ListValue[TargetObjectKeyFormatSimplePrefixAttributes]
- type TargetObjectKeyFormatPartitionedPrefix
- type TargetObjectKeyFormatPartitionedPrefixAttributes
- func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalRef() (terra.Reference, error)
- func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatPartitionedPrefixAttributes
- func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) PartitionDateSource() terra.StringValue
- type TargetObjectKeyFormatPartitionedPrefixState
- type TargetObjectKeyFormatSimplePrefix
- type TargetObjectKeyFormatSimplePrefixAttributes
- func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalRef() (terra.Reference, error)
- func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatSimplePrefixAttributes
- type TargetObjectKeyFormatSimplePrefixState
- type TargetObjectKeyFormatState
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"` // ExpectedBucketOwner: string, optional ExpectedBucketOwner terra.StringValue `hcl:"expected_bucket_owner,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // TargetBucket: string, required TargetBucket terra.StringValue `hcl:"target_bucket,attr" validate:"required"` // TargetPrefix: string, required TargetPrefix terra.StringValue `hcl:"target_prefix,attr" validate:"required"` // TargetGrant: min=0 TargetGrant []TargetGrant `hcl:"target_grant,block" validate:"min=0"` // TargetObjectKeyFormat: optional TargetObjectKeyFormat *TargetObjectKeyFormat `hcl:"target_object_key_format,block"` }
Args contains the configurations for aws_s3_bucket_logging.
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_logging.
func (*Resource) Attributes ¶
func (asbl *Resource) Attributes() awsS3BucketLoggingAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbl *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbl *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 TargetGrant ¶
type TargetGrant struct { // Permission: string, required Permission terra.StringValue `hcl:"permission,attr" validate:"required"` // TargetGrantGrantee: required Grantee *TargetGrantGrantee `hcl:"grantee,block" validate:"required"` }
type TargetGrantAttributes ¶
type TargetGrantAttributes struct {
// contains filtered or unexported fields
}
func (TargetGrantAttributes) Grantee ¶
func (tg TargetGrantAttributes) Grantee() terra.ListValue[TargetGrantGranteeAttributes]
func (TargetGrantAttributes) InternalRef ¶
func (tg TargetGrantAttributes) InternalRef() (terra.Reference, error)
func (TargetGrantAttributes) InternalTokens ¶
func (tg TargetGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetGrantAttributes) InternalWithRef ¶
func (tg TargetGrantAttributes) InternalWithRef(ref terra.Reference) TargetGrantAttributes
func (TargetGrantAttributes) Permission ¶
func (tg TargetGrantAttributes) Permission() terra.StringValue
type TargetGrantGrantee ¶
type TargetGrantGrantee struct { // EmailAddress: string, optional EmailAddress terra.StringValue `hcl:"email_address,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Uri: string, optional Uri terra.StringValue `hcl:"uri,attr"` }
type TargetGrantGranteeAttributes ¶
type TargetGrantGranteeAttributes struct {
// contains filtered or unexported fields
}
func (TargetGrantGranteeAttributes) DisplayName ¶
func (g TargetGrantGranteeAttributes) DisplayName() terra.StringValue
func (TargetGrantGranteeAttributes) EmailAddress ¶
func (g TargetGrantGranteeAttributes) EmailAddress() terra.StringValue
func (TargetGrantGranteeAttributes) Id ¶
func (g TargetGrantGranteeAttributes) Id() terra.StringValue
func (TargetGrantGranteeAttributes) InternalRef ¶
func (g TargetGrantGranteeAttributes) InternalRef() (terra.Reference, error)
func (TargetGrantGranteeAttributes) InternalTokens ¶
func (g TargetGrantGranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetGrantGranteeAttributes) InternalWithRef ¶
func (g TargetGrantGranteeAttributes) InternalWithRef(ref terra.Reference) TargetGrantGranteeAttributes
func (TargetGrantGranteeAttributes) Type ¶
func (g TargetGrantGranteeAttributes) Type() terra.StringValue
func (TargetGrantGranteeAttributes) Uri ¶
func (g TargetGrantGranteeAttributes) Uri() terra.StringValue
type TargetGrantGranteeState ¶
type TargetGrantState ¶
type TargetGrantState struct { Permission string `json:"permission"` Grantee []TargetGrantGranteeState `json:"grantee"` }
type TargetObjectKeyFormat ¶
type TargetObjectKeyFormat struct { // TargetObjectKeyFormatPartitionedPrefix: optional PartitionedPrefix *TargetObjectKeyFormatPartitionedPrefix `hcl:"partitioned_prefix,block"` // TargetObjectKeyFormatSimplePrefix: optional SimplePrefix *TargetObjectKeyFormatSimplePrefix `hcl:"simple_prefix,block"` }
type TargetObjectKeyFormatAttributes ¶
type TargetObjectKeyFormatAttributes struct {
// contains filtered or unexported fields
}
func (TargetObjectKeyFormatAttributes) InternalRef ¶
func (tokf TargetObjectKeyFormatAttributes) InternalRef() (terra.Reference, error)
func (TargetObjectKeyFormatAttributes) InternalTokens ¶
func (tokf TargetObjectKeyFormatAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetObjectKeyFormatAttributes) InternalWithRef ¶
func (tokf TargetObjectKeyFormatAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatAttributes
func (TargetObjectKeyFormatAttributes) PartitionedPrefix ¶
func (tokf TargetObjectKeyFormatAttributes) PartitionedPrefix() terra.ListValue[TargetObjectKeyFormatPartitionedPrefixAttributes]
func (TargetObjectKeyFormatAttributes) SimplePrefix ¶
func (tokf TargetObjectKeyFormatAttributes) SimplePrefix() terra.ListValue[TargetObjectKeyFormatSimplePrefixAttributes]
type TargetObjectKeyFormatPartitionedPrefix ¶
type TargetObjectKeyFormatPartitionedPrefix struct { // PartitionDateSource: string, required PartitionDateSource terra.StringValue `hcl:"partition_date_source,attr" validate:"required"` }
type TargetObjectKeyFormatPartitionedPrefixAttributes ¶
type TargetObjectKeyFormatPartitionedPrefixAttributes struct {
// contains filtered or unexported fields
}
func (TargetObjectKeyFormatPartitionedPrefixAttributes) InternalRef ¶
func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalRef() (terra.Reference, error)
func (TargetObjectKeyFormatPartitionedPrefixAttributes) InternalTokens ¶
func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetObjectKeyFormatPartitionedPrefixAttributes) InternalWithRef ¶
func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatPartitionedPrefixAttributes
func (TargetObjectKeyFormatPartitionedPrefixAttributes) PartitionDateSource ¶
func (pp TargetObjectKeyFormatPartitionedPrefixAttributes) PartitionDateSource() terra.StringValue
type TargetObjectKeyFormatPartitionedPrefixState ¶
type TargetObjectKeyFormatPartitionedPrefixState struct {
PartitionDateSource string `json:"partition_date_source"`
}
type TargetObjectKeyFormatSimplePrefix ¶
type TargetObjectKeyFormatSimplePrefix struct{}
type TargetObjectKeyFormatSimplePrefixAttributes ¶
type TargetObjectKeyFormatSimplePrefixAttributes struct {
// contains filtered or unexported fields
}
func (TargetObjectKeyFormatSimplePrefixAttributes) InternalRef ¶
func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalRef() (terra.Reference, error)
func (TargetObjectKeyFormatSimplePrefixAttributes) InternalTokens ¶
func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetObjectKeyFormatSimplePrefixAttributes) InternalWithRef ¶
func (sp TargetObjectKeyFormatSimplePrefixAttributes) InternalWithRef(ref terra.Reference) TargetObjectKeyFormatSimplePrefixAttributes
type TargetObjectKeyFormatSimplePrefixState ¶
type TargetObjectKeyFormatSimplePrefixState struct{}
type TargetObjectKeyFormatState ¶
type TargetObjectKeyFormatState struct { PartitionedPrefix []TargetObjectKeyFormatPartitionedPrefixState `json:"partitioned_prefix"` SimplePrefix []TargetObjectKeyFormatSimplePrefixState `json:"simple_prefix"` }
Click to show internal directories.
Click to hide internal directories.