Class CfnDomainPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin>
- Enclosing class:
CfnDomainPropsMixin
CfnDomainPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicies(Object accessPolicies) An AWS Identity and Access Management ( IAM ) policy document that specifies who can access the OpenSearch Service domain and their permissions.advancedOptions(Map<String, String> advancedOptions) Additional options to specify for the OpenSearch Service domain.advancedOptions(IResolvable advancedOptions) Additional options to specify for the OpenSearch Service domain.advancedSecurityOptions(CfnDomainPropsMixin.AdvancedSecurityOptionsInputProperty advancedSecurityOptions) Specifies options for fine-grained access control and SAML authentication.advancedSecurityOptions(IResolvable advancedSecurityOptions) Specifies options for fine-grained access control and SAML authentication.aimlOptions(CfnDomainPropsMixin.AIMLOptionsProperty aimlOptions) Container for parameters required to enable all machine learning features.aimlOptions(IResolvable aimlOptions) Container for parameters required to enable all machine learning features.build()clusterConfig(CfnDomainPropsMixin.ClusterConfigProperty clusterConfig) Container for the cluster configuration of a domain.clusterConfig(IResolvable clusterConfig) Container for the cluster configuration of a domain.cognitoOptions(CfnDomainPropsMixin.CognitoOptionsProperty cognitoOptions) Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.cognitoOptions(IResolvable cognitoOptions) Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.static CfnDomainPropsMixin.Buildercreate()static CfnDomainPropsMixin.Buildercreate(CfnPropertyMixinOptions options) deploymentStrategyOptions(CfnDomainPropsMixin.DeploymentStrategyOptionsProperty deploymentStrategyOptions) deploymentStrategyOptions(IResolvable deploymentStrategyOptions) domainEndpointOptions(CfnDomainPropsMixin.DomainEndpointOptionsProperty domainEndpointOptions) Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.domainEndpointOptions(IResolvable domainEndpointOptions) Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.domainName(String domainName) A name for the OpenSearch Service domain.ebsOptions(CfnDomainPropsMixin.EBSOptionsProperty ebsOptions) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain.ebsOptions(IResolvable ebsOptions) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain.encryptionAtRestOptions(CfnDomainPropsMixin.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Whether the domain should encrypt data at rest, and if so, the AWS key to use.encryptionAtRestOptions(IResolvable encryptionAtRestOptions) Whether the domain should encrypt data at rest, and if so, the AWS key to use.engineVersion(String engineVersion) The version of OpenSearch to use.identityCenterOptions(CfnDomainPropsMixin.IdentityCenterOptionsProperty identityCenterOptions) Configuration options for controlling IAM Identity Center integration within a domain.identityCenterOptions(IResolvable identityCenterOptions) Configuration options for controlling IAM Identity Center integration within a domain.ipAddressType(String ipAddressType) Choose either dual stack or IPv4 as your IP address type.logPublishingOptions(Map<String, ? extends Object> logPublishingOptions) An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish.logPublishingOptions(IResolvable logPublishingOptions) An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish.nodeToNodeEncryptionOptions(CfnDomainPropsMixin.NodeToNodeEncryptionOptionsProperty nodeToNodeEncryptionOptions) Specifies whether node-to-node encryption is enabled.nodeToNodeEncryptionOptions(IResolvable nodeToNodeEncryptionOptions) Specifies whether node-to-node encryption is enabled.offPeakWindowOptions(CfnDomainPropsMixin.OffPeakWindowOptionsProperty offPeakWindowOptions) Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.offPeakWindowOptions(IResolvable offPeakWindowOptions) Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.skipShardMigrationWait(Boolean skipShardMigrationWait) skipShardMigrationWait(IResolvable skipShardMigrationWait) snapshotOptions(CfnDomainPropsMixin.SnapshotOptionsProperty snapshotOptions) DEPRECATED .snapshotOptions(IResolvable snapshotOptions) DEPRECATED .softwareUpdateOptions(CfnDomainPropsMixin.SoftwareUpdateOptionsProperty softwareUpdateOptions) Service software update options for the domain.softwareUpdateOptions(IResolvable softwareUpdateOptions) Service software update options for the domain.An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.vpcOptions(CfnDomainPropsMixin.VPCOptionsProperty vpcOptions) The virtual private cloud (VPC) configuration for the OpenSearch Service domain.vpcOptions(IResolvable vpcOptions) The virtual private cloud (VPC) configuration for the OpenSearch Service domain.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
accessPolicies
An AWS Identity and Access Management ( IAM ) policy document that specifies who can access the OpenSearch Service domain and their permissions.For more information, see Configuring access policies in the Amazon OpenSearch Service Developer Guide .
- Parameters:
accessPolicies- An AWS Identity and Access Management ( IAM ) policy document that specifies who can access the OpenSearch Service domain and their permissions. This parameter is required.- Returns:
this- See Also:
-
advancedOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder advancedOptions(Map<String, String> advancedOptions) Additional options to specify for the OpenSearch Service domain.For more information, see AdvancedOptions in the OpenSearch Service API reference.
- Parameters:
advancedOptions- Additional options to specify for the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
advancedOptions
Additional options to specify for the OpenSearch Service domain.For more information, see AdvancedOptions in the OpenSearch Service API reference.
- Parameters:
advancedOptions- Additional options to specify for the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
advancedSecurityOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder advancedSecurityOptions(IResolvable advancedSecurityOptions) Specifies options for fine-grained access control and SAML authentication.If you specify advanced security options, you must also enable node-to-node encryption ( NodeToNodeEncryptionOptions ) and encryption at rest ( EncryptionAtRestOptions ). You must also enable
EnforceHTTPSwithin DomainEndpointOptions , which requires HTTPS for all traffic to the domain.- Parameters:
advancedSecurityOptions- Specifies options for fine-grained access control and SAML authentication. This parameter is required.- Returns:
this- See Also:
-
advancedSecurityOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder advancedSecurityOptions(CfnDomainPropsMixin.AdvancedSecurityOptionsInputProperty advancedSecurityOptions) Specifies options for fine-grained access control and SAML authentication.If you specify advanced security options, you must also enable node-to-node encryption ( NodeToNodeEncryptionOptions ) and encryption at rest ( EncryptionAtRestOptions ). You must also enable
EnforceHTTPSwithin DomainEndpointOptions , which requires HTTPS for all traffic to the domain.- Parameters:
advancedSecurityOptions- Specifies options for fine-grained access control and SAML authentication. This parameter is required.- Returns:
this- See Also:
-
aimlOptions
Container for parameters required to enable all machine learning features.- Parameters:
aimlOptions- Container for parameters required to enable all machine learning features. This parameter is required.- Returns:
this- See Also:
-
aimlOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder aimlOptions(CfnDomainPropsMixin.AIMLOptionsProperty aimlOptions) Container for parameters required to enable all machine learning features.- Parameters:
aimlOptions- Container for parameters required to enable all machine learning features. This parameter is required.- Returns:
this- See Also:
-
clusterConfig
Container for the cluster configuration of a domain.- Parameters:
clusterConfig- Container for the cluster configuration of a domain. This parameter is required.- Returns:
this- See Also:
-
clusterConfig
@Stability(Stable) public CfnDomainPropsMixin.Builder clusterConfig(CfnDomainPropsMixin.ClusterConfigProperty clusterConfig) Container for the cluster configuration of a domain.- Parameters:
clusterConfig- Container for the cluster configuration of a domain. This parameter is required.- Returns:
this- See Also:
-
cognitoOptions
Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.- Parameters:
cognitoOptions- Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. This parameter is required.- Returns:
this- See Also:
-
cognitoOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder cognitoOptions(CfnDomainPropsMixin.CognitoOptionsProperty cognitoOptions) Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.- Parameters:
cognitoOptions- Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. This parameter is required.- Returns:
this- See Also:
-
deploymentStrategyOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder deploymentStrategyOptions(IResolvable deploymentStrategyOptions) - Parameters:
deploymentStrategyOptions- This parameter is required.- Returns:
this- See Also:
-
deploymentStrategyOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder deploymentStrategyOptions(CfnDomainPropsMixin.DeploymentStrategyOptionsProperty deploymentStrategyOptions) - Parameters:
deploymentStrategyOptions- This parameter is required.- Returns:
this- See Also:
-
domainArn
- Parameters:
domainArn- This parameter is required.- Returns:
this- See Also:
-
domainEndpointOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder domainEndpointOptions(IResolvable domainEndpointOptions) Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.- Parameters:
domainEndpointOptions- Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint. This parameter is required.- Returns:
this- See Also:
-
domainEndpointOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder domainEndpointOptions(CfnDomainPropsMixin.DomainEndpointOptionsProperty domainEndpointOptions) Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.- Parameters:
domainEndpointOptions- Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint. This parameter is required.- Returns:
this- See Also:
-
domainName
A name for the OpenSearch Service domain.The name must have a minimum length of 3 and a maximum length of 28. If you don't specify a name, CloudFormation generates a unique physical ID and uses that ID for the domain name. For more information, see Name Type .
Required when creating a new domain.
If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Parameters:
domainName- A name for the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
ebsOptions
The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain.For more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
- Parameters:
ebsOptions- The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
ebsOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder ebsOptions(CfnDomainPropsMixin.EBSOptionsProperty ebsOptions) The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain.For more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
- Parameters:
ebsOptions- The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
encryptionAtRestOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder encryptionAtRestOptions(IResolvable encryptionAtRestOptions) Whether the domain should encrypt data at rest, and if so, the AWS key to use.See Encryption of data at rest for Amazon OpenSearch Service .
If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
- Parameters:
encryptionAtRestOptions- Whether the domain should encrypt data at rest, and if so, the AWS key to use. This parameter is required.- Returns:
this- See Also:
-
encryptionAtRestOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder encryptionAtRestOptions(CfnDomainPropsMixin.EncryptionAtRestOptionsProperty encryptionAtRestOptions) Whether the domain should encrypt data at rest, and if so, the AWS key to use.See Encryption of data at rest for Amazon OpenSearch Service .
If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
- Parameters:
encryptionAtRestOptions- Whether the domain should encrypt data at rest, and if so, the AWS key to use. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The version of OpenSearch to use.The value must be in the format
OpenSearch_X.YorElasticsearch_X.Y. If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see Supported versions of OpenSearch and Elasticsearch in the Amazon OpenSearch Service Developer Guide .If you set the EnableVersionUpgrade update policy to
true, you can updateEngineVersionwithout interruption. WhenEnableVersionUpgradeis set tofalse, or is not specified, updatingEngineVersionresults in replacement .- Parameters:
engineVersion- The version of OpenSearch to use. This parameter is required.- Returns:
this- See Also:
-
identityCenterOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder identityCenterOptions(IResolvable identityCenterOptions) Configuration options for controlling IAM Identity Center integration within a domain.- Parameters:
identityCenterOptions- Configuration options for controlling IAM Identity Center integration within a domain. This parameter is required.- Returns:
this- See Also:
-
identityCenterOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder identityCenterOptions(CfnDomainPropsMixin.IdentityCenterOptionsProperty identityCenterOptions) Configuration options for controlling IAM Identity Center integration within a domain.- Parameters:
identityCenterOptions- Configuration options for controlling IAM Identity Center integration within a domain. This parameter is required.- Returns:
this- See Also:
-
ipAddressType
Choose 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.
- Parameters:
ipAddressType- Choose either dual stack or IPv4 as your IP address type. This parameter is required.- Returns:
this- See Also:
-
logPublishingOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder logPublishingOptions(IResolvable logPublishingOptions) An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish.Each key needs a valid
LogPublishingOptionvalue. For the full syntax, see the examples .- Parameters:
logPublishingOptions- An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish. This parameter is required.- Returns:
this- See Also:
-
logPublishingOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder logPublishingOptions(Map<String, ? extends Object> logPublishingOptions) An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish.Each key needs a valid
LogPublishingOptionvalue. For the full syntax, see the examples .- Parameters:
logPublishingOptions- An object with one or more of the following keys:SEARCH_SLOW_LOGS,ES_APPLICATION_LOGS,INDEX_SLOW_LOGS,AUDIT_LOGS, depending on the types of logs you want to publish. This parameter is required.- Returns:
this- See Also:
-
nodeToNodeEncryptionOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder nodeToNodeEncryptionOptions(IResolvable nodeToNodeEncryptionOptions) Specifies whether node-to-node encryption is enabled.- Parameters:
nodeToNodeEncryptionOptions- Specifies whether node-to-node encryption is enabled. This parameter is required.- Returns:
this- See Also:
-
nodeToNodeEncryptionOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder nodeToNodeEncryptionOptions(CfnDomainPropsMixin.NodeToNodeEncryptionOptionsProperty nodeToNodeEncryptionOptions) Specifies whether node-to-node encryption is enabled.- Parameters:
nodeToNodeEncryptionOptions- Specifies whether node-to-node encryption is enabled. This parameter is required.- Returns:
this- See Also:
-
offPeakWindowOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder offPeakWindowOptions(IResolvable offPeakWindowOptions) Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.- Parameters:
offPeakWindowOptions- Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain. This parameter is required.- Returns:
this- See Also:
-
offPeakWindowOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder offPeakWindowOptions(CfnDomainPropsMixin.OffPeakWindowOptionsProperty offPeakWindowOptions) Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.- Parameters:
offPeakWindowOptions- Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain. This parameter is required.- Returns:
this- See Also:
-
skipShardMigrationWait
@Stability(Stable) public CfnDomainPropsMixin.Builder skipShardMigrationWait(Boolean skipShardMigrationWait) - Parameters:
skipShardMigrationWait- This parameter is required.- Returns:
this- See Also:
-
skipShardMigrationWait
@Stability(Stable) public CfnDomainPropsMixin.Builder skipShardMigrationWait(IResolvable skipShardMigrationWait) - Parameters:
skipShardMigrationWait- This parameter is required.- Returns:
this- See Also:
-
snapshotOptions
DEPRECATED .The automated snapshot configuration for the OpenSearch Service domain indexes.
- Parameters:
snapshotOptions- DEPRECATED . This parameter is required.- Returns:
this- See Also:
-
snapshotOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder snapshotOptions(CfnDomainPropsMixin.SnapshotOptionsProperty snapshotOptions) DEPRECATED .The automated snapshot configuration for the OpenSearch Service domain indexes.
- Parameters:
snapshotOptions- DEPRECATED . This parameter is required.- Returns:
this- See Also:
-
softwareUpdateOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder softwareUpdateOptions(IResolvable softwareUpdateOptions) Service software update options for the domain.- Parameters:
softwareUpdateOptions- Service software update options for the domain. This parameter is required.- Returns:
this- See Also:
-
softwareUpdateOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder softwareUpdateOptions(CfnDomainPropsMixin.SoftwareUpdateOptionsProperty softwareUpdateOptions) Service software update options for the domain.- Parameters:
softwareUpdateOptions- Service software update options for the domain. This parameter is required.- Returns:
this- See Also:
-
tags
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
vpcOptions
The virtual private cloud (VPC) configuration for the OpenSearch Service domain.For more information, see Launching your Amazon OpenSearch Service domains within a VPC in the Amazon OpenSearch Service Developer Guide .
If you remove this entity altogether, along with its associated properties, it causes a replacement. You might encounter this scenario if you're updating your security configuration from a VPC to a public endpoint.
- Parameters:
vpcOptions- The virtual private cloud (VPC) configuration for the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
vpcOptions
@Stability(Stable) public CfnDomainPropsMixin.Builder vpcOptions(CfnDomainPropsMixin.VPCOptionsProperty vpcOptions) The virtual private cloud (VPC) configuration for the OpenSearch Service domain.For more information, see Launching your Amazon OpenSearch Service domains within a VPC in the Amazon OpenSearch Service Developer Guide .
If you remove this entity altogether, along with its associated properties, it causes a replacement. You might encounter this scenario if you're updating your security configuration from a VPC to a public endpoint.
- Parameters:
vpcOptions- The virtual private cloud (VPC) configuration for the OpenSearch Service domain. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin>- Returns:
- a newly built instance of
CfnDomainPropsMixin.
-