Skip to content

ModifyVpcEndpointRequest

Source code in docs_src/capo_ec2/types/modify_vpc_endpoint_request.py
class ModifyVpcEndpointRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    vpc_endpoint_id: NotRequired["capo_ec2.types.vpc_endpoint_id.VpcEndpointId"]
    """<p>The ID of the endpoint.</p>"""
    reset_policy: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>(Gateway endpoint) Specify <code>true</code> to reset the policy document to the default policy. The default policy allows full access to the service.</p>"""
    policy_document: NotRequired["capo_ec2.types.string.String"]
    """<p>(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.</p>"""
    add_route_table_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_route_table_id_list.VpcEndpointRouteTableIdList"
    ]
    """<p>(Gateway endpoint) The IDs of the route tables to associate with the endpoint.</p>"""
    remove_route_table_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_route_table_id_list.VpcEndpointRouteTableIdList"
    ]
    """<p>(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.</p>"""
    add_subnet_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_subnet_id_list.VpcEndpointSubnetIdList"
    ]
    """<p>(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.</p>"""
    remove_subnet_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_subnet_id_list.VpcEndpointSubnetIdList"
    ]
    """<p>(Interface endpoint) The IDs of the subnets from which to remove the endpoint.</p>"""
    add_security_group_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_security_group_id_list.VpcEndpointSecurityGroupIdList"
    ]
    """<p>(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.</p>"""
    remove_security_group_ids: NotRequired[
        "capo_ec2.types.vpc_endpoint_security_group_id_list.VpcEndpointSecurityGroupIdList"
    ]
    """<p>(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.</p>"""
    ip_address_type: NotRequired["capo_ec2.types.ip_address_type.IpAddressType"]
    """<p>The IP address type for the endpoint.</p>"""
    dns_options: NotRequired[
        "capo_ec2.types.dns_options_specification.DnsOptionsSpecification"
    ]
    """<p>The DNS options for the endpoint.</p>"""
    private_dns_enabled: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.</p>"""
    subnet_configurations: NotRequired[
        "capo_ec2.types.subnet_configurations_list.SubnetConfigurationsList"
    ]
    """<p>The subnet configurations for the endpoint.</p>"""

add_route_table_ids instance-attribute

add_route_table_ids: NotRequired[VpcEndpointRouteTableIdList]

(Gateway endpoint) The IDs of the route tables to associate with the endpoint.

add_security_group_ids instance-attribute

add_security_group_ids: NotRequired[VpcEndpointSecurityGroupIdList]

(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.

add_subnet_ids instance-attribute

add_subnet_ids: NotRequired[VpcEndpointSubnetIdList]

(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

dns_options instance-attribute

dns_options: NotRequired[DnsOptionsSpecification]

The DNS options for the endpoint.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ip_address_type instance-attribute

ip_address_type: NotRequired[IpAddressType]

The IP address type for the endpoint.

policy_document instance-attribute

policy_document: NotRequired[String]

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.

private_dns_enabled instance-attribute

private_dns_enabled: NotRequired[Boolean]

(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.

remove_route_table_ids instance-attribute

remove_route_table_ids: NotRequired[VpcEndpointRouteTableIdList]

(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.

remove_security_group_ids instance-attribute

remove_security_group_ids: NotRequired[VpcEndpointSecurityGroupIdList]

(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.

remove_subnet_ids instance-attribute

remove_subnet_ids: NotRequired[VpcEndpointSubnetIdList]

(Interface endpoint) The IDs of the subnets from which to remove the endpoint.

reset_policy instance-attribute

reset_policy: NotRequired[Boolean]

(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.

subnet_configurations instance-attribute

subnet_configurations: NotRequired[SubnetConfigurationsList]

The subnet configurations for the endpoint.

vpc_endpoint_id instance-attribute

vpc_endpoint_id: NotRequired[VpcEndpointId]

The ID of the endpoint.