Show / Hide Table of Contents

Class CfnListenerRule.SourceIpConfigProperty

Information about a source IP condition.

Inheritance
System.Object
CfnListenerRule.SourceIpConfigProperty
Implements
CfnListenerRule.ISourceIpConfigProperty
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class SourceIpConfigProperty : Object, CfnListenerRule.ISourceIpConfigProperty
Syntax (vb)
Public Class SourceIpConfigProperty
    Inherits Object
    Implements CfnListenerRule.ISourceIpConfigProperty
Remarks

You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-sourceipconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;

var sourceIpConfigProperty = new SourceIpConfigProperty {
    Values = new [] { "values" }
};

Synopsis

Constructors

SourceIpConfigProperty()

Properties

Values

The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.

Constructors

SourceIpConfigProperty()

public SourceIpConfigProperty()

Properties

Values

The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.

public string[] Values { get; set; }
Property Value

System.String[]

Remarks

If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-sourceipconfig.html#cfn-elasticloadbalancingv2-listenerrule-sourceipconfig-values

Implements

CfnListenerRule.ISourceIpConfigProperty
Back to top Generated by DocFX