Class CfnOriginEndpointPolicy
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpointPolicy
- All Implemented Interfaces:
IInspectable,IOriginEndpointPolicyRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:43.741Z")
@Stability(Stable)
public class CfnOriginEndpointPolicy
extends CfnResource
implements IInspectable, IOriginEndpointPolicyRef
Specifies the configuration parameters of a policy associated with a MediaPackage V2 origin endpoint.
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.mediapackagev2.*;
Object policy;
CfnOriginEndpointPolicy cfnOriginEndpointPolicy = CfnOriginEndpointPolicy.Builder.create(this, "MyCfnOriginEndpointPolicy")
.channelGroupName("channelGroupName")
.channelName("channelName")
.originEndpointName("originEndpointName")
.policy(policy)
// the properties below are optional
.cdnAuthConfiguration(CdnAuthConfigurationProperty.builder()
.cdnIdentifierSecretArns(List.of("cdnIdentifierSecretArns"))
.secretsRoleArn("secretsRoleArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOriginEndpointPolicy.static interfaceThe settings to enable CDN authorization headers in MediaPackage.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediapackagev2.IOriginEndpointPolicyRef
IOriginEndpointPolicyRef.Jsii$Default, IOriginEndpointPolicyRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOriginEndpointPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOriginEndpointPolicy(software.amazon.jsii.JsiiObjectRef objRef) CfnOriginEndpointPolicy(software.constructs.Construct scope, String id, CfnOriginEndpointPolicyProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe settings to enable CDN authorization headers in MediaPackage.The name of the channel group associated with the origin endpoint policy.The channel name associated with the origin endpoint policy.The name of the origin endpoint associated with the origin endpoint policy.A reference to a OriginEndpointPolicy resource.The policy associated with the origin endpoint.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe settings to enable CDN authorization headers in MediaPackage.voidThe settings to enable CDN authorization headers in MediaPackage.voidsetChannelGroupName(String value) The name of the channel group associated with the origin endpoint policy.voidsetChannelName(String value) The channel name associated with the origin endpoint policy.voidsetOriginEndpointName(String value) The name of the origin endpoint associated with the origin endpoint policy.voidThe policy associated with the origin endpoint.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOriginEndpointPolicy
protected CfnOriginEndpointPolicy(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOriginEndpointPolicy
protected CfnOriginEndpointPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOriginEndpointPolicy
@Stability(Stable) public CfnOriginEndpointPolicy(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOriginEndpointPolicyProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOriginEndpointPolicyRef
A reference to a OriginEndpointPolicy resource.- Specified by:
getOriginEndpointPolicyRefin interfaceIOriginEndpointPolicyRef
-
getChannelGroupName
The name of the channel group associated with the origin endpoint policy. -
setChannelGroupName
The name of the channel group associated with the origin endpoint policy. -
getChannelName
The channel name associated with the origin endpoint policy. -
setChannelName
The channel name associated with the origin endpoint policy. -
getOriginEndpointName
The name of the origin endpoint associated with the origin endpoint policy. -
setOriginEndpointName
The name of the origin endpoint associated with the origin endpoint policy. -
getPolicy
The policy associated with the origin endpoint. -
setPolicy
The policy associated with the origin endpoint. -
getCdnAuthConfiguration
The settings to enable CDN authorization headers in MediaPackage.Returns union: either
IResolvableorCfnOriginEndpointPolicy.CdnAuthConfigurationProperty -
setCdnAuthConfiguration
The settings to enable CDN authorization headers in MediaPackage. -
setCdnAuthConfiguration
@Stability(Stable) public void setCdnAuthConfiguration(@Nullable CfnOriginEndpointPolicy.CdnAuthConfigurationProperty value) The settings to enable CDN authorization headers in MediaPackage.
-