Documentation ¶
Index ¶
- type Args
- type Grant
- type GrantAttributes
- func (g GrantAttributes) Email() terra.StringValue
- func (g GrantAttributes) Id() terra.StringValue
- func (g GrantAttributes) InternalRef() (terra.Reference, error)
- func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
- func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
- func (g GrantAttributes) Type() terra.StringValue
- func (g GrantAttributes) Uri() terra.StringValue
- type GrantState
- type Resource
- func (asoc *Resource) Attributes() awsS3ObjectCopyAttributes
- func (asoc *Resource) Configuration() interface{}
- func (asoc *Resource) DependOn() terra.Reference
- func (asoc *Resource) Dependencies() terra.Dependencies
- func (asoc *Resource) ImportState(state io.Reader) error
- func (asoc *Resource) LifecycleManagement() *terra.Lifecycle
- func (asoc *Resource) LocalName() string
- func (asoc *Resource) State() (*awsS3ObjectCopyState, bool)
- func (asoc *Resource) StateMust() *awsS3ObjectCopyState
- func (asoc *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"` // BucketKeyEnabled: bool, optional BucketKeyEnabled terra.BoolValue `hcl:"bucket_key_enabled,attr"` // CacheControl: string, optional CacheControl terra.StringValue `hcl:"cache_control,attr"` // ContentDisposition: string, optional ContentDisposition terra.StringValue `hcl:"content_disposition,attr"` // ContentEncoding: string, optional ContentEncoding terra.StringValue `hcl:"content_encoding,attr"` // ContentLanguage: string, optional ContentLanguage terra.StringValue `hcl:"content_language,attr"` // ContentType: string, optional ContentType terra.StringValue `hcl:"content_type,attr"` // CopyIfMatch: string, optional CopyIfMatch terra.StringValue `hcl:"copy_if_match,attr"` // CopyIfModifiedSince: string, optional CopyIfModifiedSince terra.StringValue `hcl:"copy_if_modified_since,attr"` // CopyIfNoneMatch: string, optional CopyIfNoneMatch terra.StringValue `hcl:"copy_if_none_match,attr"` // CopyIfUnmodifiedSince: string, optional CopyIfUnmodifiedSince terra.StringValue `hcl:"copy_if_unmodified_since,attr"` // CustomerAlgorithm: string, optional CustomerAlgorithm terra.StringValue `hcl:"customer_algorithm,attr"` // CustomerKey: string, optional CustomerKey terra.StringValue `hcl:"customer_key,attr"` // CustomerKeyMd5: string, optional CustomerKeyMd5 terra.StringValue `hcl:"customer_key_md5,attr"` // ExpectedBucketOwner: string, optional ExpectedBucketOwner terra.StringValue `hcl:"expected_bucket_owner,attr"` // ExpectedSourceBucketOwner: string, optional ExpectedSourceBucketOwner terra.StringValue `hcl:"expected_source_bucket_owner,attr"` // Expires: string, optional Expires terra.StringValue `hcl:"expires,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // KmsEncryptionContext: string, optional KmsEncryptionContext terra.StringValue `hcl:"kms_encryption_context,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // MetadataDirective: string, optional MetadataDirective terra.StringValue `hcl:"metadata_directive,attr"` // ObjectLockLegalHoldStatus: string, optional ObjectLockLegalHoldStatus terra.StringValue `hcl:"object_lock_legal_hold_status,attr"` // ObjectLockMode: string, optional ObjectLockMode terra.StringValue `hcl:"object_lock_mode,attr"` // ObjectLockRetainUntilDate: string, optional ObjectLockRetainUntilDate terra.StringValue `hcl:"object_lock_retain_until_date,attr"` // RequestPayer: string, optional RequestPayer terra.StringValue `hcl:"request_payer,attr"` // ServerSideEncryption: string, optional ServerSideEncryption terra.StringValue `hcl:"server_side_encryption,attr"` // Source: string, required Source terra.StringValue `hcl:"source,attr" validate:"required"` // SourceCustomerAlgorithm: string, optional SourceCustomerAlgorithm terra.StringValue `hcl:"source_customer_algorithm,attr"` // SourceCustomerKey: string, optional SourceCustomerKey terra.StringValue `hcl:"source_customer_key,attr"` // SourceCustomerKeyMd5: string, optional SourceCustomerKeyMd5 terra.StringValue `hcl:"source_customer_key_md5,attr"` // StorageClass: string, optional StorageClass terra.StringValue `hcl:"storage_class,attr"` // TaggingDirective: string, optional TaggingDirective terra.StringValue `hcl:"tagging_directive,attr"` // 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"` // WebsiteRedirect: string, optional WebsiteRedirect terra.StringValue `hcl:"website_redirect,attr"` // Grant: min=0 Grant []Grant `hcl:"grant,block" validate:"min=0"` }
Args contains the configurations for aws_s3_object_copy.
type Grant ¶
type Grant struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Permissions: set of string, required Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Uri: string, optional Uri terra.StringValue `hcl:"uri,attr"` }
type GrantAttributes ¶
type GrantAttributes struct {
// contains filtered or unexported fields
}
func (GrantAttributes) Email ¶
func (g GrantAttributes) Email() terra.StringValue
func (GrantAttributes) Id ¶
func (g GrantAttributes) Id() terra.StringValue
func (GrantAttributes) InternalRef ¶
func (g GrantAttributes) InternalRef() (terra.Reference, error)
func (GrantAttributes) InternalTokens ¶
func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrantAttributes) InternalWithRef ¶
func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
func (GrantAttributes) Permissions ¶
func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
func (GrantAttributes) Type ¶
func (g GrantAttributes) Type() terra.StringValue
func (GrantAttributes) Uri ¶
func (g GrantAttributes) Uri() terra.StringValue
type GrantState ¶
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_object_copy.
func (*Resource) Attributes ¶
func (asoc *Resource) Attributes() awsS3ObjectCopyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asoc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asoc *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.