Class MediaPackageV2OriginAccessControl
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.cloudfront.MediaPackageV2OriginAccessControl
- All Implemented Interfaces:
IOriginAccessControlRef,IEnvironmentAware,IResource,IOriginAccessControl,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-13T16:55:05.079Z")
@Stability(Stable)
public class MediaPackageV2OriginAccessControl
extends Resource
implements IOriginAccessControl
An Origin Access Control for AWS Elemental MediaPackage V2 origins.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
Signing signing;
MediaPackageV2OriginAccessControl mediaPackageV2OriginAccessControl = MediaPackageV2OriginAccessControl.Builder.create(this, "MyMediaPackageV2OriginAccessControl")
.description("description")
.originAccessControlName("originAccessControlName")
.signing(signing)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forMediaPackageV2OriginAccessControl.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IOriginAccessControl
IOriginAccessControl.Jsii$Default, IOriginAccessControl.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMediaPackageV2OriginAccessControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedMediaPackageV2OriginAccessControl(software.amazon.jsii.JsiiObjectRef objRef) MediaPackageV2OriginAccessControl(software.constructs.Construct scope, String id) MediaPackageV2OriginAccessControl(software.constructs.Construct scope, String id, MediaPackageV2OriginAccessControlProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IOriginAccessControlfromOriginAccessControlId(software.constructs.Construct scope, String id, String originAccessControlId) Imports a MediaPackage V2 origin access control from its id.The unique identifier of this Origin Access Control.A reference to a OriginAccessControl resource.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
MediaPackageV2OriginAccessControl
protected MediaPackageV2OriginAccessControl(software.amazon.jsii.JsiiObjectRef objRef) -
MediaPackageV2OriginAccessControl
protected MediaPackageV2OriginAccessControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
MediaPackageV2OriginAccessControl
@Stability(Stable) public MediaPackageV2OriginAccessControl(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable MediaPackageV2OriginAccessControlProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
MediaPackageV2OriginAccessControl
@Stability(Stable) public MediaPackageV2OriginAccessControl(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromOriginAccessControlId
@Stability(Stable) @NotNull public static IOriginAccessControl fromOriginAccessControlId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String originAccessControlId) Imports a MediaPackage V2 origin access control from its id.- Parameters:
scope- This parameter is required.id- This parameter is required.originAccessControlId- This parameter is required.
-
getOriginAccessControlId
The unique identifier of this Origin Access Control.- Specified by:
getOriginAccessControlIdin interfaceIOriginAccessControl
-
getOriginAccessControlRef
A reference to a OriginAccessControl resource.- Specified by:
getOriginAccessControlRefin interfaceIOriginAccessControlRef
-