Documentation ¶
Index ¶
- type AccessGrantsLocationConfiguration
- type AccessGrantsLocationConfigurationAttributes
- func (aglc AccessGrantsLocationConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (aglc AccessGrantsLocationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aglc AccessGrantsLocationConfigurationAttributes) InternalWithRef(ref terra.Reference) AccessGrantsLocationConfigurationAttributes
- func (aglc AccessGrantsLocationConfigurationAttributes) S3SubPrefix() terra.StringValue
- type AccessGrantsLocationConfigurationState
- type Args
- type Grantee
- type GranteeAttributes
- func (g GranteeAttributes) GranteeIdentifier() terra.StringValue
- func (g GranteeAttributes) GranteeType() terra.StringValue
- func (g GranteeAttributes) InternalRef() (terra.Reference, error)
- func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes
- type GranteeState
- type Resource
- func (asag *Resource) Attributes() awsS3ControlAccessGrantAttributes
- func (asag *Resource) Configuration() interface{}
- func (asag *Resource) DependOn() terra.Reference
- func (asag *Resource) Dependencies() terra.Dependencies
- func (asag *Resource) ImportState(state io.Reader) error
- func (asag *Resource) LifecycleManagement() *terra.Lifecycle
- func (asag *Resource) LocalName() string
- func (asag *Resource) State() (*awsS3ControlAccessGrantState, bool)
- func (asag *Resource) StateMust() *awsS3ControlAccessGrantState
- func (asag *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessGrantsLocationConfiguration ¶
type AccessGrantsLocationConfiguration struct { // S3SubPrefix: string, optional S3SubPrefix terra.StringValue `hcl:"s3_sub_prefix,attr"` }
type AccessGrantsLocationConfigurationAttributes ¶
type AccessGrantsLocationConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AccessGrantsLocationConfigurationAttributes) InternalRef ¶
func (aglc AccessGrantsLocationConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AccessGrantsLocationConfigurationAttributes) InternalTokens ¶
func (aglc AccessGrantsLocationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessGrantsLocationConfigurationAttributes) InternalWithRef ¶
func (aglc AccessGrantsLocationConfigurationAttributes) InternalWithRef(ref terra.Reference) AccessGrantsLocationConfigurationAttributes
func (AccessGrantsLocationConfigurationAttributes) S3SubPrefix ¶
func (aglc AccessGrantsLocationConfigurationAttributes) S3SubPrefix() terra.StringValue
type AccessGrantsLocationConfigurationState ¶
type AccessGrantsLocationConfigurationState struct {
S3SubPrefix string `json:"s3_sub_prefix"`
}
type Args ¶
type Args struct { // AccessGrantsLocationId: string, required AccessGrantsLocationId terra.StringValue `hcl:"access_grants_location_id,attr" validate:"required"` // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // Permission: string, required Permission terra.StringValue `hcl:"permission,attr" validate:"required"` // S3PrefixType: string, optional S3PrefixType terra.StringValue `hcl:"s3_prefix_type,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // AccessGrantsLocationConfiguration: min=0 AccessGrantsLocationConfiguration []AccessGrantsLocationConfiguration `hcl:"access_grants_location_configuration,block" validate:"min=0"` // Grantee: min=0 Grantee []Grantee `hcl:"grantee,block" validate:"min=0"` }
Args contains the configurations for aws_s3control_access_grant.
type Grantee ¶
type Grantee struct { // GranteeIdentifier: string, required GranteeIdentifier terra.StringValue `hcl:"grantee_identifier,attr" validate:"required"` // GranteeType: string, required GranteeType terra.StringValue `hcl:"grantee_type,attr" validate:"required"` }
type GranteeAttributes ¶
type GranteeAttributes struct {
// contains filtered or unexported fields
}
func (GranteeAttributes) GranteeIdentifier ¶
func (g GranteeAttributes) GranteeIdentifier() terra.StringValue
func (GranteeAttributes) GranteeType ¶
func (g GranteeAttributes) GranteeType() terra.StringValue
func (GranteeAttributes) InternalRef ¶
func (g GranteeAttributes) InternalRef() (terra.Reference, error)
func (GranteeAttributes) InternalTokens ¶
func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GranteeAttributes) InternalWithRef ¶
func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes
type GranteeState ¶
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_s3control_access_grant.
func (*Resource) Attributes ¶
func (asag *Resource) Attributes() awsS3ControlAccessGrantAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asag *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asag *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.