Class CfnSourceLocation
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.mediatailor.CfnSourceLocation
- All Implemented Interfaces:
IInspectable,ITaggableV2,ISourceLocationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.353Z")
@Stability(Stable)
public class CfnSourceLocation
extends CfnResource
implements IInspectable, ISourceLocationRef, ITaggableV2
A source location is a container for sources.
For more information about source locations, see Working with source locations in the MediaTailor User Guide .
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.mediatailor.*;
CfnSourceLocation cfnSourceLocation = CfnSourceLocation.Builder.create(this, "MyCfnSourceLocation")
.httpConfiguration(HttpConfigurationProperty.builder()
.baseUrl("baseUrl")
.build())
.sourceLocationName("sourceLocationName")
// the properties below are optional
.accessConfiguration(AccessConfigurationProperty.builder()
.accessType("accessType")
.secretsManagerAccessTokenConfiguration(SecretsManagerAccessTokenConfigurationProperty.builder()
.headerName("headerName")
.secretArn("secretArn")
.secretStringKey("secretStringKey")
.build())
.build())
.defaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationProperty.builder()
.baseUrl("baseUrl")
.build())
.segmentDeliveryConfigurations(List.of(SegmentDeliveryConfigurationProperty.builder()
.baseUrl("baseUrl")
.name("name")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAccess configuration parameters.static final classA fluent builder forCfnSourceLocation.static interfaceThe optional configuration for a server that serves segments.static interfaceThe HTTP configuration for the source location.static interfaceAWS Secrets Manager access token configuration parameters.static interfaceThe segment delivery configuration settings.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.mediatailor.ISourceLocationRef
ISourceLocationRef.Jsii$Default, ISourceLocationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSourceLocation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSourceLocation(software.amazon.jsii.JsiiObjectRef objRef) CfnSourceLocation(software.constructs.Construct scope, String id, CfnSourceLocationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ISourceLocationReffromSourceLocationArn(software.constructs.Construct scope, String id, String arn) Creates a new ISourceLocationRef from an ARN.static ISourceLocationReffromSourceLocationName(software.constructs.Construct scope, String id, String sourceLocationName) Creates a new ISourceLocationRef from a sourceLocationName.The access configuration for the source location.The ARN of the source location.Tag Manager which manages the tags for this resource.The default segment delivery configuration.The HTTP configuration for the source location.The segment delivery configurations for the source location.The name of the source location.A reference to a SourceLocation resource.getTags()The tags assigned to the source location.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe access configuration for the source location.voidThe access configuration for the source location.voidThe default segment delivery configuration.voidsetDefaultSegmentDeliveryConfiguration(CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty value) The default segment delivery configuration.voidsetHttpConfiguration(IResolvable value) The HTTP configuration for the source location.voidThe HTTP configuration for the source location.voidThe segment delivery configurations for the source location.voidThe segment delivery configurations for the source location.voidsetSourceLocationName(String value) The name of the source location.voidThe tags assigned to the source location.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
-
CfnSourceLocation
protected CfnSourceLocation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSourceLocation
protected CfnSourceLocation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSourceLocation
@Stability(Stable) public CfnSourceLocation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSourceLocationProps 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
-
fromSourceLocationArn
@Stability(Stable) @NotNull public static ISourceLocationRef fromSourceLocationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new ISourceLocationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromSourceLocationName
@Stability(Stable) @NotNull public static ISourceLocationRef fromSourceLocationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String sourceLocationName) Creates a new ISourceLocationRef from a sourceLocationName.- Parameters:
scope- This parameter is required.id- This parameter is required.sourceLocationName- This parameter is required.
-
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.
-
getAttrArn
The ARN of the source location.
. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSourceLocationRef
A reference to a SourceLocation resource.- Specified by:
getSourceLocationRefin interfaceISourceLocationRef
-
getHttpConfiguration
The HTTP configuration for the source location.Returns union: either
IResolvableorCfnSourceLocation.HttpConfigurationProperty -
setHttpConfiguration
The HTTP configuration for the source location. -
setHttpConfiguration
@Stability(Stable) public void setHttpConfiguration(@NotNull CfnSourceLocation.HttpConfigurationProperty value) The HTTP configuration for the source location. -
getSourceLocationName
The name of the source location. -
setSourceLocationName
The name of the source location. -
getAccessConfiguration
The access configuration for the source location.Returns union: either
IResolvableorCfnSourceLocation.AccessConfigurationProperty -
setAccessConfiguration
The access configuration for the source location. -
setAccessConfiguration
@Stability(Stable) public void setAccessConfiguration(@Nullable CfnSourceLocation.AccessConfigurationProperty value) The access configuration for the source location. -
getDefaultSegmentDeliveryConfiguration
The default segment delivery configuration.Returns union: either
IResolvableorCfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty -
setDefaultSegmentDeliveryConfiguration
The default segment delivery configuration. -
setDefaultSegmentDeliveryConfiguration
@Stability(Stable) public void setDefaultSegmentDeliveryConfiguration(@Nullable CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty value) The default segment delivery configuration. -
getSegmentDeliveryConfigurations
The segment delivery configurations for the source location.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSourceLocation.SegmentDeliveryConfigurationProperty> -
setSegmentDeliveryConfigurations
The segment delivery configurations for the source location. -
setSegmentDeliveryConfigurations
The segment delivery configurations for the source location. -
getTags
The tags assigned to the source location. -
setTags
The tags assigned to the source location.
-