interface OriginAccessControlBaseProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.OriginAccessControlBaseProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#OriginAccessControlBaseProps |
Java | software.amazon.awscdk.services.cloudfront.OriginAccessControlBaseProps |
Python | aws_cdk.aws_cloudfront.OriginAccessControlBaseProps |
TypeScript (source) | aws-cdk-lib » aws_cloudfront » OriginAccessControlBaseProps |
Common properties for creating a Origin Access Control resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
declare const signing: cloudfront.Signing;
const originAccessControlBaseProps: cloudfront.OriginAccessControlBaseProps = {
description: 'description',
originAccessControlName: 'originAccessControlName',
signing: signing,
};
Properties
Name | Type | Description |
---|---|---|
description? | string | A description of the origin access control. |
origin | string | A name to identify the origin access control, with a maximum length of 64 characters. |
signing? | Signing | Specifies which requests CloudFront signs and the signing protocol. |
description?
Type:
string
(optional, default: no description)
A description of the origin access control.
originAccessControlName?
Type:
string
(optional, default: a generated name)
A name to identify the origin access control, with a maximum length of 64 characters.
signing?
Type:
Signing
(optional, default: SIGV4_ALWAYS)
Specifies which requests CloudFront signs and the signing protocol.