@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.948Z") @Stability(value=Stable) public class CfnPackagingGroup extends CfnResource implements IInspectable
Creates a packaging group.
The packaging group holds one or more packaging configurations. When you create an asset, you specify the packaging group associated with the asset. The asset has playback endpoints for each packaging configuration within the group.
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.mediapackage.*;
CfnPackagingGroup cfnPackagingGroup = CfnPackagingGroup.Builder.create(this, "MyCfnPackagingGroup")
.id("id")
// the properties below are optional
.authorization(AuthorizationProperty.builder()
.cdnIdentifierSecret("cdnIdentifierSecret")
.secretsRoleArn("secretsRoleArn")
.build())
.egressAccessLogs(LogConfigurationProperty.builder()
.logGroupName("logGroupName")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnPackagingGroup.AuthorizationProperty
Parameters for enabling CDN authorization.
|
static class |
CfnPackagingGroup.Builder
A fluent builder for
CfnPackagingGroup. |
static interface |
CfnPackagingGroup.LogConfigurationProperty
Sets a custom Amazon CloudWatch log group name for egress logs.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPackagingGroup(software.constructs.Construct scope,
String id,
CfnPackagingGroupProps props)
Create a new `AWS::MediaPackage::PackagingGroup`.
|
protected |
CfnPackagingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPackagingGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) for the packaging group.
|
String |
getAttrDomainName()
The fully qualified domain name for the assets in the PackagingGroup.
|
Object |
getAuthorization()
Parameters for CDN authorization.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getEgressAccessLogs()
The configuration parameters for egress access logging.
|
String |
getId()
Unique identifier that you assign to the packaging group.
|
TagManager |
getTags()
The tags to assign to the packaging group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthorization(CfnPackagingGroup.AuthorizationProperty value)
Parameters for CDN authorization.
|
void |
setAuthorization(IResolvable value)
Parameters for CDN authorization.
|
void |
setEgressAccessLogs(CfnPackagingGroup.LogConfigurationProperty value)
The configuration parameters for egress access logging.
|
void |
setEgressAccessLogs(IResolvable value)
The configuration parameters for egress access logging.
|
void |
setId(String value)
Unique identifier that you assign to the packaging group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPackagingGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPackagingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPackagingGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnPackagingGroupProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
You can get this from the response to any request to the packaging group.
@Stability(value=Stable) @NotNull public String getAttrDomainName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getId()
@Stability(value=Stable)
public void setId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAuthorization()
@Stability(value=Stable)
public void setAuthorization(@Nullable
CfnPackagingGroup.AuthorizationProperty value)
@Stability(value=Stable)
public void setAuthorization(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getEgressAccessLogs()
@Stability(value=Stable)
public void setEgressAccessLogs(@Nullable
CfnPackagingGroup.LogConfigurationProperty value)
@Stability(value=Stable)
public void setEgressAccessLogs(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.