#[non_exhaustive]
pub struct DomainConfig {
Show 19 fields pub engine_version: Option<VersionStatus>, pub cluster_config: Option<ClusterConfigStatus>, pub ebs_options: Option<EbsOptionsStatus>, pub access_policies: Option<AccessPoliciesStatus>, pub ip_address_type: Option<IpAddressTypeStatus>, pub snapshot_options: Option<SnapshotOptionsStatus>, pub vpc_options: Option<VpcDerivedInfoStatus>, pub cognito_options: Option<CognitoOptionsStatus>, pub encryption_at_rest_options: Option<EncryptionAtRestOptionsStatus>, pub node_to_node_encryption_options: Option<NodeToNodeEncryptionOptionsStatus>, pub advanced_options: Option<AdvancedOptionsStatus>, pub log_publishing_options: Option<LogPublishingOptionsStatus>, pub domain_endpoint_options: Option<DomainEndpointOptionsStatus>, pub advanced_security_options: Option<AdvancedSecurityOptionsStatus>, pub auto_tune_options: Option<AutoTuneOptionsStatus>, pub change_progress_details: Option<ChangeProgressDetails>, pub off_peak_window_options: Option<OffPeakWindowOptionsStatus>, pub software_update_options: Option<SoftwareUpdateOptionsStatus>, pub modifying_properties: Option<Vec<ModifyingProperties>>,
}
Expand description

Container for the configuration of an OpenSearch Service domain.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§engine_version: Option<VersionStatus>

The OpenSearch or Elasticsearch version that the domain is running.

§cluster_config: Option<ClusterConfigStatus>

Container for the cluster configuration of a the domain.

§ebs_options: Option<EbsOptionsStatus>

Container for EBS options configured for the domain.

§access_policies: Option<AccessPoliciesStatus>

Specifies the access policies for the domain.

§ip_address_type: Option<IpAddressTypeStatus>

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.

§snapshot_options: Option<SnapshotOptionsStatus>

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

§vpc_options: Option<VpcDerivedInfoStatus>

The current VPC options for the domain and the status of any updates to their configuration.

§cognito_options: Option<CognitoOptionsStatus>

Container for Amazon Cognito options for the domain.

§encryption_at_rest_options: Option<EncryptionAtRestOptionsStatus>

Key-value pairs to enable encryption at rest.

§node_to_node_encryption_options: Option<NodeToNodeEncryptionOptionsStatus>

Whether node-to-node encryption is enabled or disabled.

§advanced_options: Option<AdvancedOptionsStatus>

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

§log_publishing_options: Option<LogPublishingOptionsStatus>

Key-value pairs to configure log publishing.

§domain_endpoint_options: Option<DomainEndpointOptionsStatus>

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

§advanced_security_options: Option<AdvancedSecurityOptionsStatus>

Container for fine-grained access control settings for the domain.

§auto_tune_options: Option<AutoTuneOptionsStatus>

Container for Auto-Tune settings for the domain.

§change_progress_details: Option<ChangeProgressDetails>

Container for information about the progress of an existing configuration change.

§off_peak_window_options: Option<OffPeakWindowOptionsStatus>

Container for off-peak window options for the domain.

§software_update_options: Option<SoftwareUpdateOptionsStatus>

Software update options for the domain.

§modifying_properties: Option<Vec<ModifyingProperties>>

Information about the domain properties that are currently being modified.

Implementations§

source§

impl DomainConfig

source

pub fn engine_version(&self) -> Option<&VersionStatus>

The OpenSearch or Elasticsearch version that the domain is running.

source

pub fn cluster_config(&self) -> Option<&ClusterConfigStatus>

Container for the cluster configuration of a the domain.

source

pub fn ebs_options(&self) -> Option<&EbsOptionsStatus>

Container for EBS options configured for the domain.

source

pub fn access_policies(&self) -> Option<&AccessPoliciesStatus>

Specifies the access policies for the domain.

source

pub fn ip_address_type(&self) -> Option<&IpAddressTypeStatus>

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.

source

pub fn snapshot_options(&self) -> Option<&SnapshotOptionsStatus>

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

source

pub fn vpc_options(&self) -> Option<&VpcDerivedInfoStatus>

The current VPC options for the domain and the status of any updates to their configuration.

source

pub fn cognito_options(&self) -> Option<&CognitoOptionsStatus>

Container for Amazon Cognito options for the domain.

source

pub fn encryption_at_rest_options( &self ) -> Option<&EncryptionAtRestOptionsStatus>

Key-value pairs to enable encryption at rest.

source

pub fn node_to_node_encryption_options( &self ) -> Option<&NodeToNodeEncryptionOptionsStatus>

Whether node-to-node encryption is enabled or disabled.

source

pub fn advanced_options(&self) -> Option<&AdvancedOptionsStatus>

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

source

pub fn log_publishing_options(&self) -> Option<&LogPublishingOptionsStatus>

Key-value pairs to configure log publishing.

source

pub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptionsStatus>

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

source

pub fn advanced_security_options( &self ) -> Option<&AdvancedSecurityOptionsStatus>

Container for fine-grained access control settings for the domain.

source

pub fn auto_tune_options(&self) -> Option<&AutoTuneOptionsStatus>

Container for Auto-Tune settings for the domain.

source

pub fn change_progress_details(&self) -> Option<&ChangeProgressDetails>

Container for information about the progress of an existing configuration change.

source

pub fn off_peak_window_options(&self) -> Option<&OffPeakWindowOptionsStatus>

Container for off-peak window options for the domain.

source

pub fn software_update_options(&self) -> Option<&SoftwareUpdateOptionsStatus>

Software update options for the domain.

source

pub fn modifying_properties(&self) -> &[ModifyingProperties]

Information about the domain properties that are currently being modified.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .modifying_properties.is_none().

source§

impl DomainConfig

source

pub fn builder() -> DomainConfigBuilder

Creates a new builder-style object to manufacture DomainConfig.

Trait Implementations§

source§

impl Clone for DomainConfig

source§

fn clone(&self) -> DomainConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DomainConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DomainConfig

source§

fn eq(&self, other: &DomainConfig) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DomainConfig

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more