Modifier and Type | Method and Description |
---|---|
CfnMacro |
build() |
static CfnMacro.Builder |
create(Construct scope,
java.lang.String id) |
CfnMacro.Builder |
description(java.lang.String description)
A description of the macro.
|
CfnMacro.Builder |
functionName(java.lang.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(java.lang.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(java.lang.String logRoleArn)
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .
|
CfnMacro.Builder |
name(java.lang.String name)
The name of the macro.
|
public static CfnMacro.Builder create(Construct scope, java.lang.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
.public CfnMacro.Builder functionName(java.lang.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
public CfnMacro.Builder name(java.lang.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
public CfnMacro.Builder description(java.lang.String description)
description
- A description of the macro. This parameter is required.this
public CfnMacro.Builder logGroupName(java.lang.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
public CfnMacro.Builder logRoleArn(java.lang.String logRoleArn)
logRoleArn
- The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs . This parameter is required.this
public CfnMacro build()