CfnVPCEndpointServiceProps

class aws_cdk.aws_ec2.CfnVPCEndpointServiceProps(*, acceptance_required=None, gateway_load_balancer_arns=None, network_load_balancer_arns=None, payer_responsibility=None)

Bases: object

Properties for defining a CfnVPCEndpointService.

Parameters
  • acceptance_required (Union[bool, IResolvable, None]) – Indicates whether requests from service consumers to create an endpoint to your service must be accepted.

  • gateway_load_balancer_arns (Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

  • network_load_balancer_arns (Optional[Sequence[str]]) – The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

  • payer_responsibility (Optional[str]) – The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_vPCEndpoint_service_props = ec2.CfnVPCEndpointServiceProps(
    acceptance_required=False,
    gateway_load_balancer_arns=["gatewayLoadBalancerArns"],
    network_load_balancer_arns=["networkLoadBalancerArns"],
    payer_responsibility="payerResponsibility"
)

Attributes

acceptance_required

Indicates whether requests from service consumers to create an endpoint to your service must be accepted.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-acceptancerequired

Return type

Union[bool, IResolvable, None]

gateway_load_balancer_arns

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-gatewayloadbalancerarns

Return type

Optional[List[str]]

network_load_balancer_arns

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-networkloadbalancerarns

Return type

Optional[List[str]]

payer_responsibility

The entity that is responsible for the endpoint costs.

The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-payerresponsibility

Return type

Optional[str]