Documentation
¶
Index ¶
- type Args
- type Resource
- func (asboc *Resource) Attributes() awsS3BucketOwnershipControlsAttributes
- func (asboc *Resource) Configuration() interface{}
- func (asboc *Resource) DependOn() terra.Reference
- func (asboc *Resource) Dependencies() terra.Dependencies
- func (asboc *Resource) ImportState(state io.Reader) error
- func (asboc *Resource) LifecycleManagement() *terra.Lifecycle
- func (asboc *Resource) LocalName() string
- func (asboc *Resource) State() (*awsS3BucketOwnershipControlsState, bool)
- func (asboc *Resource) StateMust() *awsS3BucketOwnershipControlsState
- func (asboc *Resource) Type() string
- type Rule
- type 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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Rule: required Rule *Rule `hcl:"rule,block" validate:"required"` }
Args contains the configurations for aws_s3_bucket_ownership_controls.
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_ownership_controls.
func (*Resource) Attributes ¶
func (asboc *Resource) Attributes() awsS3BucketOwnershipControlsAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asboc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asboc *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 { // ObjectOwnership: string, required ObjectOwnership terra.StringValue `hcl:"object_ownership,attr" validate:"required"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
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
func (RuleAttributes) ObjectOwnership ¶
func (r RuleAttributes) ObjectOwnership() terra.StringValue
Click to show internal directories.
Click to hide internal directories.