@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.051Z") @Stability(value=Experimental) public interface DomainProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DomainProps.Builder
A builder for
DomainProps |
static class |
DomainProps.Jsii$Proxy
An implementation for
DomainProps |
| Modifier and Type | Method and Description |
|---|---|
static DomainProps.Builder |
builder() |
default List<PolicyStatement> |
getAccessPolicies()
(experimental) Domain Access policies.
|
default Map<String,String> |
getAdvancedOptions()
(experimental) Additional options to specify for the Amazon ES domain.
|
default Number |
getAutomatedSnapshotStartHour()
(experimental) The hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon ES domain.
|
default CapacityConfig |
getCapacity()
(experimental) The cluster capacity configuration for the Amazon ES domain.
|
default CognitoOptions |
getCognitoKibanaAuth()
(experimental) Configures Amazon ES to use Amazon Cognito authentication for Kibana.
|
default CustomEndpointOptions |
getCustomEndpoint()
(experimental) To configure a custom domain configure these options.
|
default String |
getDomainName()
(experimental) Enforces a particular physical domain name.
|
default EbsOptions |
getEbs()
(experimental) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon ES domain.
|
default Boolean |
getEnableVersionUpgrade()
(experimental) To upgrade an Amazon ES domain to a new version of Elasticsearch rather than replacing the entire domain resource, use the EnableVersionUpgrade update policy.
|
default EncryptionAtRestOptions |
getEncryptionAtRest()
(experimental) Encryption at rest options for the cluster.
|
default Boolean |
getEnforceHttps()
(experimental) True to require that all traffic to the domain arrive over HTTPS.
|
default AdvancedSecurityOptions |
getFineGrainedAccessControl()
(experimental) Specifies options for fine-grained access control.
|
default LoggingOptions |
getLogging()
(experimental) Configuration log publishing configuration options.
|
default Boolean |
getNodeToNodeEncryption()
(experimental) Specify true to enable node to node encryption.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) Policy to apply when the domain is removed from the stack.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) The list of security groups that are associated with the VPC endpoints for the domain.
|
default TLSSecurityPolicy |
getTlsSecurityPolicy()
(experimental) The minimum TLS version required for traffic to the domain.
|
default Boolean |
getUseUnsignedBasicAuth()
(experimental) Configures the domain so that unsigned basic auth is enabled.
|
ElasticsearchVersion |
getVersion()
(experimental) The Elasticsearch version that your domain will leverage.
|
default IVpc |
getVpc()
(experimental) Place the domain inside this VPC.
|
default List<SubnetSelection> |
getVpcSubnets()
(experimental) The specific vpc subnets the domain will be placed in.
|
default ZoneAwarenessConfig |
getZoneAwareness()
(experimental) The cluster zone awareness configuration for the Amazon ES domain.
|
@Stability(value=Experimental) @NotNull ElasticsearchVersion getVersion()
@Stability(value=Experimental) @Nullable default List<PolicyStatement> getAccessPolicies()
Default: - No access policies.
@Stability(value=Experimental) @Nullable default Map<String,String> getAdvancedOptions()
Default: - no advanced options are specified
@Stability(value=Experimental) @Nullable default Number getAutomatedSnapshotStartHour()
Only applies for Elasticsearch versions below 5.3.
Default: - Hourly automated snapshots not used
@Stability(value=Experimental) @Nullable default CapacityConfig getCapacity()
Default: - 1 r5.large.elasticsearch data node; no dedicated master nodes.
@Stability(value=Experimental) @Nullable default CognitoOptions getCognitoKibanaAuth()
Default: - Cognito not used for authentication to Kibana.
@Stability(value=Experimental) @Nullable default CustomEndpointOptions getCustomEndpoint()
If you specify a Route53 hosted zone it will create a CNAME record and use DNS validation for the certificate
Default: - no custom domain endpoint will be configured
@Stability(value=Experimental) @Nullable default String getDomainName()
Default: - A name will be auto-generated.
@Stability(value=Experimental) @Nullable default EbsOptions getEbs()
For more information, see [Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.
Default: - 10 GiB General Purpose (SSD) volumes per node.
@Stability(value=Experimental) @Nullable default Boolean getEnableVersionUpgrade()
Default: - false
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeelasticsearchdomain@Stability(value=Experimental) @Nullable default EncryptionAtRestOptions getEncryptionAtRest()
Default: - No encryption at rest
@Stability(value=Experimental) @Nullable default Boolean getEnforceHttps()
Default: - false
@Stability(value=Experimental) @Nullable default AdvancedSecurityOptions getFineGrainedAccessControl()
Requires Elasticsearch version 6.7 or later. Enabling fine-grained access control also requires encryption of data at rest and node-to-node encryption, along with enforced HTTPS.
Default: - fine-grained access control is disabled
@Stability(value=Experimental) @Nullable default LoggingOptions getLogging()
Default: - No logs are published
@Stability(value=Experimental) @Nullable default Boolean getNodeToNodeEncryption()
Requires Elasticsearch version 6.0 or later.
Default: - Node to node encryption is not enabled.
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Only used if vpc is specified.
Default: - One new security group is created.
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html@Stability(value=Experimental) @Nullable default TLSSecurityPolicy getTlsSecurityPolicy()
Default: - TLSSecurityPolicy.TLS_1_0
@Stability(value=Experimental) @Nullable default Boolean getUseUnsignedBasicAuth()
If no master user is provided a default master user
with username admin and a dynamically generated password stored in KMS is created. The password can be retrieved
by getting masterUserPassword from the domain instance.
Setting this to true will also add an access policy that allows unsigned access, enable node to node encryption, encryption at rest. If conflicting settings are encountered (like disabling encryption at rest) enabling this setting will cause a failure.
Default: - false
@Stability(value=Experimental) @Nullable default IVpc getVpc()
Default: - Domain is not placed in a VPC.
https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html@Stability(value=Experimental) @Nullable default List<SubnetSelection> getVpcSubnets()
You must provide one subnet for each Availability Zone that your domain uses. For example, you must specify three subnet IDs for a three Availability Zone domain.
Only used if vpc is specified.
Default: - All private subnets.
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html@Stability(value=Experimental) @Nullable default ZoneAwarenessConfig getZoneAwareness()
Default: - no zone awareness (1 AZ)
@Stability(value=Experimental) static DomainProps.Builder builder()
DomainProps.Builder of DomainPropsCopyright © 2021. All rights reserved.