awsglobalaccelerator

package
v1.95.2-devpreview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceleratorSecurityGroup_FromVpc

func AcceleratorSecurityGroup_FromVpc(scope awscdk.Construct, id *string, vpc awsec2.IVpc, endpointGroup EndpointGroup) awsec2.ISecurityGroup

Lookup the Global Accelerator security group at CloudFormation deployment time.

As of this writing, Global Accelerators (AGA) create a single security group per VPC. AGA security groups are shared by all AGAs in an account. Additionally, there is no CloudFormation mechanism to reference the AGA security groups.

This makes creating security group rules which allow traffic from an AGA complicated in CDK. This lookup will identify the AGA security group for a given VPC at CloudFormation deployment time, and lets you create rules for traffic from AGA to other resources created by CDK. Experimental.

func Accelerator_IsConstruct

func Accelerator_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func Accelerator_IsResource

func Accelerator_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func CfnAccelerator_CFN_RESOURCE_TYPE_NAME

func CfnAccelerator_CFN_RESOURCE_TYPE_NAME() *string

func CfnAccelerator_IsCfnElement

func CfnAccelerator_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnAccelerator_IsCfnResource

func CfnAccelerator_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnAccelerator_IsConstruct

func CfnAccelerator_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CfnEndpointGroup_CFN_RESOURCE_TYPE_NAME

func CfnEndpointGroup_CFN_RESOURCE_TYPE_NAME() *string

func CfnEndpointGroup_IsCfnElement

func CfnEndpointGroup_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnEndpointGroup_IsCfnResource

func CfnEndpointGroup_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnEndpointGroup_IsConstruct

func CfnEndpointGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func CfnListener_CFN_RESOURCE_TYPE_NAME

func CfnListener_CFN_RESOURCE_TYPE_NAME() *string

func CfnListener_IsCfnElement

func CfnListener_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.

func CfnListener_IsCfnResource

func CfnListener_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource. Experimental.

func CfnListener_IsConstruct

func CfnListener_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func EndpointConfiguration_IsConstruct

func EndpointConfiguration_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func EndpointGroup_IsConstruct

func EndpointGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func EndpointGroup_IsResource

func EndpointGroup_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func Listener_IsConstruct

func Listener_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct. Experimental.

func Listener_IsResource

func Listener_IsResource(construct awscdk.IConstruct) *bool

Check whether the given construct is a Resource. Experimental.

func NewAccelerator_Override

func NewAccelerator_Override(a Accelerator, scope constructs.Construct, id *string, props *AcceleratorProps)

Experimental.

func NewCfnAccelerator_Override

func NewCfnAccelerator_Override(c CfnAccelerator, scope awscdk.Construct, id *string, props *CfnAcceleratorProps)

Create a new `AWS::GlobalAccelerator::Accelerator`.

func NewCfnEndpointGroup_Override

func NewCfnEndpointGroup_Override(c CfnEndpointGroup, scope awscdk.Construct, id *string, props *CfnEndpointGroupProps)

Create a new `AWS::GlobalAccelerator::EndpointGroup`.

func NewCfnListener_Override

func NewCfnListener_Override(c CfnListener, scope awscdk.Construct, id *string, props *CfnListenerProps)

Create a new `AWS::GlobalAccelerator::Listener`.

func NewEndpointConfiguration_Override

func NewEndpointConfiguration_Override(e EndpointConfiguration, scope constructs.Construct, id *string, props *EndpointConfigurationProps)

Experimental.

func NewEndpointGroup_Override

func NewEndpointGroup_Override(e EndpointGroup, scope constructs.Construct, id *string, props *EndpointGroupProps)

Experimental.

func NewListener_Override

func NewListener_Override(l Listener, scope constructs.Construct, id *string, props *ListenerProps)

Experimental.

Types

type Accelerator

type Accelerator interface {
	awscdk.Resource
	IAccelerator
	AcceleratorArn() *string
	DnsName() *string
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

The Accelerator construct. Experimental.

func NewAccelerator

func NewAccelerator(scope constructs.Construct, id *string, props *AcceleratorProps) Accelerator

Experimental.

type AcceleratorAttributes

type AcceleratorAttributes struct {
	// The ARN of the accelerator.
	// Experimental.
	AcceleratorArn *string `json:"acceleratorArn"`
	// The DNS name of the accelerator.
	// Experimental.
	DnsName *string `json:"dnsName"`
}

Attributes required to import an existing accelerator to the stack. Experimental.

type AcceleratorProps

type AcceleratorProps struct {
	// The name of the accelerator.
	// Experimental.
	AcceleratorName *string `json:"acceleratorName"`
	// Indicates whether the accelerator is enabled.
	// Experimental.
	Enabled *bool `json:"enabled"`
}

Construct properties of the Accelerator. Experimental.

type AcceleratorSecurityGroup

type AcceleratorSecurityGroup interface {
}

The security group used by a Global Accelerator to send traffic to resources in a VPC. Experimental.

type CfnAccelerator

type CfnAccelerator interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrAcceleratorArn() *string
	AttrDnsName() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	Enabled() interface{}
	SetEnabled(val interface{})
	IpAddresses() *[]*string
	SetIpAddresses(val *[]*string)
	IpAddressType() *string
	SetIpAddressType(val *string)
	LogicalId() *string
	Name() *string
	SetName(val *string)
	Node() awscdk.ConstructNode
	Ref() *string
	Stack() awscdk.Stack
	Tags() awscdk.TagManager
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::GlobalAccelerator::Accelerator`.

func NewCfnAccelerator

func NewCfnAccelerator(scope awscdk.Construct, id *string, props *CfnAcceleratorProps) CfnAccelerator

Create a new `AWS::GlobalAccelerator::Accelerator`.

type CfnAcceleratorProps

type CfnAcceleratorProps struct {
	// `AWS::GlobalAccelerator::Accelerator.Name`.
	Name *string `json:"name"`
	// `AWS::GlobalAccelerator::Accelerator.Enabled`.
	Enabled interface{} `json:"enabled"`
	// `AWS::GlobalAccelerator::Accelerator.IpAddresses`.
	IpAddresses *[]*string `json:"ipAddresses"`
	// `AWS::GlobalAccelerator::Accelerator.IpAddressType`.
	IpAddressType *string `json:"ipAddressType"`
	// `AWS::GlobalAccelerator::Accelerator.Tags`.
	Tags *[]*awscdk.CfnTag `json:"tags"`
}

Properties for defining a `AWS::GlobalAccelerator::Accelerator`.

type CfnEndpointGroup

type CfnEndpointGroup interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrEndpointGroupArn() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	CreationStack() *[]*string
	EndpointConfigurations() interface{}
	SetEndpointConfigurations(val interface{})
	EndpointGroupRegion() *string
	SetEndpointGroupRegion(val *string)
	HealthCheckIntervalSeconds() *float64
	SetHealthCheckIntervalSeconds(val *float64)
	HealthCheckPath() *string
	SetHealthCheckPath(val *string)
	HealthCheckPort() *float64
	SetHealthCheckPort(val *float64)
	HealthCheckProtocol() *string
	SetHealthCheckProtocol(val *string)
	ListenerArn() *string
	SetListenerArn(val *string)
	LogicalId() *string
	Node() awscdk.ConstructNode
	PortOverrides() interface{}
	SetPortOverrides(val interface{})
	Ref() *string
	Stack() awscdk.Stack
	ThresholdCount() *float64
	SetThresholdCount(val *float64)
	TrafficDialPercentage() *float64
	SetTrafficDialPercentage(val *float64)
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::GlobalAccelerator::EndpointGroup`.

func NewCfnEndpointGroup

func NewCfnEndpointGroup(scope awscdk.Construct, id *string, props *CfnEndpointGroupProps) CfnEndpointGroup

Create a new `AWS::GlobalAccelerator::EndpointGroup`.

type CfnEndpointGroupProps

type CfnEndpointGroupProps struct {
	// `AWS::GlobalAccelerator::EndpointGroup.EndpointGroupRegion`.
	EndpointGroupRegion *string `json:"endpointGroupRegion"`
	// `AWS::GlobalAccelerator::EndpointGroup.ListenerArn`.
	ListenerArn *string `json:"listenerArn"`
	// `AWS::GlobalAccelerator::EndpointGroup.EndpointConfigurations`.
	EndpointConfigurations interface{} `json:"endpointConfigurations"`
	// `AWS::GlobalAccelerator::EndpointGroup.HealthCheckIntervalSeconds`.
	HealthCheckIntervalSeconds *float64 `json:"healthCheckIntervalSeconds"`
	// `AWS::GlobalAccelerator::EndpointGroup.HealthCheckPath`.
	HealthCheckPath *string `json:"healthCheckPath"`
	// `AWS::GlobalAccelerator::EndpointGroup.HealthCheckPort`.
	HealthCheckPort *float64 `json:"healthCheckPort"`
	// `AWS::GlobalAccelerator::EndpointGroup.HealthCheckProtocol`.
	HealthCheckProtocol *string `json:"healthCheckProtocol"`
	// `AWS::GlobalAccelerator::EndpointGroup.PortOverrides`.
	PortOverrides interface{} `json:"portOverrides"`
	// `AWS::GlobalAccelerator::EndpointGroup.ThresholdCount`.
	ThresholdCount *float64 `json:"thresholdCount"`
	// `AWS::GlobalAccelerator::EndpointGroup.TrafficDialPercentage`.
	TrafficDialPercentage *float64 `json:"trafficDialPercentage"`
}

Properties for defining a `AWS::GlobalAccelerator::EndpointGroup`.

type CfnEndpointGroup_EndpointConfigurationProperty

type CfnEndpointGroup_EndpointConfigurationProperty struct {
	// `CfnEndpointGroup.EndpointConfigurationProperty.EndpointId`.
	EndpointId *string `json:"endpointId"`
	// `CfnEndpointGroup.EndpointConfigurationProperty.ClientIPPreservationEnabled`.
	ClientIpPreservationEnabled interface{} `json:"clientIpPreservationEnabled"`
	// `CfnEndpointGroup.EndpointConfigurationProperty.Weight`.
	Weight *float64 `json:"weight"`
}

type CfnEndpointGroup_PortOverrideProperty

type CfnEndpointGroup_PortOverrideProperty struct {
	// `CfnEndpointGroup.PortOverrideProperty.EndpointPort`.
	EndpointPort *float64 `json:"endpointPort"`
	// `CfnEndpointGroup.PortOverrideProperty.ListenerPort`.
	ListenerPort *float64 `json:"listenerPort"`
}

type CfnListener

type CfnListener interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AcceleratorArn() *string
	SetAcceleratorArn(val *string)
	AttrListenerArn() *string
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	CfnResourceType() *string
	ClientAffinity() *string
	SetClientAffinity(val *string)
	CreationStack() *[]*string
	LogicalId() *string
	Node() awscdk.ConstructNode
	PortRanges() interface{}
	SetPortRanges(val interface{})
	Protocol() *string
	SetProtocol(val *string)
	Ref() *string
	Stack() awscdk.Stack
	UpdatedProperites() *map[string]interface{}
	AddDeletionOverride(path *string)
	AddDependsOn(target awscdk.CfnResource)
	AddMetadata(key *string, value interface{})
	AddOverride(path *string, value interface{})
	AddPropertyDeletionOverride(propertyPath *string)
	AddPropertyOverride(propertyPath *string, value interface{})
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	GetAtt(attributeName *string) awscdk.Reference
	GetMetadata(key *string) interface{}
	Inspect(inspector awscdk.TreeInspector)
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	OverrideLogicalId(newLogicalId *string)
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	ShouldSynthesize() *bool
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::GlobalAccelerator::Listener`.

func NewCfnListener

func NewCfnListener(scope awscdk.Construct, id *string, props *CfnListenerProps) CfnListener

Create a new `AWS::GlobalAccelerator::Listener`.

type CfnListenerProps

type CfnListenerProps struct {
	// `AWS::GlobalAccelerator::Listener.AcceleratorArn`.
	AcceleratorArn *string `json:"acceleratorArn"`
	// `AWS::GlobalAccelerator::Listener.PortRanges`.
	PortRanges interface{} `json:"portRanges"`
	// `AWS::GlobalAccelerator::Listener.Protocol`.
	Protocol *string `json:"protocol"`
	// `AWS::GlobalAccelerator::Listener.ClientAffinity`.
	ClientAffinity *string `json:"clientAffinity"`
}

Properties for defining a `AWS::GlobalAccelerator::Listener`.

type CfnListener_PortRangeProperty

type CfnListener_PortRangeProperty struct {
	// `CfnListener.PortRangeProperty.FromPort`.
	FromPort *float64 `json:"fromPort"`
	// `CfnListener.PortRangeProperty.ToPort`.
	ToPort *float64 `json:"toPort"`
}

type ClientAffinity

type ClientAffinity string

Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request.

Client affinity gives you control over whether to always route each client to the same specific endpoint. If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP. See: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-listeners.html#about-listeners-client-affinity

Experimental.

const (
	ClientAffinity_NONE      ClientAffinity = "NONE"
	ClientAffinity_SOURCE_IP ClientAffinity = "SOURCE_IP"
)

type ConnectionProtocol

type ConnectionProtocol string

The protocol for the connections from clients to the accelerator. Experimental.

const (
	ConnectionProtocol_TCP ConnectionProtocol = "TCP"
	ConnectionProtocol_UDP ConnectionProtocol = "UDP"
)

type Ec2Instance

type Ec2Instance struct {
	// The id of the instance resource.
	// Experimental.
	InstanceId *string `json:"instanceId"`
}

EC2 Instance interface. Experimental.

type ElasticIpAddress

type ElasticIpAddress struct {
	// allocation ID of the EIP resoruce.
	// Experimental.
	AttrAllocationId *string `json:"attrAllocationId"`
}

EIP Interface. Experimental.

type EndpointConfiguration

type EndpointConfiguration interface {
	awscdk.Construct
	Node() awscdk.ConstructNode
	Props() *EndpointConfigurationProps
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	RenderEndpointConfiguration() *CfnEndpointGroup_EndpointConfigurationProperty
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

The class for endpoint configuration. Experimental.

func NewEndpointConfiguration

func NewEndpointConfiguration(scope constructs.Construct, id *string, props *EndpointConfigurationProps) EndpointConfiguration

Experimental.

type EndpointConfigurationOptions

type EndpointConfigurationOptions struct {
	// Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.
	// Experimental.
	ClientIpReservation *bool `json:"clientIpReservation"`
	// The weight associated with the endpoint.
	//
	// When you add weights to endpoints, you configure AWS Global Accelerator
	// to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5,
	// 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is
	// routed both to the second and third endpoints, and 6/20 is routed to the last endpoint.
	// See: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
	//
	// Experimental.
	Weight *float64 `json:"weight"`
}

Options for `addLoadBalancer`, `addElasticIpAddress` and `addEc2Instance` to add endpoints into the endpoint group. Experimental.

type EndpointConfigurationProps

type EndpointConfigurationProps struct {
	// Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.
	// Experimental.
	ClientIpReservation *bool `json:"clientIpReservation"`
	// The weight associated with the endpoint.
	//
	// When you add weights to endpoints, you configure AWS Global Accelerator
	// to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5,
	// 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is
	// routed both to the second and third endpoints, and 6/20 is routed to the last endpoint.
	// See: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
	//
	// Experimental.
	Weight *float64 `json:"weight"`
	// The endopoint group reesource.
	//
	// [disable-awslint:ref-via-interface]
	// Experimental.
	EndpointGroup EndpointGroup `json:"endpointGroup"`
	// An ID for the endpoint.
	//
	// If the endpoint is a Network Load Balancer or Application Load Balancer,
	// this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address,
	// this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID.
	// Experimental.
	EndpointId *string `json:"endpointId"`
}

Properties to create EndpointConfiguration. Experimental.

type EndpointGroup

type EndpointGroup interface {
	awscdk.Resource
	IEndpointGroup
	EndpointGroupArn() *string
	EndpointGroupName() *string
	Endpoints() *[]EndpointConfiguration
	Env() *awscdk.ResourceEnvironment
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	AddEc2Instance(id *string, instance *Ec2Instance, props *EndpointConfigurationOptions) EndpointConfiguration
	AddElasticIpAddress(id *string, eip *ElasticIpAddress, props *EndpointConfigurationOptions) EndpointConfiguration
	AddEndpoint(id *string, endpointId *string, props *EndpointConfigurationOptions) EndpointConfiguration
	AddLoadBalancer(id *string, lb *LoadBalancer, props *EndpointConfigurationOptions) EndpointConfiguration
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

EndpointGroup construct. Experimental.

func NewEndpointGroup

func NewEndpointGroup(scope constructs.Construct, id *string, props *EndpointGroupProps) EndpointGroup

Experimental.

type EndpointGroupProps

type EndpointGroupProps struct {
	// The Amazon Resource Name (ARN) of the listener.
	// Experimental.
	Listener IListener `json:"listener"`
	// Name of the endpoint group.
	// Experimental.
	EndpointGroupName *string `json:"endpointGroupName"`
	// The AWS Region where the endpoint group is located.
	// Experimental.
	Region *string `json:"region"`
}

Property of the EndpointGroup. Experimental.

type IAccelerator

type IAccelerator interface {
	awscdk.IResource
	// The ARN of the accelerator.
	// Experimental.
	AcceleratorArn() *string
	// The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses.
	// Experimental.
	DnsName() *string
}

The interface of the Accelerator. Experimental.

func Accelerator_FromAcceleratorAttributes

func Accelerator_FromAcceleratorAttributes(scope constructs.Construct, id *string, attrs *AcceleratorAttributes) IAccelerator

import from attributes. Experimental.

type IEndpointGroup

type IEndpointGroup interface {
	awscdk.IResource
	// EndpointGroup ARN.
	// Experimental.
	EndpointGroupArn() *string
}

The interface of the EndpointGroup. Experimental.

func EndpointGroup_FromEndpointGroupArn

func EndpointGroup_FromEndpointGroupArn(scope constructs.Construct, id *string, endpointGroupArn *string) IEndpointGroup

import from ARN. Experimental.

type IListener

type IListener interface {
	awscdk.IResource
	// The ARN of the listener.
	// Experimental.
	ListenerArn() *string
}

Interface of the Listener. Experimental.

func Listener_FromListenerArn

func Listener_FromListenerArn(scope constructs.Construct, id *string, listenerArn *string) IListener

import from ARN. Experimental.

type Listener

type Listener interface {
	awscdk.Resource
	IListener
	Env() *awscdk.ResourceEnvironment
	ListenerArn() *string
	ListenerName() *string
	Node() awscdk.ConstructNode
	PhysicalName() *string
	Stack() awscdk.Stack
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
	GeneratePhysicalName() *string
	GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
	GetResourceNameAttribute(nameAttr *string) *string
	OnPrepare()
	OnSynthesize(session constructs.ISynthesisSession)
	OnValidate() *[]*string
	Prepare()
	Synthesize(session awscdk.ISynthesisSession)
	ToString() *string
	Validate() *[]*string
}

The construct for the Listener. Experimental.

func NewListener

func NewListener(scope constructs.Construct, id *string, props *ListenerProps) Listener

Experimental.

type ListenerProps

type ListenerProps struct {
	// The accelerator for this listener.
	// Experimental.
	Accelerator IAccelerator `json:"accelerator"`
	// The list of port ranges for the connections from clients to the accelerator.
	// Experimental.
	PortRanges *[]*PortRange `json:"portRanges"`
	// Client affinity to direct all requests from a user to the same endpoint.
	// Experimental.
	ClientAffinity ClientAffinity `json:"clientAffinity"`
	// Name of the listener.
	// Experimental.
	ListenerName *string `json:"listenerName"`
	// The protocol for the connections from clients to the accelerator.
	// Experimental.
	Protocol ConnectionProtocol `json:"protocol"`
}

construct properties for Listener. Experimental.

type LoadBalancer

type LoadBalancer struct {
	// The ARN of this load balancer.
	// Experimental.
	LoadBalancerArn *string `json:"loadBalancerArn"`
}

LoadBalancer Interface. Experimental.

type PortRange

type PortRange struct {
	// The first port in the range of ports, inclusive.
	// Experimental.
	FromPort *float64 `json:"fromPort"`
	// The last port in the range of ports, inclusive.
	// Experimental.
	ToPort *float64 `json:"toPort"`
}

The list of port ranges for the connections from clients to the accelerator. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL