OriginAccessControlBaseProps

class aws_cdk.aws_cloudfront.OriginAccessControlBaseProps(*, description=None, origin_access_control_name=None, signing=None)

Bases: object

Common properties for creating a Origin Access Control resource.

Parameters:
  • description (Optional[str]) – A description of the origin access control. Default: - no description

  • origin_access_control_name (Optional[str]) – A name to identify the origin access control, with a maximum length of 64 characters. Default: - a generated name

  • signing (Optional[Signing]) – Specifies which requests CloudFront signs and the signing protocol. Default: SIGV4_ALWAYS

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

# signing: cloudfront.Signing

origin_access_control_base_props = cloudfront.OriginAccessControlBaseProps(
    description="description",
    origin_access_control_name="originAccessControlName",
    signing=signing
)

Attributes

description

A description of the origin access control.

Default:
  • no description

origin_access_control_name

A name to identify the origin access control, with a maximum length of 64 characters.

Default:
  • a generated name

signing

Specifies which requests CloudFront signs and the signing protocol.

Default:

SIGV4_ALWAYS

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originaccesscontrol-originaccesscontrolconfig.html#cfn-cloudfront-originaccesscontrol-originaccesscontrolconfig-signingbehavior