public static final class CfnDomainProps.Builder
extends java.lang.Object
CfnDomainProps
Constructor and Description |
---|
Builder() |
public CfnDomainProps.Builder accessPolicies(java.lang.Object accessPolicies)
CfnDomainProps.getAccessPolicies()
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 Guid e.this
public CfnDomainProps.Builder advancedOptions(IResolvable advancedOptions)
CfnDomainProps.getAdvancedOptions()
advancedOptions
- Additional options to specify for the OpenSearch Service domain.
For more information, see Advanced cluster parameters in the Amazon OpenSearch Service Developer Guide .this
public CfnDomainProps.Builder advancedOptions(java.util.Map<java.lang.String,java.lang.String> advancedOptions)
CfnDomainProps.getAdvancedOptions()
advancedOptions
- Additional options to specify for the OpenSearch Service domain.
For more information, see Advanced cluster parameters in the Amazon OpenSearch Service Developer Guide .this
public CfnDomainProps.Builder advancedSecurityOptions(IResolvable advancedSecurityOptions)
CfnDomainProps.getAdvancedSecurityOptions()
advancedSecurityOptions
- Specifies options for fine-grained access control.this
public CfnDomainProps.Builder advancedSecurityOptions(CfnDomain.AdvancedSecurityOptionsInputProperty advancedSecurityOptions)
CfnDomainProps.getAdvancedSecurityOptions()
advancedSecurityOptions
- Specifies options for fine-grained access control.this
public CfnDomainProps.Builder cognitoOptions(IResolvable cognitoOptions)
CfnDomainProps.getCognitoOptions()
cognitoOptions
- Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.this
public CfnDomainProps.Builder cognitoOptions(CfnDomain.CognitoOptionsProperty cognitoOptions)
CfnDomainProps.getCognitoOptions()
cognitoOptions
- Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.this
public CfnDomainProps.Builder domainEndpointOptions(IResolvable domainEndpointOptions)
CfnDomainProps.getDomainEndpointOptions()
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
public CfnDomainProps.Builder domainEndpointOptions(CfnDomain.DomainEndpointOptionsProperty domainEndpointOptions)
CfnDomainProps.getDomainEndpointOptions()
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
public CfnDomainProps.Builder domainName(java.lang.String domainName)
CfnDomainProps.getDomainName()
domainName
- A name for the OpenSearch Service domain.
For valid values, see the DomainName data type in the Amazon OpenSearch Service Developer Guide . If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the domain name. For more information, see Name Type .
If you specify a name, you cannot 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.
this
public CfnDomainProps.Builder ebsOptions(IResolvable ebsOptions)
CfnDomainProps.getEbsOptions()
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 .this
public CfnDomainProps.Builder ebsOptions(CfnDomain.EBSOptionsProperty ebsOptions)
CfnDomainProps.getEbsOptions()
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 .this
public CfnDomainProps.Builder elasticsearchClusterConfig(IResolvable elasticsearchClusterConfig)
CfnDomainProps.getElasticsearchClusterConfig()
elasticsearchClusterConfig
- ElasticsearchClusterConfig is a property of the AWS::Elasticsearch::Domain resource that configures the cluster of an Amazon OpenSearch Service domain.this
public CfnDomainProps.Builder elasticsearchClusterConfig(CfnDomain.ElasticsearchClusterConfigProperty elasticsearchClusterConfig)
CfnDomainProps.getElasticsearchClusterConfig()
elasticsearchClusterConfig
- ElasticsearchClusterConfig is a property of the AWS::Elasticsearch::Domain resource that configures the cluster of an Amazon OpenSearch Service domain.this
public CfnDomainProps.Builder elasticsearchVersion(java.lang.String elasticsearchVersion)
CfnDomainProps.getElasticsearchVersion()
elasticsearchVersion
- The version of Elasticsearch to use, such as 2.3. If not specified, 1.5 is used as the default. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* .
If you set the EnableVersionUpgrade update policy to true
, you can update ElasticsearchVersion
without interruption. When EnableVersionUpgrade
is set to false
, or is not specified, updating ElasticsearchVersion
results in replacement .this
public CfnDomainProps.Builder encryptionAtRestOptions(IResolvable encryptionAtRestOptions)
CfnDomainProps.getEncryptionAtRestOptions()
encryptionAtRestOptions
- Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service key to use.
See Encryption of data at rest for Amazon OpenSearch Service .this
public CfnDomainProps.Builder encryptionAtRestOptions(CfnDomain.EncryptionAtRestOptionsProperty encryptionAtRestOptions)
CfnDomainProps.getEncryptionAtRestOptions()
encryptionAtRestOptions
- Whether the domain should encrypt data at rest, and if so, the AWS Key Management Service key to use.
See Encryption of data at rest for Amazon OpenSearch Service .this
public CfnDomainProps.Builder logPublishingOptions(IResolvable logPublishingOptions)
CfnDomainProps.getLogPublishingOptions()
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 LogPublishingOption
value.this
public CfnDomainProps.Builder logPublishingOptions(java.util.Map<java.lang.String,? extends java.lang.Object> logPublishingOptions)
CfnDomainProps.getLogPublishingOptions()
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 LogPublishingOption
value.this
public CfnDomainProps.Builder nodeToNodeEncryptionOptions(IResolvable nodeToNodeEncryptionOptions)
CfnDomainProps.getNodeToNodeEncryptionOptions()
nodeToNodeEncryptionOptions
- Specifies whether node-to-node encryption is enabled.
See Node-to-node encryption for Amazon OpenSearch Service .this
public CfnDomainProps.Builder nodeToNodeEncryptionOptions(CfnDomain.NodeToNodeEncryptionOptionsProperty nodeToNodeEncryptionOptions)
CfnDomainProps.getNodeToNodeEncryptionOptions()
nodeToNodeEncryptionOptions
- Specifies whether node-to-node encryption is enabled.
See Node-to-node encryption for Amazon OpenSearch Service .this
public CfnDomainProps.Builder snapshotOptions(IResolvable snapshotOptions)
CfnDomainProps.getSnapshotOptions()
snapshotOptions
- *DEPRECATED* .
The automated snapshot configuration for the OpenSearch Service domain indices.this
public CfnDomainProps.Builder snapshotOptions(CfnDomain.SnapshotOptionsProperty snapshotOptions)
CfnDomainProps.getSnapshotOptions()
snapshotOptions
- *DEPRECATED* .
The automated snapshot configuration for the OpenSearch Service domain indices.this
public CfnDomainProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDomainProps.getTags()
tags
- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.this
public CfnDomainProps.Builder vpcOptions(IResolvable vpcOptions)
CfnDomainProps.getVpcOptions()
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 .this
public CfnDomainProps.Builder vpcOptions(CfnDomain.VPCOptionsProperty vpcOptions)
CfnDomainProps.getVpcOptions()
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 .this
public CfnDomainProps build()
CfnDomainProps
java.lang.NullPointerException
- if any required attribute was not provided