@Stability(value=Stable) public static final class CfnMacroProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMacroProps>
CfnMacroProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMacroProps |
build()
Builds the configured instance.
|
CfnMacroProps.Builder |
description(String description)
Sets the value of
CfnMacroProps.getDescription() |
CfnMacroProps.Builder |
functionName(String functionName)
Sets the value of
CfnMacroProps.getFunctionName() |
CfnMacroProps.Builder |
logGroupName(String logGroupName)
Sets the value of
CfnMacroProps.getLogGroupName() |
CfnMacroProps.Builder |
logRoleArn(String logRoleArn)
Sets the value of
CfnMacroProps.getLogRoleArn() |
CfnMacroProps.Builder |
name(String name)
Sets the value of
CfnMacroProps.getName() |
@Stability(value=Stable) public CfnMacroProps.Builder functionName(String functionName)
CfnMacroProps.getFunctionName()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 CfnMacroProps.Builder name(String name)
CfnMacroProps.getName()name - The name of the macro. This parameter is required.
The name of the macro must be unique across all macros in the account.this@Stability(value=Stable) public CfnMacroProps.Builder description(String description)
CfnMacroProps.getDescription()description - A description of the macro.this@Stability(value=Stable) public CfnMacroProps.Builder logGroupName(String logGroupName)
CfnMacroProps.getLogGroupName()logGroupName - The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.this@Stability(value=Stable) public CfnMacroProps.Builder logRoleArn(String logRoleArn)
CfnMacroProps.getLogRoleArn()logRoleArn - The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .this@Stability(value=Stable) public CfnMacroProps build()
build in interface software.amazon.jsii.Builder<CfnMacroProps>CfnMacroPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.