clcore

package
v0.35.8 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportCapacityProviderName

func ImportCapacityProviderName(importPrefix, instanceID string) *string

ImportCapacityProviderName will use the importPrefix and instanceID to import its capacity provider name.

Types

type Imports

type Imports interface {
	VPC() awsec2.IVpc
	Cluster() awsecs.ICluster
	HostedZone() awsroute53.IHostedZone
	Repository() awsecr.IRepository
	PostgresReadOnlyHostname() *string
	PostgresReadWriteHostname() *string
	GlobalSecret() awssecretsmanager.ISecret
}

Imports describe resources imported from the "core" stack.

func NewImports

func NewImports(scope constructs.Construct, importPrefix string) Imports

NewImports inits imported resources from the "Core".

type InstanceImports

type InstanceImports interface {
	CapacityProviderName() *string
	SecurityGroup() awsec2.ISecurityGroup
}

InstanceImports are imports for deploying something on an instance via an ECS cluster with a capacity provider.

func NewInstanceImports

func NewInstanceImports(scope constructs.Construct, importPrefix, instanceID string) InstanceImports

NewInstanceImports inits imports for a capacity instance.

type PostgresTenant added in v0.24.8

type PostgresTenant interface {
	Secret() awssecretsmanager.ISecret
	SecretFromReplicated(scope constructs.Construct) awssecretsmanager.ISecret

	DatabaseName() *string
	DatabaseUser() *string
	PasswordSecretName() *string
}

PostgresTenant construct.

func NewPostgresTenant added in v0.24.8

func NewPostgresTenant(
	scope constructs.Construct,
	providerToken *string,
	replicaRegions []string,
) PostgresTenant

NewPostgresTenant makes sure that the tenant.

Jump to

Keyboard shortcuts

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