How to use the cloudform.Elasticsearch function in cloudform

To help you get started, we’ve selected a few cloudform examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws-amplify / amplify-cli / packages / appsync-elasticsearch-transformer / lib / resources.js View on Github external
ResourceFactory.prototype.makeElasticSearchDomain = function () {
        return new cloudform_1.Elasticsearch.Domain({
            DomainName: cloudform_1.Fn.Ref(ResourceFactory.ParameterIds.ElasticSearchDomainName),
            ElasticsearchVersion: '6.2',
            ElasticsearchClusterConfig: {
                InstanceCount: cloudform_1.Fn.Ref(ResourceFactory.ParameterIds.ElasticSearchInstanceCount),
                InstanceType: cloudform_1.Fn.Ref(ResourceFactory.ParameterIds.ElasticSearchInstanceType)
            },
            EBSOptions: {
                EBSEnabled: true,
                VolumeType: 'gp2',
                VolumeSize: cloudform_1.Fn.Ref(ResourceFactory.ParameterIds.ElasticSearchEBSVolumeGB)
            }
        });
    };
    /**
github aws-amplify / amplify-cli / packages / amplify-graphql-elasticsearch-transformer / lib / resources.js View on Github external
ResourceFactory.prototype.makeElasticSearchDomain = function () {
        return new cloudform_1.Elasticsearch.Domain({
            DomainName: cloudform_1.Fn.Ref(amplify_graphql_transformer_common_1.ResourceConstants.PARAMETERS.ElasticSearchDomainName),
            ElasticsearchVersion: '6.2',
            ElasticsearchClusterConfig: {
                InstanceCount: cloudform_1.Fn.Ref(amplify_graphql_transformer_common_1.ResourceConstants.PARAMETERS.ElasticSearchInstanceCount),
                InstanceType: cloudform_1.Fn.Ref(amplify_graphql_transformer_common_1.ResourceConstants.PARAMETERS.ElasticSearchInstanceType)
            },
            EBSOptions: {
                EBSEnabled: true,
                VolumeType: 'gp2',
                VolumeSize: cloudform_1.Fn.Ref(amplify_graphql_transformer_common_1.ResourceConstants.PARAMETERS.ElasticSearchEBSVolumeGB)
            }
        });
    };
    /**