Documentation ¶
Overview ¶
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Package s3 provides a Terraform datasource.
Index ¶
- Constants
- Variables
- func NewBucketACLDataSource() datasource.DataSource
- func NewBucketACLResource() resource.Resource
- func NewBucketCorsConfigurationDatasource() datasource.DataSource
- func NewBucketCorsConfigurationResource() resource.Resource
- func NewBucketDataSource() datasource.DataSource
- func NewBucketLifecycleConfigurationDataSource() datasource.DataSource
- func NewBucketLifecycleConfigurationResource() resource.Resource
- func NewBucketPolicyDataSource() datasource.DataSource
- func NewBucketPolicyResource() resource.Resource
- func NewBucketResource() resource.Resource
- func NewBucketVersioningConfigurationDatasource() datasource.DataSource
- func NewBucketVersioningConfigurationResource() resource.Resource
- func NewBucketWebsiteConfigurationDataSource() datasource.DataSource
- func NewBucketWebsiteConfigurationResource() resource.Resource
- func NewCredentialResource() resource.Resource
- func NewUserDataSource() datasource.DataSource
- func NotFound(err error) bool
- func SecondJSONUnlessEquivalent(existingPolicy, newPolicy string) (string, error)
- type BucketACLDataSource
- func (d *BucketACLDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketACLDataSource) Init(ctx context.Context, dm *BucketACLModelDatasource) (diags diag.Diagnostics)
- func (d *BucketACLDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketACLDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketACLDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketACLModel
- type BucketACLModelAccessControlPolicy
- type BucketACLModelDatasource
- type BucketACLModelGrant
- type BucketACLModelGrantee
- type BucketACLModelGrants
- type BucketACLModelOwner
- type BucketACLResource
- func (r *BucketACLResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketACLResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketACLResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketACLResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketACLResource) Init(ctx context.Context, rm *BucketACLModel) (diags diag.Diagnostics)
- func (r *BucketACLResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketACLResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketACLResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketACLResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketCorsConfigurationDatasource
- func (d *BucketCorsConfigurationDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketCorsConfigurationDatasource) Init(ctx context.Context, dm *BucketCorsConfigurationModelDatasource) (diags diag.Diagnostics)
- func (d *BucketCorsConfigurationDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketCorsConfigurationDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketCorsConfigurationDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketCorsConfigurationModel
- type BucketCorsConfigurationModelAllowedHeaders
- type BucketCorsConfigurationModelAllowedMethods
- type BucketCorsConfigurationModelAllowedOrigins
- type BucketCorsConfigurationModelCorsRule
- type BucketCorsConfigurationModelCorsRules
- type BucketCorsConfigurationModelDatasource
- type BucketCorsConfigurationModelExposeHeaders
- type BucketCorsConfigurationResource
- func (r *BucketCorsConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketCorsConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketCorsConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketCorsConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketCorsConfigurationResource) Init(ctx context.Context, rm *BucketCorsConfigurationModel) (diags diag.Diagnostics)
- func (r *BucketCorsConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketCorsConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketCorsConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketCorsConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketDataSource
- func (d *BucketDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketDataSource) Init(ctx context.Context, dm *BucketModel) (diags diag.Diagnostics)
- func (d *BucketDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketLifecycleConfigurationDataSource
- func (d *BucketLifecycleConfigurationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketLifecycleConfigurationDataSource) Init(ctx context.Context, dm *BucketLifecycleConfigurationDatasourceModel) (diags diag.Diagnostics)
- func (d *BucketLifecycleConfigurationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketLifecycleConfigurationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketLifecycleConfigurationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketLifecycleConfigurationDatasourceModel
- type BucketLifecycleConfigurationModel
- type BucketLifecycleConfigurationModelAbortIncompleteMultipartUpload
- type BucketLifecycleConfigurationModelAnd
- type BucketLifecycleConfigurationModelExpiration
- type BucketLifecycleConfigurationModelFilter
- type BucketLifecycleConfigurationModelNoncurrentVersionExpiration
- type BucketLifecycleConfigurationModelRule
- type BucketLifecycleConfigurationModelRules
- type BucketLifecycleConfigurationModelTag
- type BucketLifecycleConfigurationResource
- func (r *BucketLifecycleConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketLifecycleConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketLifecycleConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketLifecycleConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketLifecycleConfigurationResource) Init(ctx context.Context, rm *BucketLifecycleConfigurationModel) (diags diag.Diagnostics)
- func (r *BucketLifecycleConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketLifecycleConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketLifecycleConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketLifecycleConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketModel
- type BucketPolicyDataSource
- func (d *BucketPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketPolicyDataSource) Init(ctx context.Context, dm *BucketPolicyModelDatasource) (diags diag.Diagnostics)
- func (d *BucketPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketPolicyModel
- type BucketPolicyModelDatasource
- type BucketPolicyResource
- func (r *BucketPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketPolicyResource) Init(ctx context.Context, rm *BucketPolicyModel) (diags diag.Diagnostics)
- func (r *BucketPolicyResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketPolicyResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketResource
- func (r *BucketResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketResource) Init(ctx context.Context, rm *BucketModel) (diags diag.Diagnostics)
- func (r *BucketResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketVersioningConfigurationDatasource
- func (d *BucketVersioningConfigurationDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketVersioningConfigurationDatasource) Init(ctx context.Context, dm *BucketVersioningConfigurationDatasourceModel) (diags diag.Diagnostics)
- func (d *BucketVersioningConfigurationDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketVersioningConfigurationDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketVersioningConfigurationDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketVersioningConfigurationDatasourceModel
- type BucketVersioningConfigurationModel
- type BucketVersioningConfigurationResource
- func (r *BucketVersioningConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketVersioningConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketVersioningConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketVersioningConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketVersioningConfigurationResource) Init(ctx context.Context, rm *BucketVersioningConfigurationModel) (diags diag.Diagnostics)
- func (r *BucketVersioningConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketVersioningConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketVersioningConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketVersioningConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BucketWebsiteConfigurationDataSource
- func (d *BucketWebsiteConfigurationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BucketWebsiteConfigurationDataSource) Init(ctx context.Context, dm *BucketWebsiteConfigurationDataSourceModel) (diags diag.Diagnostics)
- func (d *BucketWebsiteConfigurationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BucketWebsiteConfigurationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BucketWebsiteConfigurationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BucketWebsiteConfigurationDataSourceModel
- func (dm *BucketWebsiteConfigurationDataSourceModel) Copy() any
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetErrorDocument(ctx context.Context, ...) diag.Diagnostics
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetID(id string)
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetIndexDocument(ctx context.Context, ...) diag.Diagnostics
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetRedirectAllRequestsTo(ctx context.Context, ...) diag.Diagnostics
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetRoutingRules(ctx context.Context, ...) diag.Diagnostics
- func (dm *BucketWebsiteConfigurationDataSourceModel) SetWebsiteEnpoint(endpoint string)
- type BucketWebsiteConfigurationModel
- func (rm *BucketWebsiteConfigurationModel) Copy() any
- func (rm *BucketWebsiteConfigurationModel) CreateS3WebsiteConfigurationAPIObject(ctx context.Context) (websiteConfig *s3.WebsiteConfiguration, diags diag.Diagnostics)
- func (rm *BucketWebsiteConfigurationModel) SetErrorDocument(ctx context.Context, ...) diag.Diagnostics
- func (rm *BucketWebsiteConfigurationModel) SetID(id string)
- func (rm *BucketWebsiteConfigurationModel) SetIndexDocument(ctx context.Context, ...) diag.Diagnostics
- func (rm *BucketWebsiteConfigurationModel) SetRedirectAllRequestsTo(ctx context.Context, ...) diag.Diagnostics
- func (rm *BucketWebsiteConfigurationModel) SetRoutingRules(ctx context.Context, ...) diag.Diagnostics
- func (rm *BucketWebsiteConfigurationModel) SetWebsiteEnpoint(endpoint string)
- type BucketWebsiteConfigurationModelCondition
- type BucketWebsiteConfigurationModelErrorDocument
- type BucketWebsiteConfigurationModelIndexDocument
- type BucketWebsiteConfigurationModelRedirect
- type BucketWebsiteConfigurationModelRedirectAllRequestsTo
- type BucketWebsiteConfigurationModelRoutingRule
- type BucketWebsiteConfigurationResource
- func (r *BucketWebsiteConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BucketWebsiteConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BucketWebsiteConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BucketWebsiteConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BucketWebsiteConfigurationResource) Init(ctx context.Context, rm *BucketWebsiteConfigurationModel) (diags diag.Diagnostics)
- func (r *BucketWebsiteConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *BucketWebsiteConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BucketWebsiteConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BucketWebsiteConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CredentialModel
- type CredentialResource
- func (r *CredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CredentialResource) Init(ctx context.Context, rm *CredentialModel) (diags diag.Diagnostics)
- func (r *CredentialResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r *CredentialResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *CredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CredentialResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RetryWhenConfig
- type UserDataSource
- func (d *UserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *UserDataSource) Init(ctx context.Context, dm *UserDataSourceModel) (diags diag.Diagnostics)
- func (d *UserDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type UserDataSourceModel
Constants ¶
const ( ErrCodeAccessDenied = "AccessDenied" ErrCodeBucketNotEmpty = "BucketNotEmpty" ErrCodeInvalidBucketState = "InvalidBucketState" ErrCodeInvalidRequest = "InvalidRequest" ErrCodeMalformedPolicy = "MalformedPolicy" ErrCodeMethodNotAllowed = "MethodNotAllowed" ErrCodeNoSuchBucket = "NoSuchBucket" ErrCodeNoSuchBucketPolicy = "NoSuchBucketPolicy" ErrCodeNoSuchConfiguration = "NoSuchConfiguration" ErrCodeNoSuchCORSConfiguration = "NoSuchCORSConfiguration" ErrCodeNoSuchLifecycleConfiguration = "NoSuchLifecycleConfiguration" ErrCodeNoSuchKey = "NoSuchKey" ErrCodeNoSuchPublicAccessBlockConfiguration = "NoSuchPublicAccessBlockConfiguration" ErrCodeNoSuchTagSet = "NoSuchTagSet" ErrCodeNoSuchTagSetError = "NoSuchTagSetError" ErrCodeNoSuchWebsiteConfiguration = "NoSuchWebsiteConfiguration" ErrCodeNotImplemented = "NotImplemented" // ErrCodeObjectLockConfigurationNotFound should be used with tfawsErr.ErrCodeContains, not tfawsErr.ErrCodeEquals. // Reference: https://github.com/hashicorp/tErraform-provider-aws/pull/26317 ErrCodeObjectLockConfigurationNotFound = "ObjectLockConfigurationNotFound" ErrCodeObjectLockConfigurationNotFoundError = "ObjectLockConfigurationNotFoundError" ErrCodeOperationAborted = "OperationAborted" ErrCodeOwnershipControlsNotFoundError = "OwnershipControlsNotFoundError" ErrCodeReplicationConfigurationNotFound = "ReplicationConfigurationNotFoundError" ErrCodeServerSideEncryptionConfigurationNotFound = "ServerSideEncryptionConfigurationNotFoundError" ErrCodeUnsupportedArgument = "UnsupportedArgument" // ErrCodeXNotImplemented is returned from Third Party S3 implementations // and so far has been noticed with calls to GetBucketWebsite. // Reference: https://github.com/hashicorp/tErraform-provider-aws/issues/14645 ErrCodeXNotImplemented = "XNotImplemented" )
const ( // LifecycleConfigurationRulesStatusReady occurs when all configured rules reach their desired state (Enabled or Disabled). LifecycleConfigurationRulesStatusReady = "READY" // LifecycleConfigurationRulesStatusNotReady occurs when all configured rules have not reached their desired state (Enabled or Disabled). LifecycleConfigurationRulesStatusNotReady = "NOT_READY" )
Variables ¶
var DefaultWaitRetryInterval *time.Duration
DefaultWaitRetryInterval is used to set the retry interval to 0 during acceptance tests.
var ErrRetryWhenTimeout = errors.New("timeout reached")
Functions ¶
func NewBucketACLDataSource ¶
func NewBucketACLDataSource() datasource.DataSource
func NewBucketACLResource ¶
NewBucketACLResource is a helper function to simplify the provider implementation.
func NewBucketCorsConfigurationDatasource ¶
func NewBucketCorsConfigurationDatasource() datasource.DataSource
func NewBucketCorsConfigurationResource ¶
NewBucketCorsConfigurationResource is a helper function to simplify the provider implementation.
func NewBucketDataSource ¶
func NewBucketDataSource() datasource.DataSource
func NewBucketLifecycleConfigurationDataSource ¶
func NewBucketLifecycleConfigurationDataSource() datasource.DataSource
func NewBucketLifecycleConfigurationResource ¶
NewBucketLifecycleConfigurationResource is a helper function to simplify the provider implementation.
func NewBucketPolicyDataSource ¶
func NewBucketPolicyDataSource() datasource.DataSource
func NewBucketPolicyResource ¶
NewBucketPolicyResource is a helper function to simplify the provider implementation.
func NewBucketResource ¶
NewBucketResource is a helper function to simplify the provider implementation.
func NewBucketVersioningConfigurationDatasource ¶
func NewBucketVersioningConfigurationDatasource() datasource.DataSource
func NewBucketVersioningConfigurationResource ¶
NewBucketVersioningConfigurationResource is a helper function to simplify the provider implementation.
func NewBucketWebsiteConfigurationDataSource ¶
func NewBucketWebsiteConfigurationDataSource() datasource.DataSource
func NewBucketWebsiteConfigurationResource ¶
NewBucketWebsiteConfigurationResource is a helper function to simplify the provider implementation.
func NewCredentialResource ¶
NewCredentialResource is a helper function to simplify the provider implementation.
func NewUserDataSource ¶ added in v0.15.1
func NewUserDataSource() datasource.DataSource
func NotFound ¶
NotFound returns true if the error represents a "resource not found" condition. Specifically, NotFound returns true if the error or a wrapped error is of type retry.NotFoundError.
Types ¶
type BucketACLDataSource ¶
type BucketACLDataSource struct {
// contains filtered or unexported fields
}
func (*BucketACLDataSource) Configure ¶
func (d *BucketACLDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketACLDataSource) Init ¶
func (d *BucketACLDataSource) Init(ctx context.Context, dm *BucketACLModelDatasource) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketACLDataSource) Metadata ¶
func (d *BucketACLDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketACLDataSource) Read ¶
func (d *BucketACLDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketACLDataSource) Schema ¶
func (d *BucketACLDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketACLModel ¶
type BucketACLModel struct { AccessControlPolicy supertypes.SingleNestedObjectValueOf[BucketACLModelAccessControlPolicy] `tfsdk:"access_control_policy"` ACL supertypes.StringValue `tfsdk:"acl"` Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Timeouts timeoutsR.Value `tfsdk:"timeouts"` }
func (*BucketACLModel) Copy ¶
func (rm *BucketACLModel) Copy() any
func (*BucketACLModel) SetAccessControlPolicy ¶
func (rm *BucketACLModel) SetAccessControlPolicy(ctx context.Context, values *BucketACLModelAccessControlPolicy) (diags diag.Diagnostics)
SetAccessControlPolicy sets the value of the AccessControlPolicy field.
type BucketACLModelAccessControlPolicy ¶
type BucketACLModelAccessControlPolicy struct { Grants supertypes.SetNestedObjectValueOf[BucketACLModelGrant] `tfsdk:"grants"` Owner supertypes.SingleNestedObjectValueOf[BucketACLModelOwner] `tfsdk:"owner"` }
* AccessControlPolicy: Grant field is Optional. Owner field is Require.
func NewBucketACLModelAccessControlPolicy ¶
func NewBucketACLModelAccessControlPolicy(ctx context.Context) *BucketACLModelAccessControlPolicy
NewBucketACLModelGrants returns a nul struct of BucketACLModelAccessControlPolicy.
type BucketACLModelDatasource ¶
type BucketACLModelDatasource struct { AccessControlPolicy supertypes.SingleNestedObjectValueOf[BucketACLModelAccessControlPolicy] `tfsdk:"access_control_policy"` ACL supertypes.StringValue `tfsdk:"acl"` Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Timeouts timeoutsD.Value `tfsdk:"timeouts"` }
func (*BucketACLModelDatasource) Copy ¶
func (rm *BucketACLModelDatasource) Copy() any
func (*BucketACLModelDatasource) SetAccessControlPolicy ¶
func (rm *BucketACLModelDatasource) SetAccessControlPolicy(ctx context.Context, values *BucketACLModelAccessControlPolicy) (diags diag.Diagnostics)
SetAccessControlPolicy sets the value of the AccessControlPolicy field.
func (*BucketACLModelDatasource) SetID ¶
func (rm *BucketACLModelDatasource) SetID(id *string)
BucketACLModelDatasource SetID.
type BucketACLModelGrant ¶
type BucketACLModelGrant struct { Grantee supertypes.SingleNestedObjectValueOf[BucketACLModelGrantee] `tfsdk:"grantee"` Permission supertypes.StringValue `tfsdk:"permission"` }
* Grant.
func NewBucketACLModelGrant ¶
func NewBucketACLModelGrant(ctx context.Context) *BucketACLModelGrant
NewBucketACLModelGrant returns a null struct of BucketACLModelGrant.
type BucketACLModelGrantee ¶
type BucketACLModelGrantee struct { DisplayName supertypes.StringValue `tfsdk:"display_name"` EmailAddress supertypes.StringValue `tfsdk:"email_address"` ID supertypes.StringValue `tfsdk:"id"` Type supertypes.StringValue `tfsdk:"type"` URI supertypes.StringValue `tfsdk:"uri"` }
* Grantee.
func NewBucketACLModelGrantee ¶
func NewBucketACLModelGrantee() *BucketACLModelGrantee
NewBucketACLModelGrantee returns a null struct of BucketACLModelGrantee.
type BucketACLModelOwner ¶
type BucketACLModelOwner struct { DisplayName supertypes.StringValue `tfsdk:"display_name"` ID supertypes.StringValue `tfsdk:"id"` }
* Owner.
func NewBucketACLModelOwner ¶
func NewBucketACLModelOwner() *BucketACLModelOwner
NewBucketACLModelOwner returns a null struct of BucketACLModelOwner.
type BucketACLResource ¶
type BucketACLResource struct {
// contains filtered or unexported fields
}
BucketACLResource is the resource implementation.
func (*BucketACLResource) Configure ¶
func (r *BucketACLResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketACLResource) Create ¶
func (r *BucketACLResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketACLResource) Delete ¶
func (r *BucketACLResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketACLResource) ImportState ¶
func (r *BucketACLResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketACLResource) Init ¶
func (r *BucketACLResource) Init(ctx context.Context, rm *BucketACLModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketACLResource) Metadata ¶
func (r *BucketACLResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketACLResource) Read ¶
func (r *BucketACLResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketACLResource) Schema ¶
func (r *BucketACLResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketACLResource) Update ¶
func (r *BucketACLResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketCorsConfigurationDatasource ¶
type BucketCorsConfigurationDatasource struct {
// contains filtered or unexported fields
}
func (*BucketCorsConfigurationDatasource) Configure ¶
func (d *BucketCorsConfigurationDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketCorsConfigurationDatasource) Init ¶
func (d *BucketCorsConfigurationDatasource) Init(ctx context.Context, dm *BucketCorsConfigurationModelDatasource) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketCorsConfigurationDatasource) Metadata ¶
func (d *BucketCorsConfigurationDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketCorsConfigurationDatasource) Read ¶
func (d *BucketCorsConfigurationDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketCorsConfigurationDatasource) Schema ¶
func (d *BucketCorsConfigurationDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketCorsConfigurationModel ¶
type BucketCorsConfigurationModel struct { Timeouts timeoutsR.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` CorsRules supertypes.SetNestedValue `tfsdk:"cors_rules"` }
func (*BucketCorsConfigurationModel) Copy ¶
func (rm *BucketCorsConfigurationModel) Copy() *BucketCorsConfigurationModel
func (*BucketCorsConfigurationModel) GetCorsRules ¶
func (rm *BucketCorsConfigurationModel) GetCorsRules(ctx context.Context) (values BucketCorsConfigurationModelCorsRules, diags diag.Diagnostics)
GetCorsRules returns the value of the CorsRules field.
type BucketCorsConfigurationModelAllowedHeaders ¶
type BucketCorsConfigurationModelAllowedHeaders []supertypes.SetValue
type BucketCorsConfigurationModelAllowedMethods ¶
type BucketCorsConfigurationModelAllowedMethods []supertypes.SetValue
type BucketCorsConfigurationModelAllowedOrigins ¶
type BucketCorsConfigurationModelAllowedOrigins []supertypes.SetValue
type BucketCorsConfigurationModelCorsRule ¶
type BucketCorsConfigurationModelCorsRule struct { AllowedHeaders supertypes.SetValue `tfsdk:"allowed_headers"` AllowedMethods supertypes.SetValue `tfsdk:"allowed_methods"` AllowedOrigins supertypes.SetValue `tfsdk:"allowed_origins"` ExposeHeaders supertypes.SetValue `tfsdk:"expose_headers"` ID supertypes.StringValue `tfsdk:"id"` MaxAgeSeconds supertypes.Int64Value `tfsdk:"max_age_seconds"` }
func NewBucketCorsConfigurationModelCorsRule ¶
func NewBucketCorsConfigurationModelCorsRule() BucketCorsConfigurationModelCorsRule
NewBucketCorsConfigurationModelCorsRule creates a new BucketCorsConfigurationModelCorsRule.
type BucketCorsConfigurationModelCorsRules ¶
type BucketCorsConfigurationModelCorsRules []BucketCorsConfigurationModelCorsRule
func (BucketCorsConfigurationModelCorsRules) CorsRulesToS3CorsRules ¶
func (c BucketCorsConfigurationModelCorsRules) CorsRulesToS3CorsRules(ctx context.Context) (s3CorsRules []*s3.CORSRule, diags diag.Diagnostics)
CorsRulesToS3CorsRules converts the BucketCorsConfigurationModelCorsRules to a slice of []*s3.CORSRule.
type BucketCorsConfigurationModelDatasource ¶
type BucketCorsConfigurationModelDatasource struct { Timeouts timeoutsD.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` CorsRules supertypes.SetNestedValue `tfsdk:"cors_rules"` }
type BucketCorsConfigurationModelExposeHeaders ¶
type BucketCorsConfigurationModelExposeHeaders []supertypes.SetValue
type BucketCorsConfigurationResource ¶
type BucketCorsConfigurationResource struct {
// contains filtered or unexported fields
}
BucketCorsConfigurationResource is the resource implementation.
func (*BucketCorsConfigurationResource) Configure ¶
func (r *BucketCorsConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketCorsConfigurationResource) Create ¶
func (r *BucketCorsConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketCorsConfigurationResource) Delete ¶
func (r *BucketCorsConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketCorsConfigurationResource) ImportState ¶
func (r *BucketCorsConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketCorsConfigurationResource) Init ¶
func (r *BucketCorsConfigurationResource) Init(ctx context.Context, rm *BucketCorsConfigurationModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketCorsConfigurationResource) Metadata ¶
func (r *BucketCorsConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketCorsConfigurationResource) Read ¶
func (r *BucketCorsConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketCorsConfigurationResource) Schema ¶
func (r *BucketCorsConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketCorsConfigurationResource) Update ¶
func (r *BucketCorsConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketDataSource ¶
type BucketDataSource struct {
// contains filtered or unexported fields
}
func (*BucketDataSource) Configure ¶
func (d *BucketDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketDataSource) Init ¶
func (d *BucketDataSource) Init(ctx context.Context, dm *BucketModel) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketDataSource) Metadata ¶
func (d *BucketDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketDataSource) Read ¶
func (d *BucketDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketDataSource) Schema ¶
func (d *BucketDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketLifecycleConfigurationDataSource ¶
type BucketLifecycleConfigurationDataSource struct {
// contains filtered or unexported fields
}
func (*BucketLifecycleConfigurationDataSource) Configure ¶
func (d *BucketLifecycleConfigurationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketLifecycleConfigurationDataSource) Init ¶
func (d *BucketLifecycleConfigurationDataSource) Init(ctx context.Context, dm *BucketLifecycleConfigurationDatasourceModel) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketLifecycleConfigurationDataSource) Metadata ¶
func (d *BucketLifecycleConfigurationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketLifecycleConfigurationDataSource) Read ¶
func (d *BucketLifecycleConfigurationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketLifecycleConfigurationDataSource) Schema ¶
func (d *BucketLifecycleConfigurationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketLifecycleConfigurationDatasourceModel ¶
type BucketLifecycleConfigurationDatasourceModel struct { Timeouts timeoutsD.Value `tfsdk:"timeouts"` Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Rules supertypes.ListNestedObjectValueOf[BucketLifecycleConfigurationModelRule] `tfsdk:"rules"` }
func (*BucketLifecycleConfigurationDatasourceModel) Copy ¶
func (rm *BucketLifecycleConfigurationDatasourceModel) Copy() any
func (*BucketLifecycleConfigurationDatasourceModel) SetID ¶
func (rm *BucketLifecycleConfigurationDatasourceModel) SetID(id *string)
BucketLifecycleConfigurationDatasourceModel SetID.
func (*BucketLifecycleConfigurationDatasourceModel) SetRules ¶
func (rm *BucketLifecycleConfigurationDatasourceModel) SetRules(ctx context.Context, rules BucketLifecycleConfigurationModelRules) (diags diag.Diagnostics)
BucketLifecycleConfigurationDatasourceModel SetRules.
type BucketLifecycleConfigurationModel ¶
type BucketLifecycleConfigurationModel struct { Timeouts timeoutsR.Value `tfsdk:"timeouts"` Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Rules supertypes.ListNestedObjectValueOf[BucketLifecycleConfigurationModelRule] `tfsdk:"rules"` }
func (*BucketLifecycleConfigurationModel) Copy ¶
func (rm *BucketLifecycleConfigurationModel) Copy() any
func (*BucketLifecycleConfigurationModel) SetID ¶
func (rm *BucketLifecycleConfigurationModel) SetID(id *string)
BucketLifecycleConfigurationModel SetID.
func (*BucketLifecycleConfigurationModel) SetRules ¶
func (rm *BucketLifecycleConfigurationModel) SetRules(ctx context.Context, rules BucketLifecycleConfigurationModelRules) (diags diag.Diagnostics)
BucketLifecycleConfigurationModel SetRules.
type BucketLifecycleConfigurationModelAbortIncompleteMultipartUpload ¶
type BucketLifecycleConfigurationModelAbortIncompleteMultipartUpload struct {
DaysAfterInitiation supertypes.Int64Value `tfsdk:"days_after_initiation"`
}
type BucketLifecycleConfigurationModelAnd ¶
type BucketLifecycleConfigurationModelAnd struct { Tags supertypes.ListNestedObjectValueOf[BucketLifecycleConfigurationModelTag] `tfsdk:"tags"` Prefix supertypes.StringValue `tfsdk:"prefix"` }
type BucketLifecycleConfigurationModelExpiration ¶
type BucketLifecycleConfigurationModelExpiration struct { Date supertypes.StringValue `tfsdk:"date"` Days supertypes.Int64Value `tfsdk:"days"` ExpiredObjectDeleteMarker supertypes.BoolValue `tfsdk:"expired_object_delete_marker"` }
type BucketLifecycleConfigurationModelFilter ¶
type BucketLifecycleConfigurationModelFilter struct { And supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelAnd] `tfsdk:"and"` Tag supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelTag] `tfsdk:"tag"` Prefix supertypes.StringValue `tfsdk:"prefix"` }
type BucketLifecycleConfigurationModelNoncurrentVersionExpiration ¶
type BucketLifecycleConfigurationModelNoncurrentVersionExpiration struct { NewerNoncurrentVersions supertypes.Int64Value `tfsdk:"newer_noncurrent_versions"` NoncurrentDays supertypes.Int64Value `tfsdk:"noncurrent_days"` }
type BucketLifecycleConfigurationModelRule ¶
type BucketLifecycleConfigurationModelRule struct { AbortIncompleteMultipartUpload supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelAbortIncompleteMultipartUpload] `tfsdk:"abort_incomplete_multipart_upload"` Expiration supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelExpiration] `tfsdk:"expiration"` Filter supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelFilter] `tfsdk:"filter"` ID supertypes.StringValue `tfsdk:"id"` NoncurrentVersionExpiration supertypes.SingleNestedObjectValueOf[BucketLifecycleConfigurationModelNoncurrentVersionExpiration] `tfsdk:"noncurrent_version_expiration"` Status supertypes.StringValue `tfsdk:"status"` }
type BucketLifecycleConfigurationModelRules ¶
type BucketLifecycleConfigurationModelRules []*BucketLifecycleConfigurationModelRule
func ToBucketLifecycleConfigurationModel ¶
func ToBucketLifecycleConfigurationModel(ctx context.Context, lifecycle *s3.GetBucketLifecycleConfigurationOutput) (values BucketLifecycleConfigurationModelRules, diags diag.Diagnostics)
ToBucketLifecycleConfigurationModel converts a slice of *s3.GetBucketLifecycleConfigurationOutput to a slice of BucketLifecycleConfigurationModelRule.
type BucketLifecycleConfigurationModelTag ¶
type BucketLifecycleConfigurationModelTag struct { Key supertypes.StringValue `tfsdk:"key"` Value supertypes.StringValue `tfsdk:"value"` }
type BucketLifecycleConfigurationResource ¶
type BucketLifecycleConfigurationResource struct {
// contains filtered or unexported fields
}
BucketLifecycleConfigurationResource is the resource implementation.
func (*BucketLifecycleConfigurationResource) Configure ¶
func (r *BucketLifecycleConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketLifecycleConfigurationResource) Create ¶
func (r *BucketLifecycleConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketLifecycleConfigurationResource) Delete ¶
func (r *BucketLifecycleConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketLifecycleConfigurationResource) ImportState ¶
func (r *BucketLifecycleConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketLifecycleConfigurationResource) Init ¶
func (r *BucketLifecycleConfigurationResource) Init(ctx context.Context, rm *BucketLifecycleConfigurationModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketLifecycleConfigurationResource) Metadata ¶
func (r *BucketLifecycleConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketLifecycleConfigurationResource) Read ¶
func (r *BucketLifecycleConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketLifecycleConfigurationResource) Schema ¶
func (r *BucketLifecycleConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketLifecycleConfigurationResource) Update ¶
func (r *BucketLifecycleConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketModel ¶
type BucketModel struct { ID supertypes.StringValue `tfsdk:"id"` Name supertypes.StringValue `tfsdk:"name"` ObjectLock supertypes.BoolValue `tfsdk:"object_lock"` Endpoint supertypes.StringValue `tfsdk:"endpoint"` }
func (*BucketModel) Copy ¶
func (rm *BucketModel) Copy() *BucketModel
type BucketPolicyDataSource ¶
type BucketPolicyDataSource struct {
// contains filtered or unexported fields
}
func (*BucketPolicyDataSource) Configure ¶
func (d *BucketPolicyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketPolicyDataSource) Init ¶
func (d *BucketPolicyDataSource) Init(ctx context.Context, dm *BucketPolicyModelDatasource) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketPolicyDataSource) Metadata ¶
func (d *BucketPolicyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketPolicyDataSource) Read ¶
func (d *BucketPolicyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketPolicyDataSource) Schema ¶
func (d *BucketPolicyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketPolicyModel ¶
type BucketPolicyModel struct { Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Policy supertypes.StringValue `tfsdk:"policy"` Timeouts timeoutsR.Value `tfsdk:"timeouts"` }
func (*BucketPolicyModel) Copy ¶
func (rm *BucketPolicyModel) Copy() any
func (*BucketPolicyModel) GetPolicy ¶
func (rm *BucketPolicyModel) GetPolicy(ctx context.Context) string
GetTimeouts returns the value of the Timeouts field.
func (*BucketPolicyModel) SetID ¶
func (rm *BucketPolicyModel) SetID(id *string)
SetID sets the value of the ID field.
func (*BucketPolicyModel) SetPolicy ¶
func (rm *BucketPolicyModel) SetPolicy(policy string)
SetPolicy sets the value of the Policy field.
type BucketPolicyModelDatasource ¶
type BucketPolicyModelDatasource struct { Bucket supertypes.StringValue `tfsdk:"bucket"` ID supertypes.StringValue `tfsdk:"id"` Policy supertypes.StringValue `tfsdk:"policy"` Timeouts timeoutsD.Value `tfsdk:"timeouts"` }
func (*BucketPolicyModelDatasource) Copy ¶
func (rm *BucketPolicyModelDatasource) Copy() any
func (*BucketPolicyModelDatasource) GetPolicy ¶
func (rm *BucketPolicyModelDatasource) GetPolicy(ctx context.Context) string
func (*BucketPolicyModelDatasource) SetID ¶
func (rm *BucketPolicyModelDatasource) SetID(id *string)
func (*BucketPolicyModelDatasource) SetPolicy ¶
func (rm *BucketPolicyModelDatasource) SetPolicy(policy string)
SetPolicy sets the value of the Policy field.
type BucketPolicyResource ¶
type BucketPolicyResource struct {
// contains filtered or unexported fields
}
BucketPolicyResource is the resource implementation.
func (*BucketPolicyResource) Configure ¶
func (r *BucketPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketPolicyResource) Create ¶
func (r *BucketPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketPolicyResource) Delete ¶
func (r *BucketPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketPolicyResource) ImportState ¶
func (r *BucketPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketPolicyResource) Init ¶
func (r *BucketPolicyResource) Init(ctx context.Context, rm *BucketPolicyModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketPolicyResource) Metadata ¶
func (r *BucketPolicyResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketPolicyResource) Read ¶
func (r *BucketPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketPolicyResource) Schema ¶
func (r *BucketPolicyResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketPolicyResource) Update ¶
func (r *BucketPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketResource ¶
type BucketResource struct {
// contains filtered or unexported fields
}
BucketResource is the resource implementation.
func (*BucketResource) Configure ¶
func (r *BucketResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketResource) Create ¶
func (r *BucketResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketResource) Delete ¶
func (r *BucketResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketResource) ImportState ¶
func (r *BucketResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketResource) Init ¶
func (r *BucketResource) Init(ctx context.Context, rm *BucketModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketResource) Metadata ¶
func (r *BucketResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketResource) Read ¶
func (r *BucketResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketResource) Schema ¶
func (r *BucketResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketResource) Update ¶
func (r *BucketResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketVersioningConfigurationDatasource ¶
type BucketVersioningConfigurationDatasource struct {
// contains filtered or unexported fields
}
func (*BucketVersioningConfigurationDatasource) Configure ¶
func (d *BucketVersioningConfigurationDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketVersioningConfigurationDatasource) Init ¶
func (d *BucketVersioningConfigurationDatasource) Init(ctx context.Context, dm *BucketVersioningConfigurationDatasourceModel) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketVersioningConfigurationDatasource) Metadata ¶
func (d *BucketVersioningConfigurationDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketVersioningConfigurationDatasource) Read ¶
func (d *BucketVersioningConfigurationDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketVersioningConfigurationDatasource) Schema ¶
func (d *BucketVersioningConfigurationDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketVersioningConfigurationDatasourceModel ¶
type BucketVersioningConfigurationDatasourceModel struct { Timeouts timeoutsD.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` Status supertypes.StringValue `tfsdk:"status"` }
type BucketVersioningConfigurationModel ¶
type BucketVersioningConfigurationModel struct { Timeouts timeoutsR.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` Status supertypes.StringValue `tfsdk:"status"` }
func (*BucketVersioningConfigurationModel) Copy ¶
func (rm *BucketVersioningConfigurationModel) Copy() *BucketVersioningConfigurationModel
type BucketVersioningConfigurationResource ¶
type BucketVersioningConfigurationResource struct {
// contains filtered or unexported fields
}
BucketVersioningConfigurationResource is the resource implementation.
func (*BucketVersioningConfigurationResource) Configure ¶
func (r *BucketVersioningConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketVersioningConfigurationResource) Create ¶
func (r *BucketVersioningConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketVersioningConfigurationResource) Delete ¶
func (r *BucketVersioningConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketVersioningConfigurationResource) ImportState ¶
func (r *BucketVersioningConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketVersioningConfigurationResource) Init ¶
func (r *BucketVersioningConfigurationResource) Init(ctx context.Context, rm *BucketVersioningConfigurationModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketVersioningConfigurationResource) Metadata ¶
func (r *BucketVersioningConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketVersioningConfigurationResource) Read ¶
func (r *BucketVersioningConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketVersioningConfigurationResource) Schema ¶
func (r *BucketVersioningConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketVersioningConfigurationResource) Update ¶
func (r *BucketVersioningConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type BucketWebsiteConfigurationDataSource ¶
type BucketWebsiteConfigurationDataSource struct {
// contains filtered or unexported fields
}
func (*BucketWebsiteConfigurationDataSource) Configure ¶
func (d *BucketWebsiteConfigurationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BucketWebsiteConfigurationDataSource) Init ¶
func (d *BucketWebsiteConfigurationDataSource) Init(ctx context.Context, dm *BucketWebsiteConfigurationDataSourceModel) (diags diag.Diagnostics)
Init Initializes the data source.
func (*BucketWebsiteConfigurationDataSource) Metadata ¶
func (d *BucketWebsiteConfigurationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BucketWebsiteConfigurationDataSource) Read ¶
func (d *BucketWebsiteConfigurationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BucketWebsiteConfigurationDataSource) Schema ¶
func (d *BucketWebsiteConfigurationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BucketWebsiteConfigurationDataSourceModel ¶
type BucketWebsiteConfigurationDataSourceModel struct { Timeouts timeoutsD.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` ErrorDocument supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelErrorDocument] `tfsdk:"error_document"` IndexDocument supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelIndexDocument] `tfsdk:"index_document"` RedirectAllRequestsTo supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelRedirectAllRequestsTo] `tfsdk:"redirect_all_requests_to"` RoutingRules supertypes.SetNestedObjectValueOf[BucketWebsiteConfigurationModelRoutingRule] `tfsdk:"routing_rules"` WebsiteEndpoint supertypes.StringValue `tfsdk:"website_endpoint"` }
func (*BucketWebsiteConfigurationDataSourceModel) Copy ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) Copy() any
func (*BucketWebsiteConfigurationDataSourceModel) SetErrorDocument ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetErrorDocument(ctx context.Context, errorDocument *BucketWebsiteConfigurationModelErrorDocument) diag.Diagnostics
func (*BucketWebsiteConfigurationDataSourceModel) SetID ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetID(id string)
func (*BucketWebsiteConfigurationDataSourceModel) SetIndexDocument ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetIndexDocument(ctx context.Context, indexDocument *BucketWebsiteConfigurationModelIndexDocument) diag.Diagnostics
func (*BucketWebsiteConfigurationDataSourceModel) SetRedirectAllRequestsTo ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetRedirectAllRequestsTo(ctx context.Context, redirectAllRequestsTo *BucketWebsiteConfigurationModelRedirectAllRequestsTo) diag.Diagnostics
func (*BucketWebsiteConfigurationDataSourceModel) SetRoutingRules ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetRoutingRules(ctx context.Context, routingRules []*BucketWebsiteConfigurationModelRoutingRule) diag.Diagnostics
func (*BucketWebsiteConfigurationDataSourceModel) SetWebsiteEnpoint ¶
func (dm *BucketWebsiteConfigurationDataSourceModel) SetWebsiteEnpoint(endpoint string)
type BucketWebsiteConfigurationModel ¶
type BucketWebsiteConfigurationModel struct { Timeouts timeoutsR.Value `tfsdk:"timeouts"` ID supertypes.StringValue `tfsdk:"id"` Bucket supertypes.StringValue `tfsdk:"bucket"` ErrorDocument supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelErrorDocument] `tfsdk:"error_document"` IndexDocument supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelIndexDocument] `tfsdk:"index_document"` RedirectAllRequestsTo supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelRedirectAllRequestsTo] `tfsdk:"redirect_all_requests_to"` RoutingRules supertypes.SetNestedObjectValueOf[BucketWebsiteConfigurationModelRoutingRule] `tfsdk:"routing_rules"` WebsiteEndpoint supertypes.StringValue `tfsdk:"website_endpoint"` }
func (*BucketWebsiteConfigurationModel) Copy ¶
func (rm *BucketWebsiteConfigurationModel) Copy() any
func (*BucketWebsiteConfigurationModel) CreateS3WebsiteConfigurationAPIObject ¶
func (rm *BucketWebsiteConfigurationModel) CreateS3WebsiteConfigurationAPIObject(ctx context.Context) (websiteConfig *s3.WebsiteConfiguration, diags diag.Diagnostics)
func (*BucketWebsiteConfigurationModel) SetErrorDocument ¶
func (rm *BucketWebsiteConfigurationModel) SetErrorDocument(ctx context.Context, errorDocument *BucketWebsiteConfigurationModelErrorDocument) diag.Diagnostics
func (*BucketWebsiteConfigurationModel) SetID ¶
func (rm *BucketWebsiteConfigurationModel) SetID(id string)
func (*BucketWebsiteConfigurationModel) SetIndexDocument ¶
func (rm *BucketWebsiteConfigurationModel) SetIndexDocument(ctx context.Context, indexDocument *BucketWebsiteConfigurationModelIndexDocument) diag.Diagnostics
func (*BucketWebsiteConfigurationModel) SetRedirectAllRequestsTo ¶
func (rm *BucketWebsiteConfigurationModel) SetRedirectAllRequestsTo(ctx context.Context, redirectAllRequestsTo *BucketWebsiteConfigurationModelRedirectAllRequestsTo) diag.Diagnostics
func (*BucketWebsiteConfigurationModel) SetRoutingRules ¶
func (rm *BucketWebsiteConfigurationModel) SetRoutingRules(ctx context.Context, routingRules []*BucketWebsiteConfigurationModelRoutingRule) diag.Diagnostics
func (*BucketWebsiteConfigurationModel) SetWebsiteEnpoint ¶
func (rm *BucketWebsiteConfigurationModel) SetWebsiteEnpoint(endpoint string)
type BucketWebsiteConfigurationModelCondition ¶
type BucketWebsiteConfigurationModelCondition struct { HTTPErrorCodeReturnedEquals supertypes.StringValue `tfsdk:"http_error_code_returned_equals"` KeyPrefixEquals supertypes.StringValue `tfsdk:"key_prefix_equals"` }
type BucketWebsiteConfigurationModelErrorDocument ¶
type BucketWebsiteConfigurationModelErrorDocument struct {
Key supertypes.StringValue `tfsdk:"key"`
}
type BucketWebsiteConfigurationModelIndexDocument ¶
type BucketWebsiteConfigurationModelIndexDocument struct {
Suffix supertypes.StringValue `tfsdk:"suffix"`
}
type BucketWebsiteConfigurationModelRedirect ¶
type BucketWebsiteConfigurationModelRedirect struct { HostName supertypes.StringValue `tfsdk:"hostname"` HTTPRedirectCode supertypes.StringValue `tfsdk:"http_redirect_code"` Protocol supertypes.StringValue `tfsdk:"protocol"` ReplaceKeyPrefixWith supertypes.StringValue `tfsdk:"replace_key_prefix_with"` ReplaceKeyWith supertypes.StringValue `tfsdk:"replace_key_with"` }
type BucketWebsiteConfigurationModelRedirectAllRequestsTo ¶
type BucketWebsiteConfigurationModelRedirectAllRequestsTo struct { HostName supertypes.StringValue `tfsdk:"hostname"` Protocol supertypes.StringValue `tfsdk:"protocol"` }
type BucketWebsiteConfigurationModelRoutingRule ¶
type BucketWebsiteConfigurationModelRoutingRule struct { Condition supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelCondition] `tfsdk:"condition"` Redirect supertypes.SingleNestedObjectValueOf[BucketWebsiteConfigurationModelRedirect] `tfsdk:"redirect"` }
type BucketWebsiteConfigurationResource ¶
type BucketWebsiteConfigurationResource struct {
// contains filtered or unexported fields
}
BucketWebsiteConfigurationResource is the resource implementation.
func (*BucketWebsiteConfigurationResource) Configure ¶
func (r *BucketWebsiteConfigurationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BucketWebsiteConfigurationResource) Create ¶
func (r *BucketWebsiteConfigurationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*BucketWebsiteConfigurationResource) Delete ¶
func (r *BucketWebsiteConfigurationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*BucketWebsiteConfigurationResource) ImportState ¶
func (r *BucketWebsiteConfigurationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BucketWebsiteConfigurationResource) Init ¶
func (r *BucketWebsiteConfigurationResource) Init(ctx context.Context, rm *BucketWebsiteConfigurationModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*BucketWebsiteConfigurationResource) Metadata ¶
func (r *BucketWebsiteConfigurationResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*BucketWebsiteConfigurationResource) Read ¶
func (r *BucketWebsiteConfigurationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*BucketWebsiteConfigurationResource) Schema ¶
func (r *BucketWebsiteConfigurationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*BucketWebsiteConfigurationResource) Update ¶
func (r *BucketWebsiteConfigurationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type CredentialModel ¶
type CredentialModel struct { ID supertypes.StringValue `tfsdk:"id"` Username supertypes.StringValue `tfsdk:"username"` FileName supertypes.StringValue `tfsdk:"file_name"` SaveInFile supertypes.BoolValue `tfsdk:"save_in_file"` PrintToken supertypes.BoolValue `tfsdk:"print_token"` SaveInTFState supertypes.BoolValue `tfsdk:"save_in_tfstate"` AccessKey supertypes.StringValue `tfsdk:"access_key"` SecretKey supertypes.StringValue `tfsdk:"secret_key"` }
func (*CredentialModel) Copy ¶
func (rm *CredentialModel) Copy() *CredentialModel
type CredentialResource ¶
type CredentialResource struct {
// contains filtered or unexported fields
}
CredentialResource is the resource implementation.
func (*CredentialResource) Configure ¶
func (r *CredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CredentialResource) Create ¶
func (r *CredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the resource and sets the initial Terraform state.
func (*CredentialResource) Delete ¶
func (r *CredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete deletes the resource and removes the Terraform state on success.
func (*CredentialResource) Init ¶
func (r *CredentialResource) Init(ctx context.Context, rm *CredentialModel) (diags diag.Diagnostics)
Init Initializes the resource.
func (*CredentialResource) Metadata ¶
func (r *CredentialResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata returns the resource type name.
func (*CredentialResource) ModifyPlan ¶
func (r *CredentialResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*CredentialResource) Read ¶
func (r *CredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*CredentialResource) Schema ¶
func (r *CredentialResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the schema for the resource.
func (*CredentialResource) Update ¶
func (r *CredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update updates the resource and sets the updated Terraform state on success.
type RetryWhenConfig ¶
type UserDataSource ¶ added in v0.15.1
type UserDataSource struct {
// contains filtered or unexported fields
}
func (*UserDataSource) Configure ¶ added in v0.15.1
func (d *UserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*UserDataSource) Init ¶ added in v0.15.1
func (d *UserDataSource) Init(ctx context.Context, dm *UserDataSourceModel) (diags diag.Diagnostics)
Init Initializes the data source.
func (*UserDataSource) Metadata ¶ added in v0.15.1
func (d *UserDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*UserDataSource) Read ¶ added in v0.15.1
func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*UserDataSource) Schema ¶ added in v0.15.1
func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type UserDataSourceModel ¶ added in v0.15.1
type UserDataSourceModel struct { ID supertypes.StringValue `tfsdk:"id"` Username supertypes.StringValue `tfsdk:"user_name"` UserID supertypes.StringValue `tfsdk:"user_id"` FullName supertypes.StringValue `tfsdk:"full_name"` CanonicalID supertypes.StringValue `tfsdk:"canonical_id"` }
Source Files ¶
- base.go
- bucket_acl_datasource.go
- bucket_acl_resource.go
- bucket_acl_schema.go
- bucket_acl_types.go
- bucket_cors_configuration_datasource.go
- bucket_cors_configuration_resource.go
- bucket_cors_configuration_schema.go
- bucket_cors_configuration_types.go
- bucket_datasource.go
- bucket_lifecycle_configuration_datasource.go
- bucket_lifecycle_configuration_resource.go
- bucket_lifecycle_configuration_schema.go
- bucket_lifecycle_configuration_types.go
- bucket_policy_datasource.go
- bucket_policy_resource.go
- bucket_policy_schema.go
- bucket_policy_types.go
- bucket_resource.go
- bucket_schema.go
- bucket_types.go
- bucket_versioning_configuration_datasource.go
- bucket_versioning_configuration_resource.go
- bucket_versioning_configuration_schema.go
- bucket_versioning_configuration_types.go
- bucket_website_configuration_datasource.go
- bucket_website_configuration_resource.go
- bucket_website_configuration_schema.go
- bucket_website_configuration_types.go
- credential_resource.go
- credential_schema.go
- credential_types.go
- user_datasource.go
- user_schema.go
- user_types.go