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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:34.276Z")
@Stability(Stable)
public class CfnSourceLocation
extends CfnResource
implements IInspectable, 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
Modifier and TypeClassDescriptionstatic interface
Access configuration parameters.static final class
A fluent builder forCfnSourceLocation
.static interface
The optional configuration for a server that serves segments.static interface
The HTTP configuration for the source location.static interface
AWS Secrets Manager access token configuration parameters.static interface
The segment delivery configuration settings.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnSourceLocation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSourceLocation
(software.amazon.jsii.JsiiObjectRef objRef) CfnSourceLocation
(software.constructs.Construct scope, String id, CfnSourceLocationProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.getTags()
The tags assigned to the source location.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The access configuration for the source location.void
The access configuration for the source location.void
The default segment delivery configuration.void
setDefaultSegmentDeliveryConfiguration
(CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty value) The default segment delivery configuration.void
setHttpConfiguration
(IResolvable value) The HTTP configuration for the source location.void
The HTTP configuration for the source location.void
The segment delivery configurations for the source location.void
The segment delivery configurations for the source location.void
setSourceLocationName
(String value) The name of the source location.void
The 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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getHttpConfiguration
The HTTP configuration for the source location. -
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. -
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. -
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. -
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.
-