EndpointProperty
Struct External
An endpoint available for interaction with the scheduler.
| Source | |
|---|---|
| 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_pcs as pcs } from 'aws-cdk-lib';
const endpointProperty: pcs.CfnCluster.EndpointProperty = {
port: 'port',
privateIpAddress: 'privateIpAddress',
type: 'type',
// the properties below are optional
ipv6Address: 'ipv6Address',
publicIpAddress: 'publicIpAddress',
};
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_pcs as pcs
endpoint_property = pcs.CfnCluster.EndpointProperty(
port="port",
private_ip_address="privateIpAddress",
type="type",
# the properties below are optional
ipv6_address="ipv6Address",
public_ip_address="publicIpAddress"
)
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.pcs.*;
EndpointProperty endpointProperty = EndpointProperty.builder()
.port("port")
.privateIpAddress("privateIpAddress")
.type("type")
// the properties below are optional
.ipv6Address("ipv6Address")
.publicIpAddress("publicIpAddress")
.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.PCS;
var endpointProperty = new EndpointProperty {
Port = "port",
PrivateIpAddress = "privateIpAddress",
Type = "type",
// the properties below are optional
Ipv6Address = "ipv6Address",
PublicIpAddress = "publicIpAddress"
};
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"
endpointProperty := &EndpointProperty{
Port: jsii.String("port"),
PrivateIpAddress: jsii.String("privateIpAddress"),
Type: jsii.String("type"),
// the properties below are optional
Ipv6Address: jsii.String("ipv6Address"),
PublicIpAddress: jsii.String("publicIpAddress"),
}
Properties
ipv6Addressoptionalstringipv6_addressoptionalstripv6AddressoptionalStringIpv6AddressoptionalstringIpv6Addressoptional*string #The endpoint's IPv6 address.
Example: 2001:db8::1
The endpoint's connection port number.
Example: 1234
privateIpAddressstringprivate_ip_addressstrprivateIpAddressStringPrivateIpAddressstringPrivateIpAddress*string required #For clusters that use IPv4, this is the endpoint's private IP address.
Example: 10.1.2.3
For clusters configured to use IPv6, this is an empty string.
publicIpAddressoptionalstringpublic_ip_addressoptionalstrpublicIpAddressoptionalStringPublicIpAddressoptionalstringPublicIpAddressoptional*string #The endpoint's public IP address.
Example: 192.0.2.1
Indicates the type of endpoint running at the specific IP address.