Documentation ¶
Index ¶
- type Args
- type Resource
- func (adls *Resource) Attributes() awsDatasyncLocationS3Attributes
- func (adls *Resource) Configuration() interface{}
- func (adls *Resource) DependOn() terra.Reference
- func (adls *Resource) Dependencies() terra.Dependencies
- func (adls *Resource) ImportState(state io.Reader) error
- func (adls *Resource) LifecycleManagement() *terra.Lifecycle
- func (adls *Resource) LocalName() string
- func (adls *Resource) State() (*awsDatasyncLocationS3State, bool)
- func (adls *Resource) StateMust() *awsDatasyncLocationS3State
- func (adls *Resource) Type() string
- type S3Config
- type S3ConfigAttributes
- type S3ConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AgentArns: set of string, optional AgentArns terra.SetValue[terra.StringValue] `hcl:"agent_arns,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // S3BucketArn: string, required S3BucketArn terra.StringValue `hcl:"s3_bucket_arn,attr" validate:"required"` // S3StorageClass: string, optional S3StorageClass terra.StringValue `hcl:"s3_storage_class,attr"` // Subdirectory: string, required Subdirectory terra.StringValue `hcl:"subdirectory,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // S3Config: required S3Config *S3Config `hcl:"s3_config,block" validate:"required"` }
Args contains the configurations for aws_datasync_location_s3.
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_datasync_location_s3.
func (*Resource) Attributes ¶
func (adls *Resource) Attributes() awsDatasyncLocationS3Attributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adls *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adls *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 S3Config ¶
type S3Config struct { // BucketAccessRoleArn: string, required BucketAccessRoleArn terra.StringValue `hcl:"bucket_access_role_arn,attr" validate:"required"` }
type S3ConfigAttributes ¶
type S3ConfigAttributes struct {
// contains filtered or unexported fields
}
func (S3ConfigAttributes) BucketAccessRoleArn ¶
func (sc S3ConfigAttributes) BucketAccessRoleArn() terra.StringValue
func (S3ConfigAttributes) InternalRef ¶
func (sc S3ConfigAttributes) InternalRef() (terra.Reference, error)
func (S3ConfigAttributes) InternalTokens ¶
func (sc S3ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (S3ConfigAttributes) InternalWithRef ¶
func (sc S3ConfigAttributes) InternalWithRef(ref terra.Reference) S3ConfigAttributes
type S3ConfigState ¶
type S3ConfigState struct {
BucketAccessRoleArn string `json:"bucket_access_role_arn"`
}
Click to show internal directories.
Click to hide internal directories.