| Modifier and Type | Method and Description |
|---|---|
CfnMacro |
build() |
static CfnMacro.Builder |
create(software.constructs.Construct scope,
String id) |
CfnMacro.Builder |
description(String description)
A description of the macro.
|
CfnMacro.Builder |
functionName(String functionName)
The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run.
|
CfnMacro.Builder |
logGroupName(String logGroupName)
The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.
|
CfnMacro.Builder |
logRoleArn(String logRoleArn)
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .
|
CfnMacro.Builder |
name(String name)
The name of the macro.
|
@Stability(value=Stable) public static CfnMacro.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnMacro.Builder.@Stability(value=Stable) public CfnMacro.Builder functionName(String functionName)
functionName - The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run. This parameter is required.this@Stability(value=Stable) public CfnMacro.Builder name(String name)
The name of the macro must be unique across all macros in the account.
name - The name of the macro. This parameter is required.this@Stability(value=Stable) public CfnMacro.Builder description(String description)
description - A description of the macro. This parameter is required.this@Stability(value=Stable) public CfnMacro.Builder logGroupName(String logGroupName)
logGroupName - The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function. This parameter is required.this@Stability(value=Stable) public CfnMacro.Builder logRoleArn(String logRoleArn)
logRoleArn - The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs . This parameter is required.thisCopyright © 2022. All rights reserved.