IpAddressType Enum
The IP address type that an accelerator supports.
| Source | aws-globalaccelerator/lib/accelerator.ts |
|---|---|
| Type last changed |
Example
ts
const accelerator = new globalaccelerator.Accelerator(this, 'Accelerator', {
ipAddresses: [
'1.1.1.1',
'2.2.2.2',
],
ipAddressType: globalaccelerator.IpAddressType.IPV4,
});
python
accelerator = globalaccelerator.Accelerator(self, "Accelerator",
ip_addresses=["1.1.1.1", "2.2.2.2"
],
ip_address_type=globalaccelerator.IpAddressType.IPV4
)
java
Accelerator accelerator = Accelerator.Builder.create(this, "Accelerator")
.ipAddresses(List.of("1.1.1.1", "2.2.2.2"))
.ipAddressType(IpAddressType.IPV4)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
var accelerator = new Accelerator(this, "Accelerator", new AcceleratorProps {
IpAddresses = new [] { "1.1.1.1", "2.2.2.2" },
IpAddressType = IpAddressType.IPV4
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
accelerator := globalaccelerator.NewAccelerator(this, jsii.String("Accelerator"), &AcceleratorProps{
IpAddresses: []*string{
jsii.String("1.1.1.1"),
jsii.String("2.2.2.2"),
},
IpAddressType: globalaccelerator.IpAddressType_IPV4,
})
Members
| Member | Description |
|---|---|
IPV4 | IPV4. |
DUAL_STACK | DUAL_STACK. |
Referenced by
AcceleratorProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType