SNSSlackMessageLambdaSubscription
import { SNSSlackMessageLambdaSubscription } from '@gammarers/aws-sns-slack-message-lambda-subscription'
new SNSSlackMessageLambdaSubscription ( scope : Construct , id : string , props : SNSSlackMessageLambdaSubscriptionProps )
Type: constructs.Construct
Name
Description
toString
Returns a string representation of this construct.
public toString ( ) : string
Returns a string representation of this construct.
Name
Description
isConstruct
Checks if x
is a construct.
import { SNSSlackMessageLambdaSubscription } from '@gammarers/aws-sns-slack-message-lambda-subscription'
SNSSlackMessageLambdaSubscription . isConstruct ( x : any )
Checks if x
is a construct.
Any object.
Name
Type
Description
node
constructs.Node
The tree node.
public readonly node : Node ;
The tree node.
import { ResourceCustomNaming } from '@gammarers/aws-sns-slack-message-lambda-subscription'
const resourceCustomNaming : ResourceCustomNaming = { ... }
Name
Type
Description
functionName
string
No description.
functionRoleName
string
No description.
type
@gammarers/aws-resource-naming.ResourceNamingType
No description.
public readonly functionName: string ;
public readonly functionRoleName: string ;
public readonly type : ResourceNamingType ;
Type: @gammarers/aws-resource-naming.ResourceNamingType
SNSSlackMessageLambdaSubscriptionProps
import { SNSSlackMessageLambdaSubscriptionProps } from '@gammarers/aws-sns-slack-message-lambda-subscription'
const sNSSlackMessageLambdaSubscriptionProps : SNSSlackMessageLambdaSubscriptionProps = { ... }
slackWebhookSecretName
Required
public readonly slackWebhookSecretName: string ;
public readonly topic : ITopic ;
Type: aws-cdk-lib.aws_sns.ITopic
resourceNamingOption
Optional
public readonly resourceNamingOption: ResourceCustomNaming | ResourceDefaultNaming ;