create_trust_store
¶
create_trust_store(
*,
config_overrides: Optional[ElasticLoadBalancingv2ClientConfig] = None,
name: Optional[TrustStoreName] = None,
ca_certificates_bundle_s3_bucket: Optional[S3Bucket] = None,
ca_certificates_bundle_s3_key: Optional[S3Key] = None,
ca_certificates_bundle_s3_object_version: Optional[S3ObjectVersion] = None,
tags: Optional[TagList] = None,
) -> CreateTrustStoreOutput
Creates a trust store.
For more information, see Mutual TLS for Application Load Balancers.
Parameters:
-
name(Optional[TrustStoreName], default:None) –The name of the trust store.
This name must be unique per region and can't be changed after creation.
-
ca_certificates_bundle_s3_bucket(Optional[S3Bucket], default:None) –The Amazon S3 bucket for the ca certificates bundle.
-
ca_certificates_bundle_s3_key(Optional[S3Key], default:None) –The Amazon S3 path for the ca certificates bundle.
-
ca_certificates_bundle_s3_object_version(Optional[S3ObjectVersion], default:None) –The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.
-
tags(Optional[TagList], default:None) –The tags to assign to the trust store.
Raises:
-
CaCertificatesBundleNotFoundException–The specified ca certificate bundle does not exist.
-
DuplicateTagKeysException–A tag key was specified more than once.
-
DuplicateTrustStoreNameException–A trust store with the specified name already exists.
-
InvalidCaCertificatesBundleException–The specified ca certificate bundle is in an invalid format, or corrupt.
-
TooManyTagsException–You've reached the limit on the number of tags for this resource.
-
TooManyTrustStoresException–You've reached the limit on the number of trust stores for your Amazon Web Services account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elastic_load_balancing_v2/_services/elastic_load_balancingv2.py
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 1081 1082 1083 | |