aws

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertPotgresqlDatabaseExists added in v0.17.0

func AssertPotgresqlDatabaseExists(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string) bool

func AssertPotgresqlDatabaseExistsE added in v0.17.0

func AssertPotgresqlDatabaseExistsE(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string) (bool, error)

func AssertPotgresqlGrantsExists added in v0.17.0

func AssertPotgresqlGrantsExists(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string, expectedSchemaName string) bool

func AssertPotgresqlGrantsExistsE added in v0.17.0

func AssertPotgresqlGrantsExistsE(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string, expectedSchemaName string) (bool, error)

func AssertPotgresqlSchemaExists added in v0.17.0

func AssertPotgresqlSchemaExists(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string, expectedSchemaName string) bool

func AssertPotgresqlSchemaExistsE added in v0.17.0

func AssertPotgresqlSchemaExistsE(t *testing.T, dbUrl string, dbPort int32, dbUsername string, dbPassword string, databaseName string, expectedSchemaName string) (bool, error)

func GetDNSZoneByNameE added in v0.17.0

func GetDNSZoneByNameE(t *testing.T, ctx context.Context, hostName string, awsRegion string) (*types.HostedZone, error)

func GetEc2Instances added in v0.17.0

func GetEc2Instances(t *testing.T, ctx context.Context, instanceID string, awsRegion string) types.Instance

GetPrivateIpsOfEc2InstancesE gets the private IP address of the given EC2 Instance in the given region. Returns a map of instance ID to IP address.

func GetNatGatewaysByVpcIdE

func GetNatGatewaysByVpcIdE(t *testing.T, ctx context.Context, vpcId string, awsRegion string) ([]types.NatGateway, error)

func NewAmplifyClient

func NewAmplifyClient(t *testing.T, region string) *amplify.Client

func NewAmplifyClientE

func NewAmplifyClientE(t *testing.T, region string) (*amplify.Client, error)

func NewBackupClient added in v0.17.0

func NewBackupClient(t *testing.T, region string) *backup.Client

func NewBackupClientE added in v0.17.0

func NewBackupClientE(t *testing.T, region string) (*backup.Client, error)

func NewCloudTrailClient added in v0.17.0

func NewCloudTrailClient(t *testing.T, region string) *cloudtrail.Client

func NewCloudTrailClientE added in v0.17.0

func NewCloudTrailClientE(t *testing.T, region string) (*cloudtrail.Client, error)

func NewDocDBClient added in v0.17.0

func NewDocDBClient(t *testing.T, region string) *docdb.Client

func NewDocDBClientE added in v0.17.0

func NewDocDBClientE(t *testing.T, region string) (*docdb.Client, error)

func NewEFSClient added in v0.17.0

func NewEFSClient(t *testing.T, region string) *efs.Client

func NewEFSClientE added in v0.17.0

func NewEFSClientE(t *testing.T, region string) (*efs.Client, error)

func NewElbV2Client

func NewElbV2Client(t *testing.T, region string) *elasticloadbalancingv2.Client

func NewElbV2ClientE

func NewElbV2ClientE(t *testing.T, region string) (*elasticloadbalancingv2.Client, error)

NewElbV2ClientE creates an ELB client.

func NewMSKClient added in v0.17.0

func NewMSKClient(t *testing.T, region string) *kafka.Client

func NewMSKClientE added in v0.17.0

func NewMSKClientE(t *testing.T, region string) (*kafka.Client, error)

func NewSESV2Client added in v0.17.0

func NewSESV2Client(t *testing.T, region string) *sesv2.Client

NewElbV2Client creates en ELB client.

func NewSESV2ClientE added in v0.17.0

func NewSESV2ClientE(t *testing.T, region string) (*sesv2.Client, error)

NewSESV2ClientE creates an SES v2 client.

func NewWAFClient added in v0.20.0

func NewWAFClient(t *testing.T, region string) *wafv2.Client

func NewWAFClientE added in v0.20.0

func NewWAFClientE(t *testing.T, region string) (*wafv2.Client, error)

func StartDeploymentJob

func StartDeploymentJob(t *testing.T, ctx context.Context, client *amplify.Client, id *string, branchName *string) *string

func WafCreateRegexPatternSet added in v0.20.0

func WafCreateRegexPatternSet(client *wafv2.Client, name string, description string, patterns []string) (*types.RegexPatternSetSummary, error)

func WafGetIPSetByARN added in v0.20.0

func WafGetIPSetByARN(t *testing.T, client *wafv2.Client, arn string) *wafv2.GetIPSetOutput

Types

This section is empty.

Jump to

Keyboard shortcuts

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