aws

package
v0.0.0-...-047dd64 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 8

Documentation

Index

Constants

View Source
const (

	// AWS Infra
	DDInfraDefaultVPCIDParamName           = "aws/defaultVPCID"
	DDInfraDefaultSubnetsParamName         = "aws/defaultSubnets"
	DDInfraDefaultSecurityGroupsParamName  = "aws/defaultSecurityGroups"
	DDInfraDefaultInstanceTypeParamName    = "aws/defaultInstanceType"
	DDInfraDefaultInstanceProfileParamName = "aws/defaultInstanceProfile"
	DDInfraDefaultARMInstanceTypeParamName = "aws/defaultARMInstanceType"
	DDInfraDefaultKeyPairParamName         = "aws/defaultKeyPairName"
	DDinfraDefaultPublicKeyPath            = "aws/defaultPublicKeyPath"
	DDInfraDefaultPrivateKeyPath           = "aws/defaultPrivateKeyPath"
	DDInfraDefaultPrivateKeyPassword       = "aws/defaultPrivateKeyPassword"
	DDInfraDefaultInstanceStorageSize      = "aws/defaultInstanceStorageSize"
	DDInfraDefaultShutdownBehavior         = "aws/defaultShutdownBehavior"
	DDInfraDefaultInternalRegistry         = "aws/defaultInternalRegistry"
	DDInfraDefaultInternalDockerhubMirror  = "aws/defaultInternalDockerhubMirror"

	// AWS ECS
	DDInfraEcsExecKMSKeyID                  = "aws/ecs/execKMSKeyID"
	DDInfraEcsFargateFakeintakeClusterArns  = "aws/ecs/fargateFakeintakeClusterArns"
	DDInfraEcsFakeintakeLBs                 = "aws/ecs/defaultfakeintakeLBs"
	DDInfraEcsTaskExecutionRole             = "aws/ecs/taskExecutionRole"
	DDInfraEcsTaskRole                      = "aws/ecs/taskRole"
	DDInfraEcsInstanceProfile               = "aws/ecs/instanceProfile"
	DDInfraEcsServiceAllocatePublicIP       = "aws/ecs/serviceAllocatePublicIP"
	DDInfraEcsFargateCapacityProvider       = "aws/ecs/fargateCapacityProvider"
	DDInfraEcsLinuxECSOptimizedNodeGroup    = "aws/ecs/linuxECSOptimizedNodeGroup"
	DDInfraEcsLinuxECSOptimizedARMNodeGroup = "aws/ecs/linuxECSOptimizedARMNodeGroup"
	DDInfraEcsLinuxBottlerocketNodeGroup    = "aws/ecs/linuxBottlerocketNodeGroup"
	DDInfraEcsWindowsLTSCNodeGroup          = "aws/ecs/windowsLTSCNodeGroup"

	// AWS EKS
	DDInfraEKSPODSubnets                   = "aws/eks/podSubnets"
	DDInfraEksAllowedInboundSecurityGroups = "aws/eks/inboundSecurityGroups"
	DDInfraEksAllowedInboundPrefixList     = "aws/eks/inboundPrefixLists"
	DDInfraEksFargateNamespace             = "aws/eks/fargateNamespace"
	DDInfraEksLinuxNodeGroup               = "aws/eks/linuxNodeGroup"
	DDInfraEksLinuxARMNodeGroup            = "aws/eks/linuxARMNodeGroup"
	DDInfraEksLinuxBottlerocketNodeGroup   = "aws/eks/linuxBottlerocketNodeGroup"
	DDInfraEksWindowsNodeGroup             = "aws/eks/windowsNodeGroup"
	DDInfraEksAccountAdminSSORole          = "aws/eks/accountAdminSSORole"
	DDInfraEksReadOnlySSORole              = "aws/eks/readOnlySSORole"
)

Variables

View Source
var (
	EnabledString  = pulumi.String("ENABLED")
	DisabledString = pulumi.String("DISABLED")
)

Functions

func WithCommonEnvironment

func WithCommonEnvironment(e *config.CommonEnvironment) func(*Environment)

Types

type DDInfraEKSPodSubnets

type DDInfraEKSPodSubnets struct {
	AZ       string `json:"az"`
	SubnetID string `json:"subnet"`
}

type Environment

type Environment struct {
	*config.CommonEnvironment

	Namer namer.Namer
	// contains filtered or unexported fields
}

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context, options ...func(*Environment)) (Environment, error)

func (*Environment) DefaultARMInstanceType

func (e *Environment) DefaultARMInstanceType() string

func (*Environment) DefaultFakeintakeECSArns

func (e *Environment) DefaultFakeintakeECSArns() []string

func (*Environment) DefaultFakeintakeLBs

func (e *Environment) DefaultFakeintakeLBs() []FakeintakeLBConfig

func (*Environment) DefaultInstanceProfileName

func (e *Environment) DefaultInstanceProfileName() string

func (*Environment) DefaultInstanceStorageSize

func (e *Environment) DefaultInstanceStorageSize() int

func (*Environment) DefaultInstanceType

func (e *Environment) DefaultInstanceType() string

func (*Environment) DefaultKeyPairName

func (e *Environment) DefaultKeyPairName() string

func (*Environment) DefaultPrivateKeyPassword

func (e *Environment) DefaultPrivateKeyPassword() string

func (*Environment) DefaultPrivateKeyPath

func (e *Environment) DefaultPrivateKeyPath() string

func (*Environment) DefaultPublicKeyPath

func (e *Environment) DefaultPublicKeyPath() string

func (*Environment) DefaultSecurityGroups

func (e *Environment) DefaultSecurityGroups() []string

func (*Environment) DefaultShutdownBehavior

func (e *Environment) DefaultShutdownBehavior() string

shutdown behavior can be 'terminate' or 'stop'

func (*Environment) DefaultSubnets

func (e *Environment) DefaultSubnets() []string

func (*Environment) DefaultVPCID

func (e *Environment) DefaultVPCID() string

func (*Environment) ECSExecKMSKeyID

func (e *Environment) ECSExecKMSKeyID() string

ECS

func (*Environment) ECSFakeintakeLBBaseHost

func (e *Environment) ECSFakeintakeLBBaseHost() pulumi.StringOutput

func (*Environment) ECSFakeintakeLBListenerArn

func (e *Environment) ECSFakeintakeLBListenerArn() pulumi.StringOutput

func (*Environment) ECSFargateCapacityProvider

func (e *Environment) ECSFargateCapacityProvider() bool

func (*Environment) ECSFargateFakeintakeClusterArn

func (e *Environment) ECSFargateFakeintakeClusterArn() pulumi.StringOutput

func (*Environment) ECSInstanceProfile

func (e *Environment) ECSInstanceProfile() string

func (*Environment) ECSLinuxBottlerocketNodeGroup

func (e *Environment) ECSLinuxBottlerocketNodeGroup() bool

func (*Environment) ECSLinuxECSOptimizedARMNodeGroup

func (e *Environment) ECSLinuxECSOptimizedARMNodeGroup() bool

func (*Environment) ECSLinuxECSOptimizedNodeGroup

func (e *Environment) ECSLinuxECSOptimizedNodeGroup() bool

func (*Environment) ECSServicePublicIP

func (e *Environment) ECSServicePublicIP() bool

func (*Environment) ECSTaskExecutionRole

func (e *Environment) ECSTaskExecutionRole() string

func (*Environment) ECSTaskRole

func (e *Environment) ECSTaskRole() string

func (*Environment) ECSWindowsNodeGroup

func (e *Environment) ECSWindowsNodeGroup() bool

func (*Environment) EKSAccountAdminSSORole

func (e *Environment) EKSAccountAdminSSORole() string

func (*Environment) EKSAllowedInboundPrefixLists

func (e *Environment) EKSAllowedInboundPrefixLists() []string

func (*Environment) EKSAllowedInboundSecurityGroups

func (e *Environment) EKSAllowedInboundSecurityGroups() []string

func (*Environment) EKSBottlerocketNodeGroup

func (e *Environment) EKSBottlerocketNodeGroup() bool

func (*Environment) EKSFargateNamespace

func (e *Environment) EKSFargateNamespace() string

func (*Environment) EKSLinuxARMNodeGroup

func (e *Environment) EKSLinuxARMNodeGroup() bool

func (*Environment) EKSLinuxNodeGroup

func (e *Environment) EKSLinuxNodeGroup() bool

func (*Environment) EKSPODSubnets

func (e *Environment) EKSPODSubnets() []DDInfraEKSPodSubnets

func (*Environment) EKSReadOnlySSORole

func (e *Environment) EKSReadOnlySSORole() string

func (*Environment) EKSWindowsNodeGroup

func (e *Environment) EKSWindowsNodeGroup() bool

func (*Environment) GetCommonEnvironment

func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment

func (*Environment) InternalDockerhubMirror

func (e *Environment) InternalDockerhubMirror() string

func (*Environment) InternalRegistry

func (e *Environment) InternalRegistry() string

Cross Cloud Provider config

func (*Environment) InternalRegistryImageTagExists

func (e *Environment) InternalRegistryImageTagExists(image, tag string) (bool, error)

Check if the image exists in the internal registry

func (*Environment) Profile

func (e *Environment) Profile() string

func (*Environment) RandomSubnets

func (e *Environment) RandomSubnets() pulumi.StringArrayOutput

func (*Environment) Region

func (e *Environment) Region() string

Common

type FakeintakeLBConfig

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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