Documentation
¶
Index ¶
- func AddElbAlarms(stack awscdk.Stack, prefix string, elb awselb.ApplicationLoadBalancer, ...)
- func AddJetStoreAlarms(stack awscdk.Stack, alarmAction awscloudwatch.IAlarmAction, ...)
- func AddRdsAlarms(stack awscdk.Stack, rds awsrds.DatabaseCluster, ...)
- func AddVpcEndpoints(stack awscdk.Stack, vpc awsec2.Vpc, prefix string, ...) awsec2.SecurityGroup
- func CreateJetStoreVPC(stack awscdk.Stack) awsec2.Vpc
- func GetS3SchemaTriggersPrefix() string
- func GetS3StagePrefix() string
- func MkCatchProps() *sfn.CatchProps
- func NewGitAccessSecurityGroup(stack awscdk.Stack, vpc awsec2.Vpc) awsec2.SecurityGroup
- type JetStoreStackComponents
- func (jsComp *JetStoreStackComponents) BuildCpipesLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildCpipesSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildEcsTasks(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildLoaderSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildRegisterKeyLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildRunReportsSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildSecrets(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildServerSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildServerv2SM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) BuildUiService(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
- func (jsComp *JetStoreStackComponents) GrantReadWriteFromExternalBuckets(stack awscdk.Stack, identity awsiam.IGrantable)
- func (jsComp *JetStoreStackComponents) ResolveExternalBuckets(stack awscdk.Stack)
- func (jsComp *JetStoreStackComponents) ResolveExternalKmsKey(stack awscdk.Stack)
- type JetstoreOneStackProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddElbAlarms ¶
func AddElbAlarms(stack awscdk.Stack, prefix string, elb awselb.ApplicationLoadBalancer, alarmAction awscloudwatch.IAlarmAction, props *JetstoreOneStackProps)
func AddJetStoreAlarms ¶
func AddJetStoreAlarms(stack awscdk.Stack, alarmAction awscloudwatch.IAlarmAction, props *JetstoreOneStackProps)
Support Functions
func AddRdsAlarms ¶
func AddRdsAlarms(stack awscdk.Stack, rds awsrds.DatabaseCluster, alarmAction awscloudwatch.IAlarmAction, props *JetstoreOneStackProps)
func AddVpcEndpoints ¶
func AddVpcEndpoints(stack awscdk.Stack, vpc awsec2.Vpc, prefix string, subnetSelection *awsec2.SubnetSelection) awsec2.SecurityGroup
func GetS3SchemaTriggersPrefix ¶
func GetS3SchemaTriggersPrefix() string
func GetS3StagePrefix ¶
func GetS3StagePrefix() string
func MkCatchProps ¶
func MkCatchProps() *sfn.CatchProps
Types ¶
type JetStoreStackComponents ¶
type JetStoreStackComponents struct { LoaderSmArn string ServerSmArn string ServerSmArnv2 string CpipesSmArn string ReportsSmArn string ApiSecret awssm.Secret AdminPwdSecret awssm.Secret EncryptionKeySecret awssm.Secret SourceBucket awss3.IBucket ExternalBuckets []awss3.IBucket ExternalKmsKey awskms.IKey Vpc awsec2.Vpc PublicSubnetSelection *awsec2.SubnetSelection PrivateSubnetSelection *awsec2.SubnetSelection IsolatedSubnetSelection *awsec2.SubnetSelection PrivateSecurityGroup awsec2.SecurityGroup RdsSecret awsrds.DatabaseSecret RdsCluster awsrds.DatabaseCluster EcsCluster awsecs.Cluster EcsTaskExecutionRole awsiam.Role EcsTaskRole awsiam.Role JetStoreImage awsecs.EcrImage CpipesImage awsecs.EcrImage RunreportTaskDefinition awsecs.FargateTaskDefinition RunreportsContainerDef awsecs.ContainerDefinition LoaderTaskDefinition awsecs.FargateTaskDefinition LoaderContainerDef awsecs.ContainerDefinition ServerTaskDefinition awsecs.FargateTaskDefinition ServerContainerDef awsecs.ContainerDefinition CpipesTaskDefinition awsecs.FargateTaskDefinition CpipesContainerDef awsecs.ContainerDefinition UiTaskDefinition awsecs.FargateTaskDefinition UiTaskContainer awsecs.ContainerDefinition EcsUiService awsecs.FargateService UiLoadBalancer awselb.ApplicationLoadBalancer StatusUpdateLambda awslambdago.GoFunction RunReportsLambda awslambdago.GoFunction PurgeDataLambda awslambdago.GoFunction CpipesNodeLambda awslambdago.GoFunction CpipesStartShardingLambda awslambdago.GoFunction CpipesStartReducingLambda awslambdago.GoFunction RegisterKeyV2Lambda awslambdago.GoFunction SqsRegisterKeyLambda awslambdago.GoFunction LoaderSM sfn.StateMachine ReportsSM sfn.StateMachine ServerSM sfn.StateMachine Serverv2SM sfn.StateMachine CpipesSM sfn.StateMachine BastionHost awsec2.BastionHostLinux // contains filtered or unexported fields }
Struct to hold the stack components
func (*JetStoreStackComponents) BuildCpipesLambdas ¶
func (jsComp *JetStoreStackComponents) BuildCpipesLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildCpipesSM ¶
func (jsComp *JetStoreStackComponents) BuildCpipesSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildEcsTasks ¶
func (jsComp *JetStoreStackComponents) BuildEcsTasks(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildLambdas ¶
func (jsComp *JetStoreStackComponents) BuildLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildLoaderSM ¶
func (jsComp *JetStoreStackComponents) BuildLoaderSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildRegisterKeyLambdas ¶
func (jsComp *JetStoreStackComponents) BuildRegisterKeyLambdas(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildRunReportsSM ¶
func (jsComp *JetStoreStackComponents) BuildRunReportsSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildSecrets ¶
func (jsComp *JetStoreStackComponents) BuildSecrets(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildServerSM ¶
func (jsComp *JetStoreStackComponents) BuildServerSM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildServerv2SM ¶
func (jsComp *JetStoreStackComponents) BuildServerv2SM(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) BuildUiService ¶
func (jsComp *JetStoreStackComponents) BuildUiService(scope constructs.Construct, stack awscdk.Stack, props *JetstoreOneStackProps)
func (*JetStoreStackComponents) GrantReadWriteFromExternalBuckets ¶
func (jsComp *JetStoreStackComponents) GrantReadWriteFromExternalBuckets(stack awscdk.Stack, identity awsiam.IGrantable)
func (*JetStoreStackComponents) ResolveExternalBuckets ¶
func (jsComp *JetStoreStackComponents) ResolveExternalBuckets(stack awscdk.Stack)
func (*JetStoreStackComponents) ResolveExternalKmsKey ¶
func (jsComp *JetStoreStackComponents) ResolveExternalKmsKey(stack awscdk.Stack)
type JetstoreOneStackProps ¶
type JetstoreOneStackProps struct { awscdk.StackProps StackId string StackSuffix string DbMinCapacity *float64 DbMaxCapacity *float64 CpuUtilizationAlarmThreshold *float64 SnsAlarmTopicArn *string NbrShards string MaxConcurrency float64 }
func (*JetstoreOneStackProps) MkId ¶
func (props *JetstoreOneStackProps) MkId(name string) *string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.