Skip to content

(aws_cdk.aws_elasticsearch): Set connections defaultPort when enforceHttps is true #16251

@SamStephens

Description

@SamStephens

When a VPC is used with an elasticsearch Domain, the resulting connections object does not have a default port. However, when enforceHttps is set, we know communications will be over port 443.

Use Case

So I don't have to manually specify a port when setting up VPC connections to the Domain.

Proposed Solution

Include a defaultPort when constructing the connections object if enforceHttps is true.


This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions