| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront |
|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
CookiesForCustomPolicy |
CloudFrontUtilities.getCookiesForCustomPolicy(Consumer<CustomSignerRequest.Builder> request)
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
SignedUrl |
CloudFrontUtilities.getSignedUrlWithCustomPolicy(Consumer<CustomSignerRequest.Builder> request)
Returns a signed URL that provides tailored access to private content
based on an access time window and an ip range.
|
| Modifier and Type | Method and Description |
|---|---|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.activeDate(Instant activeDate)
Configure the active date of the signed URL or signed cookie - for custom policies (optional field)
|
static CustomSignerRequest.Builder |
CustomSignerRequest.builder()
Create a builder that can be used to create a
CustomSignerRequest |
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.expirationDate(Instant expirationDate)
Configure the expiration date of the signed URL or signed cookie
|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.ipRange(String ipRange)
Configure the IP range of the signed URL or signed cookie - for custom policies (optional field)
|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.keyPairId(String keyPairId)
Configure the ID of the key pair stored in the AWS account
|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.privateKey(Path keyFile)
Configure the private key to be used to sign the policy.
|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.privateKey(PrivateKey privateKey)
Configure the private key to be used to sign the policy.
|
CustomSignerRequest.Builder |
CustomSignerRequest.Builder.resourceUrl(String resourceUrl)
Configure the resource URL to be signed
|
CustomSignerRequest.Builder |
CustomSignerRequest.toBuilder() |
Copyright © 2023. All rights reserved.