Documentation ¶
Index ¶
- type Args
- type Resource
- func (asbssec *Resource) Attributes() awsS3BucketServerSideEncryptionConfigurationAttributes
- func (asbssec *Resource) Configuration() interface{}
- func (asbssec *Resource) DependOn() terra.Reference
- func (asbssec *Resource) Dependencies() terra.Dependencies
- func (asbssec *Resource) ImportState(state io.Reader) error
- func (asbssec *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbssec *Resource) LocalName() string
- func (asbssec *Resource) State() (*awsS3BucketServerSideEncryptionConfigurationState, bool)
- func (asbssec *Resource) StateMust() *awsS3BucketServerSideEncryptionConfigurationState
- func (asbssec *Resource) Type() string
- type Rule
- type RuleApplyServerSideEncryptionByDefault
- type RuleApplyServerSideEncryptionByDefaultAttributes
- func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalRef() (terra.Reference, error)
- func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalWithRef(ref terra.Reference) RuleApplyServerSideEncryptionByDefaultAttributes
- func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId() terra.StringValue
- func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm() terra.StringValue
- type RuleApplyServerSideEncryptionByDefaultState
- type RuleAttributes
- func (r RuleAttributes) ApplyServerSideEncryptionByDefault() terra.ListValue[RuleApplyServerSideEncryptionByDefaultAttributes]
- func (r RuleAttributes) BucketKeyEnabled() terra.BoolValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- type RuleState
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"` // Rule: min=1 Rule []Rule `hcl:"rule,block" validate:"min=1"` }
Args contains the configurations for aws_s3_bucket_server_side_encryption_configuration.
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_server_side_encryption_configuration.
func (*Resource) Attributes ¶
func (asbssec *Resource) Attributes() awsS3BucketServerSideEncryptionConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbssec *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbssec *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 Rule ¶
type Rule struct { // BucketKeyEnabled: bool, optional BucketKeyEnabled terra.BoolValue `hcl:"bucket_key_enabled,attr"` // RuleApplyServerSideEncryptionByDefault: optional ApplyServerSideEncryptionByDefault *RuleApplyServerSideEncryptionByDefault `hcl:"apply_server_side_encryption_by_default,block"` }
type RuleApplyServerSideEncryptionByDefault ¶
type RuleApplyServerSideEncryptionByDefault struct { // KmsMasterKeyId: string, optional KmsMasterKeyId terra.StringValue `hcl:"kms_master_key_id,attr"` // SseAlgorithm: string, required SseAlgorithm terra.StringValue `hcl:"sse_algorithm,attr" validate:"required"` }
type RuleApplyServerSideEncryptionByDefaultAttributes ¶
type RuleApplyServerSideEncryptionByDefaultAttributes struct {
// contains filtered or unexported fields
}
func (RuleApplyServerSideEncryptionByDefaultAttributes) InternalRef ¶
func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalRef() (terra.Reference, error)
func (RuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens ¶
func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleApplyServerSideEncryptionByDefaultAttributes) InternalWithRef ¶
func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) InternalWithRef(ref terra.Reference) RuleApplyServerSideEncryptionByDefaultAttributes
func (RuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId ¶
func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId() terra.StringValue
func (RuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm ¶
func (assebd RuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm() terra.StringValue
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) ApplyServerSideEncryptionByDefault ¶
func (r RuleAttributes) ApplyServerSideEncryptionByDefault() terra.ListValue[RuleApplyServerSideEncryptionByDefaultAttributes]
func (RuleAttributes) BucketKeyEnabled ¶
func (r RuleAttributes) BucketKeyEnabled() terra.BoolValue
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
type RuleState ¶
type RuleState struct { BucketKeyEnabled bool `json:"bucket_key_enabled"` ApplyServerSideEncryptionByDefault []RuleApplyServerSideEncryptionByDefaultState `json:"apply_server_side_encryption_by_default"` }
Click to show internal directories.
Click to hide internal directories.