interface PoliciesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ElasticLoadBalancing.Mixins.CfnLoadBalancerPropsMixin.PoliciesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awselasticloadbalancing/mixins#CfnLoadBalancerPropsMixin_PoliciesProperty |
Java | software.amazon.awscdk.mixins.preview.services.elasticloadbalancing.mixins.CfnLoadBalancerPropsMixin.PoliciesProperty |
Python | aws_cdk.mixins_preview.aws_elasticloadbalancing.mixins.CfnLoadBalancerPropsMixin.PoliciesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_elasticloadbalancing » mixins » CfnLoadBalancerPropsMixin » PoliciesProperty |
Specifies policies for your Classic Load Balancer.
To associate policies with a listener, use the PolicyNames property for the listener.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as elasticloadbalancing_mixins } from '@aws-cdk/mixins-preview/aws-elasticloadbalancing';
declare const attributes: any;
const policiesProperty: elasticloadbalancing_mixins.CfnLoadBalancerPropsMixin.PoliciesProperty = {
attributes: [attributes],
instancePorts: ['instancePorts'],
loadBalancerPorts: ['loadBalancerPorts'],
policyName: 'policyName',
policyType: 'policyType',
};
Properties
| Name | Type | Description |
|---|---|---|
| attributes? | any[] | IResolvable | The policy attributes. |
| instance | string[] | The instance ports for the policy. |
| load | string[] | The load balancer ports for the policy. |
| policy | string | The name of the policy. |
| policy | string | The name of the policy type. |
attributes?
Type:
any[] | IResolvable
(optional)
The policy attributes.
instancePorts?
Type:
string[]
(optional)
The instance ports for the policy.
Required only for some policy types.
loadBalancerPorts?
Type:
string[]
(optional)
The load balancer ports for the policy.
Required only for some policy types.
policyName?
Type:
string
(optional)
The name of the policy.
policyType?
Type:
string
(optional)
The name of the policy type.

.NET
Go
Java
Python
TypeScript