com.amazonaws.services.ec2.util

## クラス S3UploadPolicy

- java.lang.Object
- - com.amazonaws.services.ec2.util.S3UploadPolicy

-     public class S3UploadPolicy
      extends java.lang.Object

  This class represents S3 upload policy. Policy string representation and signature to be used within EC2 bundling API.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `S3UploadPolicy(java.lang.String awsAccessKeyId, java.lang.String awsSecretKey, java.lang.String bucketName, java.lang.String prefix, int expireInMinutes)` Creates a new S3 upload policy object from the specified parameters.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getPolicySignature()` Policy signature in base64 format Use signature generated by this method for passing to EC2 bunding calls along with policy.
    `java.lang.String` | `getPolicyString()` Base64 representation of the serialized policy.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### S3UploadPolicy

          public S3UploadPolicy(java.lang.String awsAccessKeyId,
                        java.lang.String awsSecretKey,
                        java.lang.String bucketName,
                        java.lang.String prefix,
                        int expireInMinutes)

      Creates a new S3 upload policy object from the specified parameters. Once constructed, callers can access the policy string and policy signature to use with the EC2 bundling API.
      パラメータ:
        `awsAccessKeyId` - The AWS access key ID for the S3 bucket the bundling artifacts should be stored in.
        `awsSecretKey` - The AWS secret key for the specified access key.
        `bucketName` - The name of the bucket to store the bundling artifacts in.
        `prefix` - The prefix for the bundling artifacts.
        `expireInMinutes` - The number of minutes before the upload policy expires and is unable to be used.

  - ### メソッドの詳細

    - #### getPolicyString

          public java.lang.String getPolicyString()

      Base64 representation of the serialized policy. Use policy generated by this method for passing to EC2 bundling calls.
      戻り値:
        Base64 policy

    - #### getPolicySignature

          public java.lang.String getPolicySignature()

      Policy signature in base64 format Use signature generated by this method for passing to EC2 bunding calls along with policy.
      戻り値:
        Base64 signature