Interface CfnDomainProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.576Z") @Stability(Stable) public interface CfnDomainProps extends
Properties for defining a CfnDomain.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object accessPolicies;
 CfnDomainProps cfnDomainProps = CfnDomainProps.builder()
                 "advancedOptionsKey", "advancedOptions"))
                 "logPublishingOptionsKey", LogPublishingOptionProperty.builder()
  • Method Details

    • getAccessPolicies

      @Stability(Stable) @Nullable default Object getAccessPolicies()
      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 .

    • getAdvancedOptions

      @Stability(Stable) @Nullable default Object getAdvancedOptions()
      Additional options to specify for the OpenSearch Service domain.

      For more information, see AdvancedOptions in the OpenSearch Service API reference.

    • getAdvancedSecurityOptions

      @Stability(Stable) @Nullable default Object getAdvancedSecurityOptions()
      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 EnforceHTTPS within DomainEndpointOptions , which requires HTTPS for all traffic to the domain.

    • getClusterConfig

      @Stability(Stable) @Nullable default Object getClusterConfig()
      Container for the cluster configuration of a domain.
    • getCognitoOptions

      @Stability(Stable) @Nullable default Object getCognitoOptions()
      Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.
    • getDomainEndpointOptions

      @Stability(Stable) @Nullable default Object getDomainEndpointOptions()
      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.
    • getDomainName

      @Stability(Stable) @Nullable default String getDomainName()
      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, AWS 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.

    • getEbsOptions

      @Stability(Stable) @Nullable default Object getEbsOptions()
      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 .

    • getEncryptionAtRestOptions

      @Stability(Stable) @Nullable default Object getEncryptionAtRestOptions()
      Whether the domain should encrypt data at rest, and if so, the AWS KMS key to use.

      See Encryption of data at rest for Amazon OpenSearch Service .

    • getEngineVersion

      @Stability(Stable) @Nullable default String getEngineVersion()
      The version of OpenSearch to use.

      The value must be in the format OpenSearch_X.Y or Elasticsearch_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 update EngineVersion without interruption. When EnableVersionUpgrade is set to false , or is not specified, updating EngineVersion results in replacement .

    • getLogPublishingOptions

      @Stability(Stable) @Nullable default Object getLogPublishingOptions()
      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. For the full syntax, see the examples .

    • getNodeToNodeEncryptionOptions

      @Stability(Stable) @Nullable default Object getNodeToNodeEncryptionOptions()
      Specifies whether node-to-node encryption is enabled.

      See Node-to-node encryption for Amazon OpenSearch Service .

    • getOffPeakWindowOptions

      @Stability(Stable) @Nullable default Object getOffPeakWindowOptions()
      Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
    • getSnapshotOptions

      @Stability(Stable) @Nullable default Object getSnapshotOptions()

      The automated snapshot configuration for the OpenSearch Service domain indexes.

    • getSoftwareUpdateOptions

      @Stability(Stable) @Nullable default Object getSoftwareUpdateOptions()
      Options for configuring service software updates for a domain.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.
    • getVpcOptions

      @Stability(Stable) @Nullable default Object getVpcOptions()
      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.

    • builder

      @Stability(Stable) static CfnDomainProps.Builder builder()
      a CfnDomainProps.Builder of CfnDomainProps