@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:07.247Z") public class CfnKeyGroup extends CfnResource implements IInspectable
A key group.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies .
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.*; CfnKeyGroup cfnKeyGroup = CfnKeyGroup.Builder.create(this, "MyCfnKeyGroup") .keyGroupConfig(KeyGroupConfigProperty.builder() .items(List.of("items")) .name("name") // the properties below are optional .comment("comment") .build()) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnKeyGroup.Builder
A fluent builder for
CfnKeyGroup . |
static interface |
CfnKeyGroup.KeyGroupConfigProperty
A key group configuration.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnKeyGroup(Construct scope,
java.lang.String id,
CfnKeyGroupProps props)
Create a new `AWS::CloudFront::KeyGroup`.
|
protected |
CfnKeyGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnKeyGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrId()
The identifier for the key group.
|
java.lang.String |
getAttrLastModifiedTime()
The date and time when the key group was last modified.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getKeyGroupConfig()
The key group configuration.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setKeyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty value)
The key group configuration.
|
void |
setKeyGroupConfig(IResolvable value)
The key group configuration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnKeyGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnKeyGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnKeyGroup(Construct scope, java.lang.String id, CfnKeyGroupProps 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrId()
public java.lang.String getAttrLastModifiedTime()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getKeyGroupConfig()
public void setKeyGroupConfig(IResolvable value)
public void setKeyGroupConfig(CfnKeyGroup.KeyGroupConfigProperty value)