HOT Syntax

ELBのテンプレートのフォーマットは下記のとおり。

heat_template_version: 2013-05-23
description: 
resources:
  elb:
    type: FJ::ExpandableLoadBalancer::LoadBalancer
    properties:
        LoadBalancerName: String
        Subnets: [String, String]
        Listeners: [{
            'LoadBalancerPort': Integer,
            'InstancePort': Integer,
            'Protocol': String,
            'InstanceProtocol': String,
            'SSLCertificateId': String 
            }]
        HealthCheck: {
            'Interval': Integer,
            'Target': String,
            'HealthyThreshold': Integer,
            'Timeout': Integer,
            'UnhealthyThreshold': Integer
            }
        Instances: [String, String]
        InstancesPorts: [{
            'InstanceId': String,
            'PortId': String
            }]
        LBCookieStickinessPolicies: [{
            'PolicyName': String,
            'CookieExpirationPeriod': Integer
            }]
        SorryServerRedirectionPolicies: [{
            'PolicyName': String,
            'Location': String
            }]
        OtherPolicies: [{
              'PolicyName': String,
              'PolicyTypeName': String,
              'PolicyAttributes': [{
                     'AttributeName': String,
                     'AttributeValue': String
                     }]
              }]
        ListenersPolicies: [{
            'PolicyNames': [String, String],
            'LoadBalancerPort': Integer
             }]
SecurityGroups: [String, String]
Grade: String
        Scheme: String
        LoadBalancerAttributes: {
             'ConnectionSettings': {
                   'IdleTimeout': Integer
                   }
             }
        Version: String