@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.998Z") @Stability(value=Stable) public interface CfnMacroProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudformation.*;
CfnMacroProps cfnMacroProps = CfnMacroProps.builder()
.functionName("functionName")
.name("name")
// the properties below are optional
.description("description")
.logGroupName("logGroupName")
.logRoleArn("logRoleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMacroProps.Builder
A builder for
CfnMacroProps |
static class |
CfnMacroProps.Jsii$Proxy
An implementation for
CfnMacroProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnMacroProps.Builder |
builder() |
default String |
getDescription()
A description of the macro.
|
String |
getFunctionName()
The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run.
|
default String |
getLogGroupName()
The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.
|
default String |
getLogRoleArn()
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .
|
String |
getName()
The name of the macro.
|
@Stability(value=Stable) @NotNull String getFunctionName()
@Stability(value=Stable) @NotNull String getName()
The name of the macro must be unique across all macros in the account.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getLogGroupName()
@Stability(value=Stable) @Nullable default String getLogRoleArn()
@Stability(value=Stable) static CfnMacroProps.Builder builder()
CfnMacroProps.Builder of CfnMacroPropsCopyright © 2022. All rights reserved.