@Stability(value=Experimental) @Internal public static final class DomainProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DomainProps
DomainPropssoftware.amazon.jsii.JsiiObject.InitializationModeDomainProps.Builder, DomainProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ElasticsearchVersion version,
List<? extends PolicyStatement> accessPolicies,
Map<String,String> advancedOptions,
Number automatedSnapshotStartHour,
CapacityConfig capacity,
CognitoOptions cognitoKibanaAuth,
CustomEndpointOptions customEndpoint,
String domainName,
EbsOptions ebs,
Boolean enableVersionUpgrade,
EncryptionAtRestOptions encryptionAtRest,
Boolean enforceHttps,
AdvancedSecurityOptions fineGrainedAccessControl,
LoggingOptions logging,
Boolean nodeToNodeEncryption,
RemovalPolicy removalPolicy,
List<? extends ISecurityGroup> securityGroups,
TLSSecurityPolicy tlsSecurityPolicy,
Boolean useUnsignedBasicAuth,
IVpc vpc,
List<? extends SubnetSelection> vpcSubnets,
ZoneAwarenessConfig zoneAwareness)
Constructor that initializes the object based on literal property values passed by the
DomainProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<PolicyStatement> |
getAccessPolicies()
(experimental) Domain Access policies.
|
Map<String,String> |
getAdvancedOptions()
(experimental) Additional options to specify for the Amazon ES domain.
|
Number |
getAutomatedSnapshotStartHour()
(experimental) The hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon ES domain.
|
CapacityConfig |
getCapacity()
(experimental) The cluster capacity configuration for the Amazon ES domain.
|
CognitoOptions |
getCognitoKibanaAuth()
(experimental) Configures Amazon ES to use Amazon Cognito authentication for Kibana.
|
CustomEndpointOptions |
getCustomEndpoint()
(experimental) To configure a custom domain configure these options.
|
String |
getDomainName()
(experimental) Enforces a particular physical domain name.
|
EbsOptions |
getEbs()
(experimental) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon ES domain.
|
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.
|
EncryptionAtRestOptions |
getEncryptionAtRest()
(experimental) Encryption at rest options for the cluster.
|
Boolean |
getEnforceHttps()
(experimental) True to require that all traffic to the domain arrive over HTTPS.
|
AdvancedSecurityOptions |
getFineGrainedAccessControl()
(experimental) Specifies options for fine-grained access control.
|
LoggingOptions |
getLogging()
(experimental) Configuration log publishing configuration options.
|
Boolean |
getNodeToNodeEncryption()
(experimental) Specify true to enable node to node encryption.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Policy to apply when the domain is removed from the stack.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) The list of security groups that are associated with the VPC endpoints for the domain.
|
TLSSecurityPolicy |
getTlsSecurityPolicy()
(experimental) The minimum TLS version required for traffic to the domain.
|
Boolean |
getUseUnsignedBasicAuth()
(experimental) Configures the domain so that unsigned basic auth is enabled.
|
ElasticsearchVersion |
getVersion()
(experimental) The Elasticsearch version that your domain will leverage.
|
IVpc |
getVpc()
(experimental) Place the domain inside this VPC.
|
List<SubnetSelection> |
getVpcSubnets()
(experimental) The specific vpc subnets the domain will be placed in.
|
ZoneAwarenessConfig |
getZoneAwareness()
(experimental) The cluster zone awareness configuration for the Amazon ES domain.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ElasticsearchVersion version, List<? extends PolicyStatement> accessPolicies, Map<String,String> advancedOptions, Number automatedSnapshotStartHour, CapacityConfig capacity, CognitoOptions cognitoKibanaAuth, CustomEndpointOptions customEndpoint, String domainName, EbsOptions ebs, Boolean enableVersionUpgrade, EncryptionAtRestOptions encryptionAtRest, Boolean enforceHttps, AdvancedSecurityOptions fineGrainedAccessControl, LoggingOptions logging, Boolean nodeToNodeEncryption, RemovalPolicy removalPolicy, List<? extends ISecurityGroup> securityGroups, TLSSecurityPolicy tlsSecurityPolicy, Boolean useUnsignedBasicAuth, IVpc vpc, List<? extends SubnetSelection> vpcSubnets, ZoneAwarenessConfig zoneAwareness)
DomainProps.Builder.public final ElasticsearchVersion getVersion()
DomainPropsgetVersion in interface DomainPropspublic final List<PolicyStatement> getAccessPolicies()
DomainPropsDefault: - No access policies.
getAccessPolicies in interface DomainPropspublic final Map<String,String> getAdvancedOptions()
DomainPropsDefault: - no advanced options are specified
getAdvancedOptions in interface DomainPropspublic final Number getAutomatedSnapshotStartHour()
DomainPropsOnly applies for Elasticsearch versions below 5.3.
Default: - Hourly automated snapshots not used
getAutomatedSnapshotStartHour in interface DomainPropspublic final CapacityConfig getCapacity()
DomainPropsDefault: - 1 r5.large.elasticsearch data node; no dedicated master nodes.
getCapacity in interface DomainPropspublic final CognitoOptions getCognitoKibanaAuth()
DomainPropsDefault: - Cognito not used for authentication to Kibana.
getCognitoKibanaAuth in interface DomainPropspublic final CustomEndpointOptions getCustomEndpoint()
DomainPropsIf 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
getCustomEndpoint in interface DomainPropspublic final String getDomainName()
DomainPropsDefault: - A name will be auto-generated.
getDomainName in interface DomainPropspublic final EbsOptions getEbs()
DomainPropsFor 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.
getEbs in interface DomainPropspublic final Boolean getEnableVersionUpgrade()
DomainPropsDefault: - false
getEnableVersionUpgrade in interface DomainPropshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeelasticsearchdomainpublic final EncryptionAtRestOptions getEncryptionAtRest()
DomainPropsDefault: - No encryption at rest
getEncryptionAtRest in interface DomainPropspublic final Boolean getEnforceHttps()
DomainPropsDefault: - false
getEnforceHttps in interface DomainPropspublic final AdvancedSecurityOptions getFineGrainedAccessControl()
DomainPropsRequires 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
getFineGrainedAccessControl in interface DomainPropspublic final LoggingOptions getLogging()
DomainPropsDefault: - No logs are published
getLogging in interface DomainPropspublic final Boolean getNodeToNodeEncryption()
DomainPropsRequires Elasticsearch version 6.0 or later.
Default: - Node to node encryption is not enabled.
getNodeToNodeEncryption in interface DomainPropspublic final RemovalPolicy getRemovalPolicy()
DomainPropsDefault: RemovalPolicy.RETAIN
getRemovalPolicy in interface DomainPropspublic final List<ISecurityGroup> getSecurityGroups()
DomainProps
Only used if vpc is specified.
Default: - One new security group is created.
getSecurityGroups in interface DomainPropshttps://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.htmlpublic final TLSSecurityPolicy getTlsSecurityPolicy()
DomainPropsDefault: - TLSSecurityPolicy.TLS_1_0
getTlsSecurityPolicy in interface DomainPropspublic final Boolean getUseUnsignedBasicAuth()
DomainProps
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
getUseUnsignedBasicAuth in interface DomainPropspublic final IVpc getVpc()
DomainPropsDefault: - Domain is not placed in a VPC.
getVpc in interface DomainPropshttps://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.htmlpublic final List<SubnetSelection> getVpcSubnets()
DomainPropsYou 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.
getVpcSubnets in interface DomainPropshttps://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.htmlpublic final ZoneAwarenessConfig getZoneAwareness()
DomainPropsDefault: - no zone awareness (1 AZ)
getZoneAwareness in interface DomainProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.