@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-15T23:35:45.932Z") @Stability(value=External) public class CfnMacro extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html| Modifier and Type | Class and Description |
|---|---|
static class |
CfnMacro.Builder
A fluent builder for
CfnMacro. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnMacro(Construct scope,
String id,
CfnMacroProps props)
Create a new `AWS::CloudFormation::Macro`.
|
protected |
CfnMacro(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMacro(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static CfnMacro |
fromCloudFormation(Construct scope,
String id,
Object resourceAttributes)
A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::CloudFormation::Macro.Description`.
|
String |
getFunctionName()
`AWS::CloudFormation::Macro.FunctionName`.
|
String |
getLogGroupName()
`AWS::CloudFormation::Macro.LogGroupName`.
|
String |
getLogRoleArn()
`AWS::CloudFormation::Macro.LogRoleARN`.
|
String |
getName()
`AWS::CloudFormation::Macro.Name`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::CloudFormation::Macro.Description`.
|
void |
setFunctionName(String value)
`AWS::CloudFormation::Macro.FunctionName`.
|
void |
setLogGroupName(String value)
`AWS::CloudFormation::Macro.LogGroupName`.
|
void |
setLogRoleArn(String value)
`AWS::CloudFormation::Macro.LogRoleARN`.
|
void |
setName(String value)
`AWS::CloudFormation::Macro.Name`.
|
addDeletionOverride, addDependsOn, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet@Stability(value=External) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnMacro(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMacro(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=External)
public CfnMacro(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnMacroProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Experimental) @NotNull public static CfnMacro fromCloudFormation(@NotNull Construct scope, @NotNull String id, @NotNull Object resourceAttributes)
Used in the @aws-cdk/cloudformation-include module.
EXPERIMENTAL
scope - This parameter is required.id - This parameter is required.resourceAttributes - This parameter is required.@Stability(value=Experimental)
public void inspect(@NotNull
TreeInspector inspector)
EXPERIMENTAL
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=External) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=External) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=External) @NotNull public String getFunctionName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-functionname@Stability(value=External)
public void setFunctionName(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-functionname@Stability(value=External) @NotNull public String getName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-name@Stability(value=External)
public void setName(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-name@Stability(value=External) @Nullable public String getDescription()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-description@Stability(value=External)
public void setDescription(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-description@Stability(value=External) @Nullable public String getLogGroupName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-loggroupname@Stability(value=External)
public void setLogGroupName(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-loggroupname@Stability(value=External) @Nullable public String getLogRoleArn()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-logrolearn@Stability(value=External)
public void setLogRoleArn(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-logrolearnCopyright © 2020. All rights reserved.