aws_lightsail_container_service

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IsDisabled: bool, optional
	IsDisabled terra.BoolValue `hcl:"is_disabled,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Power: string, required
	Power terra.StringValue `hcl:"power,attr" validate:"required"`
	// Scale: number, required
	Scale terra.NumberValue `hcl:"scale,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// PrivateRegistryAccess: optional
	PrivateRegistryAccess *PrivateRegistryAccess `hcl:"private_registry_access,block"`
	// PublicDomainNames: optional
	PublicDomainNames *PublicDomainNames `hcl:"public_domain_names,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_lightsail_container_service.

type PrivateRegistryAccess

type PrivateRegistryAccess struct {
	// PrivateRegistryAccessEcrImagePullerRole: optional
	EcrImagePullerRole *PrivateRegistryAccessEcrImagePullerRole `hcl:"ecr_image_puller_role,block"`
}

type PrivateRegistryAccessAttributes

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

func (PrivateRegistryAccessAttributes) EcrImagePullerRole

func (PrivateRegistryAccessAttributes) InternalRef

func (PrivateRegistryAccessAttributes) InternalTokens

func (pra PrivateRegistryAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrivateRegistryAccessAttributes) InternalWithRef

type PrivateRegistryAccessEcrImagePullerRole

type PrivateRegistryAccessEcrImagePullerRole struct {
	// IsActive: bool, optional
	IsActive terra.BoolValue `hcl:"is_active,attr"`
}

type PrivateRegistryAccessEcrImagePullerRoleAttributes

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

func (PrivateRegistryAccessEcrImagePullerRoleAttributes) InternalRef

func (PrivateRegistryAccessEcrImagePullerRoleAttributes) InternalTokens

func (PrivateRegistryAccessEcrImagePullerRoleAttributes) InternalWithRef

func (PrivateRegistryAccessEcrImagePullerRoleAttributes) IsActive

func (PrivateRegistryAccessEcrImagePullerRoleAttributes) PrincipalArn

type PrivateRegistryAccessEcrImagePullerRoleState

type PrivateRegistryAccessEcrImagePullerRoleState struct {
	IsActive     bool   `json:"is_active"`
	PrincipalArn string `json:"principal_arn"`
}

type PrivateRegistryAccessState

type PrivateRegistryAccessState struct {
	EcrImagePullerRole []PrivateRegistryAccessEcrImagePullerRoleState `json:"ecr_image_puller_role"`
}

type PublicDomainNames

type PublicDomainNames struct {
	// PublicDomainNamesCertificate: min=1
	Certificate []PublicDomainNamesCertificate `hcl:"certificate,block" validate:"min=1"`
}

type PublicDomainNamesAttributes

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

func (PublicDomainNamesAttributes) Certificate

func (PublicDomainNamesAttributes) InternalRef

func (pdn PublicDomainNamesAttributes) InternalRef() (terra.Reference, error)

func (PublicDomainNamesAttributes) InternalTokens

func (pdn PublicDomainNamesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublicDomainNamesAttributes) InternalWithRef

type PublicDomainNamesCertificate

type PublicDomainNamesCertificate struct {
	// CertificateName: string, required
	CertificateName terra.StringValue `hcl:"certificate_name,attr" validate:"required"`
	// DomainNames: list of string, required
	DomainNames terra.ListValue[terra.StringValue] `hcl:"domain_names,attr" validate:"required"`
}

type PublicDomainNamesCertificateAttributes

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

func (PublicDomainNamesCertificateAttributes) CertificateName

func (PublicDomainNamesCertificateAttributes) DomainNames

func (PublicDomainNamesCertificateAttributes) InternalRef

func (PublicDomainNamesCertificateAttributes) InternalTokens

func (PublicDomainNamesCertificateAttributes) InternalWithRef

type PublicDomainNamesCertificateState

type PublicDomainNamesCertificateState struct {
	CertificateName string   `json:"certificate_name"`
	DomainNames     []string `json:"domain_names"`
}

type PublicDomainNamesState

type PublicDomainNamesState struct {
	Certificate []PublicDomainNamesCertificateState `json:"certificate"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_lightsail_container_service.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (alcs *Resource) Attributes() awsLightsailContainerServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (alcs *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (alcs *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (alcs *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (alcs *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (alcs *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (alcs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (alcs *Resource) State() (*awsLightsailContainerServiceState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (alcs *Resource) StateMust() *awsLightsailContainerServiceState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (alcs *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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