View a markdown version of this page

CLI로 DeleteBucketEncryption 사용 - Amazon Simple Storage Service

CLI로 DeleteBucketEncryption 사용

다음 코드 예시는 DeleteBucketEncryption의 사용 방법을 보여 줍니다.

CLI
AWS CLI

버킷의 서버 측 암호화 구성을 삭제하려면

다음 delete-bucket-encryption 예시에서는 지정된 버킷의 서버 측 암호화 구성을 삭제합니다.

aws s3api delete-bucket-encryption \ --bucket amzn-s3-demo-bucket

이 명령은 출력을 생성하지 않습니다.

PowerShell
Tools for PowerShell V4

예시 1: 이렇게 하면 제공된 S3 버킷에 대해 활성화된 암호화가 비활성화됩니다.

Remove-S3BucketEncryption -BucketName 'amzn-s3-demo-bucket'

출력:

Confirm Are you sure you want to perform this action? Performing the operation "Remove-S3BucketEncryption (DeleteBucketEncryption)" on target "s3casetestbucket". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
  • API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V4)DeleteBucketEncryption을 참조하세요.

Tools for PowerShell V5

예시 1: 이렇게 하면 제공된 S3 버킷에 대해 활성화된 암호화가 비활성화됩니다.

Remove-S3BucketEncryption -BucketName 'amzn-s3-demo-bucket'

출력:

Confirm Are you sure you want to perform this action? Performing the operation "Remove-S3BucketEncryption (DeleteBucketEncryption)" on target "s3casetestbucket". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
  • API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V5)DeleteBucketEncryption을 참조하세요.

AWS SDK 개발자 가이드 및 코드 예제의 전체 목록은 AWS SDK를 사용하여 Amazon S3에서 개발을 참조하세요. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.