Interface DomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DomainProps.Jsii$Proxy
Example:
Domain domain = Domain.Builder.create(this, "Domain") .version(ElasticsearchVersion.V7_4) .ebs(EbsOptions.builder() .volumeSize(100) .volumeType(EbsDeviceVolumeType.GENERAL_PURPOSE_SSD) .build()) .nodeToNodeEncryption(true) .encryptionAtRest(EncryptionAtRestOptions.builder() .enabled(true) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainProps.Builder
builder()
Deprecated.default List<PolicyStatement>
Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteaddefault Number
Deprecated.use opensearchservice module insteaddefault CapacityConfig
Deprecated.use opensearchservice module insteaddefault CognitoOptions
Deprecated.use opensearchservice module insteaddefault CustomEndpointOptions
Deprecated.use opensearchservice module insteaddefault String
Deprecated.use opensearchservice module insteaddefault EbsOptions
getEbs()
Deprecated.use opensearchservice module insteaddefault Boolean
Deprecated.use opensearchservice module insteaddefault EncryptionAtRestOptions
Deprecated.use opensearchservice module insteaddefault Boolean
Deprecated.use opensearchservice module insteaddefault AdvancedSecurityOptions
Deprecated.use opensearchservice module insteaddefault LoggingOptions
Deprecated.use opensearchservice module insteaddefault Boolean
Deprecated.use opensearchservice module insteaddefault RemovalPolicy
Deprecated.use opensearchservice module insteaddefault List<ISecurityGroup>
Deprecated.use opensearchservice module insteaddefault TLSSecurityPolicy
Deprecated.use opensearchservice module insteaddefault Boolean
Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteaddefault IVpc
getVpc()
Deprecated.use opensearchservice module insteaddefault List<SubnetSelection>
Deprecated.use opensearchservice module insteaddefault ZoneAwarenessConfig
Deprecated.use opensearchservice module insteadMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
Deprecated.use opensearchservice module instead(deprecated) The Elasticsearch version that your domain will leverage. -
getAccessPolicies
Deprecated.use opensearchservice module instead(deprecated) Domain Access policies.Default: - No access policies.
-
getAdvancedOptions
Deprecated.use opensearchservice module instead(deprecated) Additional options to specify for the Amazon ES domain.Default: - no advanced options are specified
-
getAutomatedSnapshotStartHour
Deprecated.use opensearchservice module instead(deprecated) The hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon ES domain.Only applies for Elasticsearch versions below 5.3.
Default: - Hourly automated snapshots not used
-
getCapacity
Deprecated.use opensearchservice module instead(deprecated) The cluster capacity configuration for the Amazon ES domain.Default: - 1 r5.large.elasticsearch data node; no dedicated master nodes.
-
getCognitoKibanaAuth
Deprecated.use opensearchservice module instead(deprecated) Configures Amazon ES to use Amazon Cognito authentication for Kibana.Default: - Cognito not used for authentication to Kibana.
-
getCustomEndpoint
Deprecated.use opensearchservice module instead(deprecated) To configure a custom domain configure these options.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
-
getDomainName
Deprecated.use opensearchservice module instead(deprecated) Enforces a particular physical domain name.Default: - A name will be auto-generated.
-
getEbs
Deprecated.use opensearchservice module instead(deprecated) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon ES domain.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.
-
getEnableVersionUpgrade
Deprecated.use opensearchservice module instead(deprecated) 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: - false
-
getEncryptionAtRest
Deprecated.use opensearchservice module instead(deprecated) Encryption at rest options for the cluster.Default: - No encryption at rest
-
getEnforceHttps
Deprecated.use opensearchservice module instead(deprecated) True to require that all traffic to the domain arrive over HTTPS.Default: - false
-
getFineGrainedAccessControl
@Stability(Deprecated) @Deprecated @Nullable default AdvancedSecurityOptions getFineGrainedAccessControl()Deprecated.use opensearchservice module instead(deprecated) Specifies options for fine-grained access control.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
-
getLogging
Deprecated.use opensearchservice module instead(deprecated) Configuration log publishing configuration options.Default: - No logs are published
-
getNodeToNodeEncryption
Deprecated.use opensearchservice module instead(deprecated) Specify true to enable node to node encryption.Requires Elasticsearch version 6.0 or later.
Default: - Node to node encryption is not enabled.
-
getRemovalPolicy
Deprecated.use opensearchservice module instead(deprecated) Policy to apply when the domain is removed from the stack.Default: RemovalPolicy.RETAIN
-
getSecurityGroups
Deprecated.use opensearchservice module instead(deprecated) The list of security groups that are associated with the VPC endpoints for the domain.Only used if
vpc
is specified.Default: - One new security group is created.
-
getTlsSecurityPolicy
Deprecated.use opensearchservice module instead(deprecated) The minimum TLS version required for traffic to the domain.Default: - TLSSecurityPolicy.TLS_1_0
-
getUseUnsignedBasicAuth
Deprecated.use opensearchservice module instead(deprecated) Configures the domain so that unsigned basic auth is enabled.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 gettingmasterUserPassword
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
-
getVpc
Deprecated.use opensearchservice module instead(deprecated) Place the domain inside this VPC.Default: - Domain is not placed in a VPC.
-
getVpcSubnets
Deprecated.use opensearchservice module instead(deprecated) The specific vpc subnets the domain will be placed in.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.
-
getZoneAwareness
Deprecated.use opensearchservice module instead(deprecated) The cluster zone awareness configuration for the Amazon ES domain.Default: - no zone awareness (1 AZ)
-
builder
Deprecated.- Returns:
- a
DomainProps.Builder
ofDomainProps
-