Class DomainProps.Jsii$Proxy
- All Implemented Interfaces:
DomainProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DomainProps
DomainProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.opensearchservice.DomainProps
DomainProps.Builder, DomainProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DomainProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDomainProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal List<PolicyStatement> Domain access policies.Additional options to specify for the Amazon OpenSearch Service domain.final NumberThe hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon OpenSearch Service domain.final CapacityConfigThe cluster capacity configuration for the Amazon OpenSearch Service domain.final CognitoOptionsConfigures Amazon OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.final BooleanWhether to enable or disable cold storage on the domain.final CustomEndpointOptionsTo configure a custom domain configure these options.final StringEnforces a particular physical domain name.final EbsOptionsgetEbs()The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain.final BooleanSpecifies whether automatic service software updates are enabled for the domain.final BooleanTo upgrade an Amazon OpenSearch Service domain to a new version, rather than replacing the entire domain resource, use the EnableVersionUpgrade update policy.final EncryptionAtRestOptionsEncryption at rest options for the cluster.final BooleanTrue to require that all traffic to the domain arrive over HTTPS.final AdvancedSecurityOptionsSpecifies options for fine-grained access control.final IpAddressTypeSpecify either dual stack or IPv4 as your IP address type.final LoggingOptionsConfiguration log publishing configuration options.final BooleanSpecify true to enable node to node encryption.final BooleanOptions for enabling a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.final WindowStartTimeStart time for the off-peak window, in Coordinated Universal Time (UTC).final RemovalPolicyPolicy to apply when the domain is removed from the stack.final List<ISecurityGroup> The list of security groups that are associated with the VPC endpoints for the domain.final BooleanSpecify whether to create a CloudWatch Logs resource policy or not.final TLSSecurityPolicyThe minimum TLS version required for traffic to the domain.final BooleanConfigures the domain so that unsigned basic auth is enabled.final EngineVersionThe Elasticsearch/OpenSearch version that your domain will leverage.final IVpcgetVpc()Place the domain inside this VPC.final List<SubnetSelection> The specific vpc subnets the domain will be placed in.final ZoneAwarenessConfigThe cluster zone awareness configuration for the Amazon OpenSearch Service domain.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDomainProps.Builder.
-
-
Method Details
-
getVersion
Description copied from interface:DomainPropsThe Elasticsearch/OpenSearch version that your domain will leverage.- Specified by:
getVersionin interfaceDomainProps
-
getAccessPolicies
Description copied from interface:DomainPropsDomain access policies.Default: - No access policies.
- Specified by:
getAccessPoliciesin interfaceDomainProps
-
getAdvancedOptions
Description copied from interface:DomainPropsAdditional options to specify for the Amazon OpenSearch Service domain.Default: - no advanced options are specified
- Specified by:
getAdvancedOptionsin interfaceDomainProps- See Also:
-
getAutomatedSnapshotStartHour
Description copied from interface:DomainPropsThe hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon OpenSearch Service domain.Only applies for Elasticsearch versions below 5.3.
Default: - Hourly automated snapshots not used
- Specified by:
getAutomatedSnapshotStartHourin interfaceDomainProps
-
getCapacity
Description copied from interface:DomainPropsThe cluster capacity configuration for the Amazon OpenSearch Service domain.Default: - 1 r5.large.search data node; no dedicated master nodes.
- Specified by:
getCapacityin interfaceDomainProps
-
getCognitoDashboardsAuth
Description copied from interface:DomainPropsConfigures Amazon OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.Default: - Cognito not used for authentication to OpenSearch Dashboards.
- Specified by:
getCognitoDashboardsAuthin interfaceDomainProps
-
getColdStorageEnabled
Description copied from interface:DomainPropsWhether to enable or disable cold storage on the domain.You must enable UltraWarm storage to enable cold storage.
Default: - undefined
- Specified by:
getColdStorageEnabledin interfaceDomainProps- See Also:
-
getCustomEndpoint
Description copied from interface:DomainPropsTo 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
- Specified by:
getCustomEndpointin interfaceDomainProps
-
getDomainName
Description copied from interface:DomainPropsEnforces a particular physical domain name.Default: - A name will be auto-generated.
- Specified by:
getDomainNamein interfaceDomainProps
-
getEbs
Description copied from interface:DomainPropsThe configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain.Default: - 10 GiB General Purpose (SSD) volumes per node.
- Specified by:
getEbsin interfaceDomainProps
-
getEnableAutoSoftwareUpdate
Description copied from interface:DomainPropsSpecifies whether automatic service software updates are enabled for the domain.Default: - false
- Specified by:
getEnableAutoSoftwareUpdatein interfaceDomainProps- See Also:
-
getEnableVersionUpgrade
Description copied from interface:DomainPropsTo upgrade an Amazon OpenSearch Service domain to a new version, rather than replacing the entire domain resource, use the EnableVersionUpgrade update policy.Default: - false
- Specified by:
getEnableVersionUpgradein interfaceDomainProps- See Also:
-
getEncryptionAtRest
Description copied from interface:DomainPropsEncryption at rest options for the cluster.Default: - No encryption at rest
- Specified by:
getEncryptionAtRestin interfaceDomainProps
-
getEnforceHttps
Description copied from interface:DomainPropsTrue to require that all traffic to the domain arrive over HTTPS.Default: - false
- Specified by:
getEnforceHttpsin interfaceDomainProps
-
getFineGrainedAccessControl
Description copied from interface:DomainPropsSpecifies options for fine-grained access control.Requires Elasticsearch version 6.7 or later or OpenSearch version 1.0 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
- Specified by:
getFineGrainedAccessControlin interfaceDomainProps
-
getIpAddressType
Description copied from interface:DomainPropsSpecify either dual stack or IPv4 as your IP address type.Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option.
If you set your IP address type to dual stack, you can't change your address type later.
Default: - IpAddressType.IPV4
- Specified by:
getIpAddressTypein interfaceDomainProps
-
getLogging
Description copied from interface:DomainPropsConfiguration log publishing configuration options.Default: - No logs are published
- Specified by:
getLoggingin interfaceDomainProps
-
getNodeToNodeEncryption
Description copied from interface:DomainPropsSpecify true to enable node to node encryption.Requires Elasticsearch version 6.0 or later or OpenSearch version 1.0 or later.
Default: - Node to node encryption is not enabled.
- Specified by:
getNodeToNodeEncryptionin interfaceDomainProps
-
getOffPeakWindowEnabled
Description copied from interface:DomainPropsOptions for enabling a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.Off-peak windows were introduced on February 16, 2023. All domains created before this date have the off-peak window disabled by default. You must manually enable and configure the off-peak window for these domains. All domains created after this date will have the off-peak window enabled by default. You can't disable the off-peak window for a domain after it's enabled.
Default: - Disabled for domains created before February 16, 2023. Enabled for domains created after. Enabled if `offPeakWindowStart` is set.
- Specified by:
getOffPeakWindowEnabledin interfaceDomainProps- See Also:
-
getOffPeakWindowStart
Description copied from interface:DomainPropsStart time for the off-peak window, in Coordinated Universal Time (UTC).The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
Default: - 10:00 P.M. local time
- Specified by:
getOffPeakWindowStartin interfaceDomainProps
-
getRemovalPolicy
Description copied from interface:DomainPropsPolicy to apply when the domain is removed from the stack.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicyin interfaceDomainProps
-
getSecurityGroups
Description copied from interface:DomainPropsThe list of security groups that are associated with the VPC endpoints for the domain.Only used if
vpcis specified.Default: - One new security group is created.
- Specified by:
getSecurityGroupsin interfaceDomainProps- See Also:
-
getSuppressLogsResourcePolicy
Description copied from interface:DomainPropsSpecify whether to create a CloudWatch Logs resource policy or not.When logging is enabled for the domain, a CloudWatch Logs resource policy is created by default. However, CloudWatch Logs supports only 10 resource policies per region. If you enable logging for several domains, it may hit the quota and cause an error. By setting this property to true, creating a resource policy is suppressed, allowing you to avoid this problem.
If you set this option to true, you must create a resource policy before deployment.
Default: - false
- Specified by:
getSuppressLogsResourcePolicyin interfaceDomainProps- See Also:
-
getTlsSecurityPolicy
Description copied from interface:DomainPropsThe minimum TLS version required for traffic to the domain.Default: - TLSSecurityPolicy.TLS_1_2
- Specified by:
getTlsSecurityPolicyin interfaceDomainProps
-
getUseUnsignedBasicAuth
Description copied from interface:DomainPropsConfigures the domain so that unsigned basic auth is enabled.If no master user is provided a default master user with username
adminand a dynamically generated password stored in KMS is created. The password can be retrieved by gettingmasterUserPasswordfrom 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
- Specified by:
getUseUnsignedBasicAuthin interfaceDomainProps
-
getVpc
Description copied from interface:DomainPropsPlace the domain inside this VPC.Default: - Domain is not placed in a VPC.
- Specified by:
getVpcin interfaceDomainProps- See Also:
-
getVpcSubnets
Description copied from interface:DomainPropsThe 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
vpcis specified.Default: - All private subnets.
- Specified by:
getVpcSubnetsin interfaceDomainProps- See Also:
-
getZoneAwareness
Description copied from interface:DomainPropsThe cluster zone awareness configuration for the Amazon OpenSearch Service domain.Default: - no zone awareness (1 AZ)
- Specified by:
getZoneAwarenessin interfaceDomainProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-