Class CfnKeyGroup
A CloudFormation AWS::CloudFront::KeyGroup
.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class CfnKeyGroup : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnKeyGroup
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
A key group.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies .
CloudformationResource: AWS::CloudFront::KeyGroup
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var cfnKeyGroup = new CfnKeyGroup(this, "MyCfnKeyGroup", new CfnKeyGroupProps {
KeyGroupConfig = new KeyGroupConfigProperty {
Items = new [] { "items" },
Name = "name",
// the properties below are optional
Comment = "comment"
}
});
Synopsis
Constructors
CfnKeyGroup(Construct, String, ICfnKeyGroupProps) | Create a new |
CfnKeyGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnKeyGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrId | The identifier for the key group. |
AttrLastModifiedTime | The date and time when the key group was last modified. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
KeyGroupConfig | The key group configuration. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnKeyGroup(Construct, String, ICfnKeyGroupProps)
Create a new AWS::CloudFront::KeyGroup
.
public CfnKeyGroup(Construct scope, string id, ICfnKeyGroupProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnKeyGroupProps
- resource properties.
CfnKeyGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnKeyGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnKeyGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnKeyGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrId
The identifier for the key group.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrLastModifiedTime
The date and time when the key group was last modified.
public virtual string AttrLastModifiedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastModifiedTime
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
KeyGroupConfig
The key group configuration.
public virtual object KeyGroupConfig { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>