r2_event_notification

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

func ResourceSchema

func ResourceSchema(ctx context.Context) schema.Schema

Types

type R2EventNotificationDeleteRequestBody

type R2EventNotificationDeleteRequestBody struct {
	RuleIds []string `json:"ruleIds"`
}

type R2EventNotificationModel

type R2EventNotificationModel struct {
	AccountID   types.String                                              `tfsdk:"account_id" path:"account_id,required"`
	BucketName  types.String                                              `tfsdk:"bucket_name" path:"bucket_name,required"`
	QueueID     types.String                                              `tfsdk:"queue_id" path:"queue_id,required"`
	QueueName   types.String                                              `tfsdk:"queue_name" path:"queue_name,computed"`
	Description types.String                                              `tfsdk:"description"  path:"description,optional"`
	Rules       customfield.NestedObjectSet[R2EventNotificationRuleModel] `tfsdk:"rules" path:"rules,required"`
	Timeouts    timeouts.Value                                            `tfsdk:"timeouts"`
}

type R2EventNotificationResource

type R2EventNotificationResource struct {
	// contains filtered or unexported fields
}

R2EventNotificationResource defines the resource implementation.

func (*R2EventNotificationResource) ConfigValidators

func (*R2EventNotificationResource) Configure

func (*R2EventNotificationResource) Create

func (*R2EventNotificationResource) Delete

func (*R2EventNotificationResource) Metadata

func (*R2EventNotificationResource) ModifyPlan

func (*R2EventNotificationResource) Read

func (*R2EventNotificationResource) Schema

func (*R2EventNotificationResource) Update

type R2EventNotificationRuleModel

type R2EventNotificationRuleModel struct {
	Actions   customfield.Set[types.String] `tfsdk:"actions" path:"actions,required"`
	RuleID    types.String                  `tfsdk:"rule_id" path:"rule_id,computed"`
	Prefix    types.String                  `tfsdk:"prefix" path:"prefix,computed_optional"`
	Suffix    types.String                  `tfsdk:"suffix" path:"suffix,computed_optional"`
	CreatedAt types.String                  `tfsdk:"created_at" path:"created_at,computed"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL