constructor()

in lib/consul-mesh-extension.ts [216:233]


    constructor(props: ECSConsulMeshProps) {
        super('consul');
        this.retryJoin = props.retryJoin;
        this.consulServerSecurityGroup = props.consulServerSecurityGroup;
        this.consulClientImage = props.consulClientImage || CONSUL_CONTAINER_IMAGE;
        this.envoyProxyImage = props.envoyProxyImage || ENVOY_CONTAINER_IMAGE;
        this.consulEcsImage = props.consulEcsImage || CONSUL_ECS_CONTAINER_IMAGE;
        this.consulClientSecurityGroup = props.consulClientSecurityGroup;
        this.upstreamPort = 3001;
        this.tls = props.tls || false;
        this.consulCACert = props.consulCACert;
        this.gossipEncryptKey = props.gossipEncryptKey;
        this.serviceDiscoveryName = props.serviceDiscoveryName;
        this.consulDatacenter = props.consulDatacenter || "dc1";
        this.healthCheck = props.healthCheck;
        this.consulChecks = props.consulChecks || undefined;
        this.aclSecretArn = props.aclSecretArn;
    }