interface MasterUserOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.OpenSearchService.CfnDomain.MasterUserOptionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsopensearchservice#CfnDomain_MasterUserOptionsProperty |
![]() | software.amazon.awscdk.services.opensearchservice.CfnDomain.MasterUserOptionsProperty |
![]() | aws_cdk.aws_opensearchservice.CfnDomain.MasterUserOptionsProperty |
![]() | aws-cdk-lib » aws_opensearchservice » CfnDomain » MasterUserOptionsProperty |
Specifies information about the master user.
Required if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptions .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchservice as opensearchservice } from 'aws-cdk-lib';
const masterUserOptionsProperty: opensearchservice.CfnDomain.MasterUserOptionsProperty = {
masterUserArn: 'masterUserArn',
masterUserName: 'masterUserName',
masterUserPassword: 'masterUserPassword',
};
Properties
Name | Type | Description |
---|---|---|
master | string | Amazon Resource Name (ARN) for the master user. |
master | string | Username for the master user. Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptionsInput . |
master | string | Password for the master user. Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptionsInput . |
masterUserArn?
Type:
string
(optional)
Amazon Resource Name (ARN) for the master user.
The ARN can point to an IAM user or role. This property is required for Amazon Cognito to work, and it must match the role configured for Cognito. Only specify if InternalUserDatabaseEnabled
is false in AdvancedSecurityOptionsInput .
masterUserName?
Type:
string
(optional)
Username for the master user. Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptionsInput .
If you don't want to specify this value directly within the template, you can use a dynamic reference instead.
masterUserPassword?
Type:
string
(optional)
Password for the master user. Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptionsInput .
If you don't want to specify this value directly within the template, you can use a dynamic reference instead.