Interface CfnDomain.IAdvancedSecurityOptionsInputProperty
Specifies options for fine-grained access control.
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.AWS.Elasticsearch.dll
Syntax (csharp)
public interface IAdvancedSecurityOptionsInputProperty
Syntax (vb)
Public Interface IAdvancedSecurityOptionsInputProperty
Remarks
The AWS::Elasticsearch::Domain
resource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Elasticsearch;
var advancedSecurityOptionsInputProperty = new AdvancedSecurityOptionsInputProperty {
AnonymousAuthEnabled = false,
Enabled = false,
InternalUserDatabaseEnabled = false,
MasterUserOptions = new MasterUserOptionsProperty {
MasterUserArn = "masterUserArn",
MasterUserName = "masterUserName",
MasterUserPassword = "masterUserPassword"
}
};
Synopsis
Properties
AnonymousAuthEnabled |
|
Enabled | True to enable fine-grained access control. |
InternalUserDatabaseEnabled | True to enable the internal user database. |
MasterUserOptions | Specifies information about the master user. |
Properties
AnonymousAuthEnabled
CfnDomain.AdvancedSecurityOptionsInputProperty.AnonymousAuthEnabled
.
virtual object AnonymousAuthEnabled { get; }
Property Value
System.Object
Remarks
Enabled
True to enable fine-grained access control.
virtual object Enabled { get; }
Property Value
System.Object
Remarks
You must also enable encryption of data at rest and node-to-node encryption.
InternalUserDatabaseEnabled
True to enable the internal user database.
virtual object InternalUserDatabaseEnabled { get; }
Property Value
System.Object
Remarks
MasterUserOptions
Specifies information about the master user.
virtual object MasterUserOptions { get; }
Property Value
System.Object