Class: WKResource

Core.WKResource

A CloudFormation Resource, mapping to those defined at http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html.

Constructor

new WKResource()

Properties:
Name Type Description
WKName String
Source:

Methods

addConfig(config)

Adds a Config block to the Metadata AWS::CloudFormation::Init block of an Instance
Parameters:
Name Type Description
config
Source:

addConfigSet(configSet)

Adds a ConfigSet block to the Metadata AWS::CloudFormation::Init block of an Instance
Parameters:
Name Type Description
configSet
Source:

addPolicy(policy)

Adds a CreationPolicy, UpdatePolicy, or DeletePolic
Parameters:
Name Type Description
policy
Source:

dependsOn(resource)

Adds a DependsOn dependency for another Resource
Parameters:
Name Type Description
resource
Source:

toJson() → {String}

Performs validation and returns a pretty-printed JSON object.
Source:
Returns:
Type
String