AWS Doc SDK Examples
翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
RemoveListenerCertificates
で を使用する CLI
以下のコード例は、RemoveListenerCertificates
の使用方法を示しています。
- CLI
-
- AWS CLI
-
セキュアリスナーから証明書を削除するには
この例では、指定された証明書を指定されたセキュアリスナーから削除します。
コマンド:
aws elbv2 remove-listener-certificates --listener-arn
arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2
--certificatesCertificateArn=arn:aws:acm:us-west-2:123456789012:certificate/5cc54884-f4a3-4072-80be-05b9ba72f705
-
API 詳細については、AWS CLI 「 コマンドリファレンスRemoveListenerCertificates
」の「」を参照してください。
-
- PowerShell
-
- のツール PowerShell
-
例 1: この例では、指定されたターゲットグループから指定された証明書を削除します。
Remove-ELB2ListenerCertificate -Certificate @{CertificateArn = 'arn:aws:acm:us-east-1:123456789012:certificate/19478bd5-491d-47d4-b1d7-5217feba1d97'} -ListenerArn 'arn:aws:elasticloadbalancing:us-east-1:123456789012:listener/app/test-alb/3651b4394dd9a24f/3873f123b98f7618'
出力:
Confirm Are you sure you want to perform this action? Performing the operation "Remove-ELB2ListenerCertificate (RemoveListenerCertificates)" on target "arn:aws:elasticloadbalancing:us-east-1:123456789012:listener/app/test-alb/3651b4394dd9a24f/3873f123b98f7618". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
-
API 詳細については、「 コマンドレットリファレンスRemoveListenerCertificates」の「」を参照してください。 AWS Tools for PowerShell
-
RegisterTargets
RemoveTags