Skip to content
v2.278.0

SocketAddressProperty Struct ​

The address of the endpoint, such as 192.168.1.1 .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_groundstation as groundstation } from 'aws-cdk-lib';
const socketAddressProperty: groundstation.CfnDataflowEndpointGroup.SocketAddressProperty = {
  name: 'name',
  port: 123,
};
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_groundstation as groundstation

socket_address_property = groundstation.CfnDataflowEndpointGroup.SocketAddressProperty(
    name="name",
    port=123
)
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.groundstation.*;

SocketAddressProperty socketAddressProperty = SocketAddressProperty.builder()
        .name("name")
        .port(123)
        .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.GroundStation;

var socketAddressProperty = new SocketAddressProperty {
    Name = "name",
    Port = 123
};
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"

socketAddressProperty := &SocketAddressProperty{
	Name: jsii.String("name"),
	Port: jsii.Number(123),
}

Properties ​

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the endpoint, such as `Endpoint 1` .
portoptionalnumberportoptionalint | floatportoptionalNumberPortoptionaldoublePortoptional*float64 #
The port of the endpoint, such as `55888` .