Documentation ¶
Index ¶
- type AccessControlPolicy
- type AccessControlPolicyAttributes
- func (acp AccessControlPolicyAttributes) Grant() terra.SetValue[AccessControlPolicyGrantAttributes]
- func (acp AccessControlPolicyAttributes) InternalRef() (terra.Reference, error)
- func (acp AccessControlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acp AccessControlPolicyAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyAttributes
- func (acp AccessControlPolicyAttributes) Owner() terra.ListValue[AccessControlPolicyOwnerAttributes]
- type AccessControlPolicyGrant
- type AccessControlPolicyGrantAttributes
- func (g AccessControlPolicyGrantAttributes) Grantee() terra.ListValue[AccessControlPolicyGrantGranteeAttributes]
- func (g AccessControlPolicyGrantAttributes) InternalRef() (terra.Reference, error)
- func (g AccessControlPolicyGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g AccessControlPolicyGrantAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyGrantAttributes
- func (g AccessControlPolicyGrantAttributes) Permission() terra.StringValue
- type AccessControlPolicyGrantGrantee
- type AccessControlPolicyGrantGranteeAttributes
- func (g AccessControlPolicyGrantGranteeAttributes) DisplayName() terra.StringValue
- func (g AccessControlPolicyGrantGranteeAttributes) EmailAddress() terra.StringValue
- func (g AccessControlPolicyGrantGranteeAttributes) Id() terra.StringValue
- func (g AccessControlPolicyGrantGranteeAttributes) InternalRef() (terra.Reference, error)
- func (g AccessControlPolicyGrantGranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g AccessControlPolicyGrantGranteeAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyGrantGranteeAttributes
- func (g AccessControlPolicyGrantGranteeAttributes) Type() terra.StringValue
- func (g AccessControlPolicyGrantGranteeAttributes) Uri() terra.StringValue
- type AccessControlPolicyGrantGranteeState
- type AccessControlPolicyGrantState
- type AccessControlPolicyOwner
- type AccessControlPolicyOwnerAttributes
- func (o AccessControlPolicyOwnerAttributes) DisplayName() terra.StringValue
- func (o AccessControlPolicyOwnerAttributes) Id() terra.StringValue
- func (o AccessControlPolicyOwnerAttributes) InternalRef() (terra.Reference, error)
- func (o AccessControlPolicyOwnerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o AccessControlPolicyOwnerAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyOwnerAttributes
- type AccessControlPolicyOwnerState
- type AccessControlPolicyState
- type Args
- type Resource
- func (asba *Resource) Attributes() awsS3BucketAclAttributes
- func (asba *Resource) Configuration() interface{}
- func (asba *Resource) DependOn() terra.Reference
- func (asba *Resource) Dependencies() terra.Dependencies
- func (asba *Resource) ImportState(state io.Reader) error
- func (asba *Resource) LifecycleManagement() *terra.Lifecycle
- func (asba *Resource) LocalName() string
- func (asba *Resource) State() (*awsS3BucketAclState, bool)
- func (asba *Resource) StateMust() *awsS3BucketAclState
- func (asba *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControlPolicy ¶
type AccessControlPolicy struct { // AccessControlPolicyGrant: min=0 Grant []AccessControlPolicyGrant `hcl:"grant,block" validate:"min=0"` // AccessControlPolicyOwner: required Owner *AccessControlPolicyOwner `hcl:"owner,block" validate:"required"` }
type AccessControlPolicyAttributes ¶
type AccessControlPolicyAttributes struct {
// contains filtered or unexported fields
}
func (AccessControlPolicyAttributes) Grant ¶
func (acp AccessControlPolicyAttributes) Grant() terra.SetValue[AccessControlPolicyGrantAttributes]
func (AccessControlPolicyAttributes) InternalRef ¶
func (acp AccessControlPolicyAttributes) InternalRef() (terra.Reference, error)
func (AccessControlPolicyAttributes) InternalTokens ¶
func (acp AccessControlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlPolicyAttributes) InternalWithRef ¶
func (acp AccessControlPolicyAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyAttributes
func (AccessControlPolicyAttributes) Owner ¶
func (acp AccessControlPolicyAttributes) Owner() terra.ListValue[AccessControlPolicyOwnerAttributes]
type AccessControlPolicyGrant ¶
type AccessControlPolicyGrant struct { // Permission: string, required Permission terra.StringValue `hcl:"permission,attr" validate:"required"` // AccessControlPolicyGrantGrantee: optional Grantee *AccessControlPolicyGrantGrantee `hcl:"grantee,block"` }
type AccessControlPolicyGrantAttributes ¶
type AccessControlPolicyGrantAttributes struct {
// contains filtered or unexported fields
}
func (AccessControlPolicyGrantAttributes) Grantee ¶
func (g AccessControlPolicyGrantAttributes) Grantee() terra.ListValue[AccessControlPolicyGrantGranteeAttributes]
func (AccessControlPolicyGrantAttributes) InternalRef ¶
func (g AccessControlPolicyGrantAttributes) InternalRef() (terra.Reference, error)
func (AccessControlPolicyGrantAttributes) InternalTokens ¶
func (g AccessControlPolicyGrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlPolicyGrantAttributes) InternalWithRef ¶
func (g AccessControlPolicyGrantAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyGrantAttributes
func (AccessControlPolicyGrantAttributes) Permission ¶
func (g AccessControlPolicyGrantAttributes) Permission() terra.StringValue
type AccessControlPolicyGrantGrantee ¶
type AccessControlPolicyGrantGrantee 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 AccessControlPolicyGrantGranteeAttributes ¶
type AccessControlPolicyGrantGranteeAttributes struct {
// contains filtered or unexported fields
}
func (AccessControlPolicyGrantGranteeAttributes) DisplayName ¶
func (g AccessControlPolicyGrantGranteeAttributes) DisplayName() terra.StringValue
func (AccessControlPolicyGrantGranteeAttributes) EmailAddress ¶
func (g AccessControlPolicyGrantGranteeAttributes) EmailAddress() terra.StringValue
func (AccessControlPolicyGrantGranteeAttributes) Id ¶
func (g AccessControlPolicyGrantGranteeAttributes) Id() terra.StringValue
func (AccessControlPolicyGrantGranteeAttributes) InternalRef ¶
func (g AccessControlPolicyGrantGranteeAttributes) InternalRef() (terra.Reference, error)
func (AccessControlPolicyGrantGranteeAttributes) InternalTokens ¶
func (g AccessControlPolicyGrantGranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlPolicyGrantGranteeAttributes) InternalWithRef ¶
func (g AccessControlPolicyGrantGranteeAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyGrantGranteeAttributes
func (AccessControlPolicyGrantGranteeAttributes) Type ¶
func (g AccessControlPolicyGrantGranteeAttributes) Type() terra.StringValue
func (AccessControlPolicyGrantGranteeAttributes) Uri ¶
func (g AccessControlPolicyGrantGranteeAttributes) Uri() terra.StringValue
type AccessControlPolicyGrantState ¶
type AccessControlPolicyGrantState struct { Permission string `json:"permission"` Grantee []AccessControlPolicyGrantGranteeState `json:"grantee"` }
type AccessControlPolicyOwner ¶
type AccessControlPolicyOwner struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
type AccessControlPolicyOwnerAttributes ¶
type AccessControlPolicyOwnerAttributes struct {
// contains filtered or unexported fields
}
func (AccessControlPolicyOwnerAttributes) DisplayName ¶
func (o AccessControlPolicyOwnerAttributes) DisplayName() terra.StringValue
func (AccessControlPolicyOwnerAttributes) Id ¶
func (o AccessControlPolicyOwnerAttributes) Id() terra.StringValue
func (AccessControlPolicyOwnerAttributes) InternalRef ¶
func (o AccessControlPolicyOwnerAttributes) InternalRef() (terra.Reference, error)
func (AccessControlPolicyOwnerAttributes) InternalTokens ¶
func (o AccessControlPolicyOwnerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlPolicyOwnerAttributes) InternalWithRef ¶
func (o AccessControlPolicyOwnerAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyOwnerAttributes
type AccessControlPolicyState ¶
type AccessControlPolicyState struct { Grant []AccessControlPolicyGrantState `json:"grant"` Owner []AccessControlPolicyOwnerState `json:"owner"` }
type Args ¶
type Args struct { // Acl: string, optional Acl terra.StringValue `hcl:"acl,attr"` // 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"` // AccessControlPolicy: optional AccessControlPolicy *AccessControlPolicy `hcl:"access_control_policy,block"` }
Args contains the configurations for aws_s3_bucket_acl.
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_acl.
func (*Resource) Attributes ¶
func (asba *Resource) Attributes() awsS3BucketAclAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asba *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asba *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.