RangedSocketAddressProperty Struct
A socket address with a port range.
| 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_groundstation as groundstation } from 'aws-cdk-lib';
const rangedSocketAddressProperty: groundstation.CfnDataflowEndpointGroup.RangedSocketAddressProperty = {
name: 'name',
portRange: {
maximum: 123,
minimum: 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
ranged_socket_address_property = groundstation.CfnDataflowEndpointGroup.RangedSocketAddressProperty(
name="name",
port_range=groundstation.CfnDataflowEndpointGroup.IntegerRangeProperty(
maximum=123,
minimum=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.*;
RangedSocketAddressProperty rangedSocketAddressProperty = RangedSocketAddressProperty.builder()
.name("name")
.portRange(IntegerRangeProperty.builder()
.maximum(123)
.minimum(123)
.build())
.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 rangedSocketAddressProperty = new RangedSocketAddressProperty {
Name = "name",
PortRange = new IntegerRangeProperty {
Maximum = 123,
Minimum = 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"
rangedSocketAddressProperty := &RangedSocketAddressProperty{
Name: jsii.String("name"),
PortRange: &IntegerRangeProperty{
Maximum: jsii.Number(123),
Minimum: jsii.Number(123),
},
}
Properties
IPv4 socket address.
portRangeoptionalIResolvable | CfnDataflowEndpointGroup.port_rangeoptionaltyping.Union[IResolvable, IntegerRangeProperty]portRangeoptionalIResolvablePortRangeoptionalIResolvablePortRangeoptionalinterface{} #Port range of a socket address.