lightsail

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperationStatusNotStarted is a OperationStatus enum value
	OperationStatusNotStarted = "NotStarted"
	// OperationStatusStarted is a OperationStatus enum value
	OperationStatusStarted = "Started"
	// OperationStatusFailed is a OperationStatus enum value
	OperationStatusFailed = "Failed"
	// OperationStatusCompleted is a OperationStatus enum value
	OperationStatusCompleted = "Completed"
	// OperationStatusSucceeded is a OperationStatus enum value
	OperationStatusSucceeded = "Succeeded"

	// OperationTimeout is the Timout Value for Operations
	OperationTimeout = 20 * time.Minute
	// OperationDelay is the Delay Value for Operations
	OperationDelay = 5 * time.Second
	// OperationMinTimeout is the MinTimout Value for Operations
	OperationMinTimeout = 3 * time.Second

	// DatabaseStateModifying is a state value for a Relational Database undergoing a modification
	DatabaseStateModifying = "modifying"
	// DatabaseStateAvailable is a state value for a Relational Database available for modification
	DatabaseStateAvailable = "available"

	// DatabaseTimeout is the Timout Value for Relational Database Modifications
	DatabaseTimeout = 20 * time.Minute
	// DatabaseDelay is the Delay Value for Relational Database Modifications
	DatabaseDelay = 5 * time.Second
	// DatabaseMinTimeout is the MinTimout Value for Relational Database Modifications
	DatabaseMinTimeout = 3 * time.Second

	// The current state of the container service. The following container service
	// * PENDING - The container service is being created.
	ContainerServiceStatePending = "PENDING"
	// READY - The container service is running but it does not have an active container deployment
	ContainerServiceStateReady = "READY"
	// * DEPLOYING - The container service is launching a container deployment
	ContainerServiceStateDeploying = "DEPLOYING"
	//
	// * RUNNING - The container service is running and it has
	// an active container deployment.
	ContainerServiceStateRunning = "RUNNING"
	// * UPDATING - The container service is being updated
	ContainerServiceStateUpdating = "UPDATING"
	// * DELETING - The container service is being deleted.
	ContainerServiceStateDeleting = "DELEATING"
	// * DISABLED - The container service is disabled, and its active
	// deployment and containers, if any, are shut down.
	ContainerServiceStateDisabled = "DISABLED"
)

Variables

This section is empty.

Functions

func DataSourceAvailabilityZones

func DataSourceAvailabilityZones() *schema.Resource

func KeyValueTags

func KeyValueTags(tags []types.Tag) tftags.KeyValueTags

KeyValueTags creates tftags.KeyValueTags from lightsail service tags.

func Provider

func Provider() *schema.Provider

Provider returns a *schema.Provider.

func ResourceBucket added in v0.4.0

func ResourceBucket() *schema.Resource

func ResourceCertificate added in v0.7.0

func ResourceCertificate() *schema.Resource

func ResourceContactMethod added in v0.2.0

func ResourceContactMethod() *schema.Resource

func ResourceContainerDeployment added in v0.7.0

func ResourceContainerDeployment() *schema.Resource

func ResourceContainerPublicDomainNames added in v0.7.0

func ResourceContainerPublicDomainNames() *schema.Resource

func ResourceContainerService added in v0.6.0

func ResourceContainerService() *schema.Resource

func ResourceDatabase

func ResourceDatabase() *schema.Resource

func ResourceDisk added in v0.5.0

func ResourceDisk() *schema.Resource

func ResourceDiskAttachment added in v0.5.0

func ResourceDiskAttachment() *schema.Resource

func ResourceDomain

func ResourceDomain() *schema.Resource

func ResourceDomainEntry added in v0.1.4

func ResourceDomainEntry() *schema.Resource

func ResourceInstance

func ResourceInstance() *schema.Resource

func ResourceKeyPair

func ResourceKeyPair() *schema.Resource

func ResourceLoadBalancer added in v0.3.0

func ResourceLoadBalancer() *schema.Resource

func ResourceLoadBalancerAttachment added in v0.3.0

func ResourceLoadBalancerAttachment() *schema.Resource

func ResourceStaticIP

func ResourceStaticIP() *schema.Resource

func ResourceStaticIPAttachment

func ResourceStaticIPAttachment() *schema.Resource

func Tags

func Tags(tags tftags.KeyValueTags) []types.Tag

Tags returns lightsail service tags.

func TagsSchema

func TagsSchema() *schema.Schema

TagsSchema returns the schema to use for tags.

func TagsSchemaComputed

func TagsSchemaComputed() *schema.Schema

func UpdateTags

func UpdateTags(conn *lightsail.Client, identifier string, oldTagsMap interface{}, newTagsMap interface{}) error

UpdateTags updates lightsail service tags. The identifier is typically the Amazon Resource Name (ARN), although it may also be a different identifier depending on the service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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