infrastructure-stack.ts 682 B

1234567891011121314151617181920212223
  1. import * as cdk from '@aws-cdk/core';
  2. import * as ssm from '@aws-cdk/aws-ssm';
  3. export class InfrastructureStack extends cdk.Stack {
  4. constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
  5. super(scope, id, props);
  6. new ssm.StringParameter(this, 'Parameter', {
  7. parameterName: '/config/spring/message',
  8. stringValue: 'Spring-cloud-aws value!'
  9. });
  10. new ssm.StringParameter(this, 'Parameter2', {
  11. parameterName: '/config/spring/messages_0_',
  12. stringValue: 'Spring-cloud-aws msg0!'
  13. });
  14. new ssm.StringParameter(this, 'Parameter3', {
  15. parameterName: '/config/spring/messages_1_',
  16. stringValue: 'Spring-cloud-aws msg1!'
  17. });
  18. }
  19. }