aws

package
v0.0.0-...-5c42faa Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const CreateHostedZoneCommentLegacy = "Created by defang cli"

Variables

View Source
var (
	ErrZoneNotFound         = errors.New("the Route53 hosted zone was not found")
	ErrNoRecordFound        = errors.New("no Route53 record found in the hosted zone")
	ErrNoDelegationSetFound = errors.New("no Route53 delegation set found")
)
View Source
var NewS3FromConfig = func(cfg aws.Config) S3GetObjectAPI {
	return s3.NewFromConfig(cfg)
}
View Source
var NewSsmFromConfig = func(cfg aws.Config) SsmParametersAPI {
	return ssm.NewFromConfig(cfg)
}
View Source
var NewStsFromConfig = func(cfg aws.Config) StsClientAPI {
	return sts.NewFromConfig(cfg)
}

Functions

func CreateDelegationSet

func CreateDelegationSet(ctx context.Context, zoneId *string, r53 Route53API) (*types.DelegationSet, error)

func CreateHostedZone deprecated

func CreateHostedZone(ctx context.Context, domain string, r53 Route53API) (*types.HostedZone, error)

Deprecated: let Pulumi create the hosted zone

func DeleteDelegationSet

func DeleteDelegationSet(ctx context.Context, delegationSetId *string, r53 Route53API) error

func GetAccountID

func GetAccountID(arn string) string

func GetDelegationSetByZone

func GetDelegationSetByZone(ctx context.Context, zoneId *string, r53 Route53API) (*types.DelegationSet, error)

func GetHostedZoneTags

func GetHostedZoneTags(ctx context.Context, zoneId string, r53 Route53API) (map[string]string, error)

func GetHostedZonesByName

func GetHostedZonesByName(ctx context.Context, domain string, r53 Route53API) ([]*types.HostedZone, error)

func