Interface: StageDepotEnvironmentProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:380
Environment properties to pass to the Environment construct.
Properties
account?
readonlyoptionalaccount?:StageDepotAccountProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:460
Configuration for AWS account
admin?
readonlyoptionaladmin?:StageDepotAdminProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:390
admin related properties to configure the Environment with.
allowAnonymousUsers?
readonlyoptionalallowAnonymousUsers?:boolean
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:532
Enables Gateway API to support anonymous users.
allowIntrospection?
readonlyoptionalallowIntrospection?:boolean
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:527
Enables GQL API introspection.
athena?
readonlyoptionalathena?:StageDepotAthenaProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:415
Deprecated
Use the Location.Glue construct.
cognito?
readonlyoptionalcognito?:StageDepotCognitoProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:405
Deprecated
Use the Location.Cognito construct.
dataPrefix?
readonlyoptionaldataPrefix?:string
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:480
data prefix to apply to storage related items
deployBastionHost?
readonlyoptionaldeployBastionHost?:boolean
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:522
Should the environment deploy a bastion host to enable tunneling through the Vpc into the Aurora RDS instances?
Default
true
See
depot-cli's connect-bastion feature.
deploymentFlags?
readonlyoptionaldeploymentFlags?:string[]
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:514
Deployment feature flags that can be used to e.g. perform two-step platform deployment for migrating CDK resources.
deploymentMode?
readonlyoptionaldeploymentMode?:"STRICT"|"RELAXED"
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:548
Controls how deployments of child resources are handled.
STRICT- all child resources are redeployed when environment is updated.RELAXED- datasets are not redeployed together with the environment when the version changes only.
Default
STRICT
develop?
readonlyoptionaldevelop?:StageDepotDevelopProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:509
Internal
Development properties/overrides (DEVELOPMENT ONLY, do not use on production)
dynamodb?
readonlyoptionaldynamodb?:StageDepotDynamodbProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:395
Deprecated
Use the Location.DynamoDB construct.
encryption?
readonlyoptionalencryption?:StageDepotEncryptionProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:450
Customisation options for encryption with KMS
forceIamGwAdminPrincipalsInheritance?
readonlyoptionalforceIamGwAdminPrincipalsInheritance?:boolean
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:538
If true, always adds IAM GW principals configured in Admin dataset regardless of other settings
that might disable such behaviour (e.g. rawSqlEndpointEnabled flag set to true).
frontend?
readonlyoptionalfrontend?:StageDepotFrontendProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:445
Configuration for the Depot Connector API
iamGateway?
readonlyoptionaliamGateway?:StageDepotIamGatewayProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:425
Deprecated
Use the new Gateway construct to add Gateway configurations. For example to add IAM gateways, use the Gateway.IAM construct.
idPrefix?
readonlyoptionalidPrefix?:string
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:475
environment id prefix. Will form part of the environment's unique ID.
interfaceEndpoints?
readonlyoptionalinterfaceEndpoints?:object
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:498
Interface endpoints to enable on the environment. These have an hourly cost associated with them, but provide improved security and performance. Traffic will be routed directly via AWS network backbone, and not over the public internet (i.e. not via the VPC NAT Gateway). There is a data transfer cost associated with these to consider too. Note: DynamoDB and S3 endpoints use the older style VPC gateway endpoints and these are not charged for.
cloudWatchLogs?
readonlyoptionalcloudWatchLogs?:boolean
secretsManager?
readonlyoptionalsecretsManager?:boolean
sqs?
readonlyoptionalsqs?:boolean
lambdaDataGateway?
readonlyoptionallambdaDataGateway?:StageDepotLambdaDataGatewayProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:435
Deprecated
Use the new Gateway construct to add Gateway configurations. For example to add a Lambda Data gateway, use the Gateway.Lambda construct.
logging?
readonlyoptionallogging?:StageDepotLoggingProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:440
Logging configuration
name
readonlyname:string
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:470
The friendly name for the Depot environment
opsAlarms?
readonlyoptionalopsAlarms?:StageDepotOpsAlarmsProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:455
Configuration Alarms and Slack alerting for the Depot environment.
permissions?
readonlyoptionalpermissions?:DepotPermissions
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:485
environment level schema access permissions
publicGateway?
readonlyoptionalpublicGateway?:StageDepotPublicGatewayProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:420
Deprecated
Use the new Gateway construct to add Gateway configurations. For example, to add a public Gateway, use the Gateway.API construct.
schema?
readonlyoptionalschema?:Record<string,any>
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:385
A basestar compatible schema for the environment to use.
A schema of interface { [key:string]: any }.
search?
readonlyoptionalsearch?:StageDepotSearchProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:400
Deprecated
Use the Location.ElasticSearch construct.
sfnLocation?
readonlyoptionalsfnLocation?:StageDepotStepFunctionLocationProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:410
Deprecated
Use the Location.StepFunction construct.
tags?
readonlyoptionaltags?:Record<string,string>
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:465
Tags to apply to all Depot resources in AWS
useSharedVpc?
readonlyoptionaluseSharedVpc?:string|boolean
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:491
Whether to use an AWS account-level shared VPC or not. Set to a string value to use a specific VPC in the same account by name.
Remarks
If this is set to true, the environment will be deployed into the account's shared VPC. Environment resources will use shared subnets in the VPC along with other environment's resources.
Default
false
websocketGateway?
readonlyoptionalwebsocketGateway?:StageDepotGatewayProps
Defined in: packages/depot-cdk/src/stage-depot-environment.ts:430
Deprecated
Use the new Gateway construct to add Gateway configurations. For example to add WebSocket gateways, use the Gateway.WebSocket construct.