aws

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider implements the AWS provider

func NewProvider

func NewProvider() *Provider

NewProvider creates a new AWS provider

func (*Provider) Create

func (p *Provider) Create(ctx context.Context, instance config.ResourceInstance) error

Create creates a new AWS resource

func (*Provider) Delete

func (p *Provider) Delete(ctx context.Context, instance config.ResourceInstance) error

Delete deletes an AWS resource

func (*Provider) GetCurrentState

func (p *Provider) GetCurrentState(ctx context.Context, instance config.ResourceInstance) (map[string]interface{}, error)

GetCurrentState retrieves the current state of an AWS resource

func (*Provider) GetSupportedResourceTypes

func (p *Provider) GetSupportedResourceTypes() []string

GetSupportedResourceTypes returns the AWS resource types supported

func (*Provider) Initialize

func (p *Provider) Initialize(ctx context.Context, providerConfig map[string]interface{}) error

Initialize sets up the AWS provider with configuration

func (*Provider) Update

func (p *Provider) Update(ctx context.Context, instance config.ResourceInstance, currentState map[string]interface{}) error

Update updates an existing AWS resource

func (*Provider) ValidateResource

func (p *Provider) ValidateResource(instance config.ResourceInstance) error

ValidateResource validates an AWS resource configuration

Jump to

Keyboard shortcuts

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