create_proxy
async
¶
create_proxy(
proxy_name: ResourceName,
nat_gateway_id: NatGatewayId,
tls_intercept_properties: TlsInterceptPropertiesRequest,
*,
config_overrides: Optional[AsyncNetworkFirewallClientConfig] = None,
proxy_configuration_name: Optional[ResourceName] = None,
proxy_configuration_arn: Optional[ResourceArn] = None,
listener_properties: Optional[ListenerPropertiesRequest] = None,
tags: Optional[TagList] = None,
) -> CreateProxyResponse
Creates an Network Firewall Proxy
Attaches a Proxy configuration to a NAT Gateway.
To manage a proxy's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.
To retrieve information about proxies, use ListProxies and DescribeProxy.
Parameters:
-
proxy_name(ResourceName) –The descriptive name of the proxy. You can't change the name of a proxy after you create it.
-
nat_gateway_id(NatGatewayId) –A unique identifier for the NAT gateway to use with proxy resources.
-
proxy_configuration_name(Optional[ResourceName], default:None) –The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.
You must specify the ARN or the name, and you can specify both.
-
proxy_configuration_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of a proxy configuration.
You must specify the ARN or the name, and you can specify both.
-
listener_properties(Optional[ListenerPropertiesRequest], default:None) –Listener properties for HTTP and HTTPS traffic.
-
tls_intercept_properties(TlsInterceptPropertiesRequest) –TLS decryption on traffic to filter on attributes in the HTTP header.
-
tags(Optional[TagList], default:None) –The key:value pairs to associate with the resource.
Raises:
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
LimitExceededException–Unable to perform the operation because doing so would violate a limit setting.
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnsupportedOperationException–The operation you requested isn't supported by Network Firewall.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/async_network_firewall.py
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 | |