Documentation
¶
Index ¶
- type Args
- type PublicAccessBlockConfiguration
- type PublicAccessBlockConfigurationAttributes
- func (pabc PublicAccessBlockConfigurationAttributes) BlockPublicAcls() terra.BoolValue
- func (pabc PublicAccessBlockConfigurationAttributes) BlockPublicPolicy() terra.BoolValue
- func (pabc PublicAccessBlockConfigurationAttributes) IgnorePublicAcls() terra.BoolValue
- func (pabc PublicAccessBlockConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (pabc PublicAccessBlockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pabc PublicAccessBlockConfigurationAttributes) InternalWithRef(ref terra.Reference) PublicAccessBlockConfigurationAttributes
- func (pabc PublicAccessBlockConfigurationAttributes) RestrictPublicBuckets() terra.BoolValue
- type PublicAccessBlockConfigurationState
- type Resource
- func (asap *Resource) Attributes() awsS3AccessPointAttributes
- func (asap *Resource) Configuration() interface{}
- func (asap *Resource) DependOn() terra.Reference
- func (asap *Resource) Dependencies() terra.Dependencies
- func (asap *Resource) ImportState(state io.Reader) error
- func (asap *Resource) LifecycleManagement() *terra.Lifecycle
- func (asap *Resource) LocalName() string
- func (asap *Resource) State() (*awsS3AccessPointState, bool)
- func (asap *Resource) StateMust() *awsS3AccessPointState
- func (asap *Resource) Type() string
- type VpcConfiguration
- type VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) VpcId() terra.StringValue
- type VpcConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // BucketAccountId: string, optional BucketAccountId terra.StringValue `hcl:"bucket_account_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Policy: string, optional Policy terra.StringValue `hcl:"policy,attr"` // PublicAccessBlockConfiguration: optional PublicAccessBlockConfiguration *PublicAccessBlockConfiguration `hcl:"public_access_block_configuration,block"` // VpcConfiguration: optional VpcConfiguration *VpcConfiguration `hcl:"vpc_configuration,block"` }
Args contains the configurations for aws_s3_access_point.
type PublicAccessBlockConfiguration ¶
type PublicAccessBlockConfiguration struct { // BlockPublicAcls: bool, optional BlockPublicAcls terra.BoolValue `hcl:"block_public_acls,attr"` // BlockPublicPolicy: bool, optional BlockPublicPolicy terra.BoolValue `hcl:"block_public_policy,attr"` // IgnorePublicAcls: bool, optional IgnorePublicAcls terra.BoolValue `hcl:"ignore_public_acls,attr"` // RestrictPublicBuckets: bool, optional RestrictPublicBuckets terra.BoolValue `hcl:"restrict_public_buckets,attr"` }
type PublicAccessBlockConfigurationAttributes ¶
type PublicAccessBlockConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (PublicAccessBlockConfigurationAttributes) BlockPublicAcls ¶
func (pabc PublicAccessBlockConfigurationAttributes) BlockPublicAcls() terra.BoolValue
func (PublicAccessBlockConfigurationAttributes) BlockPublicPolicy ¶
func (pabc PublicAccessBlockConfigurationAttributes) BlockPublicPolicy() terra.BoolValue
func (PublicAccessBlockConfigurationAttributes) IgnorePublicAcls ¶
func (pabc PublicAccessBlockConfigurationAttributes) IgnorePublicAcls() terra.BoolValue
func (PublicAccessBlockConfigurationAttributes) InternalRef ¶
func (pabc PublicAccessBlockConfigurationAttributes) InternalRef() (terra.Reference, error)
func (PublicAccessBlockConfigurationAttributes) InternalTokens ¶
func (pabc PublicAccessBlockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PublicAccessBlockConfigurationAttributes) InternalWithRef ¶
func (pabc PublicAccessBlockConfigurationAttributes) InternalWithRef(ref terra.Reference) PublicAccessBlockConfigurationAttributes
func (PublicAccessBlockConfigurationAttributes) RestrictPublicBuckets ¶
func (pabc PublicAccessBlockConfigurationAttributes) RestrictPublicBuckets() terra.BoolValue
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_access_point.
func (*Resource) Attributes ¶
func (asap *Resource) Attributes() awsS3AccessPointAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asap *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asap *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 VpcConfiguration ¶
type VpcConfiguration struct { // VpcId: string, required VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"` }
type VpcConfigurationAttributes ¶
type VpcConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (VpcConfigurationAttributes) InternalRef ¶
func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
func (VpcConfigurationAttributes) InternalTokens ¶
func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcConfigurationAttributes) InternalWithRef ¶
func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
func (VpcConfigurationAttributes) VpcId ¶
func (vc VpcConfigurationAttributes) VpcId() terra.StringValue
type VpcConfigurationState ¶
type VpcConfigurationState struct {
VpcId string `json:"vpc_id"`
}
Click to show internal directories.
Click to hide internal directories.