DomainAttributes Struct
Reference to an Elasticsearch domain.
| Source | aws-elasticsearch/lib/domain.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticsearch as elasticsearch } from 'aws-cdk-lib';
const domainAttributes: elasticsearch.DomainAttributes = {
domainArn: 'domainArn',
domainEndpoint: 'domainEndpoint',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticsearch as elasticsearch
domain_attributes = elasticsearch.DomainAttributes(
domain_arn="domainArn",
domain_endpoint="domainEndpoint"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticsearch.*;
DomainAttributes domainAttributes = DomainAttributes.builder()
.domainArn("domainArn")
.domainEndpoint("domainEndpoint")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 domainAttributes = new DomainAttributes {
DomainArn = "domainArn",
DomainEndpoint = "domainEndpoint"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
domainAttributes := &DomainAttributes{
DomainArn: jsii.String("domainArn"),
DomainEndpoint: jsii.String("domainEndpoint"),
}