Skip to content

SSM Parameter to hold Slack channel #2

Open
@hlascelles

Description

@hlascelles

We would like to hold the Slack webhook URL in a secure SSM parameter so it isn't in source control.

Looks like we can pass a value into Lambda using that:

const lambdaFunction = new lambda.Function(this, 'LogHandler', {
  environment: {
    SLACK_INCOMING_WEBHOOK_URL: ssmParameter.stringValue,
  },
});

Would you accept a PR for that if you agree?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions