Class CfnPublicKey
A public key that you can use with signed URLs and signed cookies , or with field-level encryption .
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPublicKey : CfnResource, IInspectable, IPublicKeyRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnPublicKey Inherits CfnResource Implements IInspectable, IPublicKeyRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
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 cfnPublicKey = new CfnPublicKey(this, "MyCfnPublicKey", new CfnPublicKeyProps {
PublicKeyConfig = new PublicKeyConfigProperty {
CallerReference = "callerReference",
EncodedKey = "encodedKey",
Name = "name",
// the properties below are optional
Comment = "comment"
}
});
Synopsis
Constructors
| CfnPublicKey(Construct, string, ICfnPublicKeyProps) | Create a new |
Properties
| AttrCreatedTime | The date and time when the public key was uploaded. |
| AttrId | The identifier of the public key. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | A public key that you can use with signed URLs and signed cookies , or with field-level encryption . |
| PublicKeyConfig | Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption . |
| PublicKeyRef | A reference to a PublicKey resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnPublicKey(object) | Checks whether the given object is a CfnPublicKey. |
| RenderProperties(IDictionary<string, object>) | A public key that you can use with signed URLs and signed cookies , or with field-level encryption . |
Constructors
CfnPublicKey(Construct, string, ICfnPublicKeyProps)
Create a new AWS::CloudFront::PublicKey.
public CfnPublicKey(Construct scope, string id, ICfnPublicKeyProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnPublicKeyProps
Resource properties.
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
Properties
AttrCreatedTime
The date and time when the public key was uploaded.
public virtual string AttrCreatedTime { get; }
Property Value
Remarks
CloudformationAttribute: CreatedTime
AttrId
The identifier of the public key.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
CfnProperties
A public key that you can use with signed URLs and signed cookies , or with field-level encryption .
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
PublicKeyConfig
Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
public virtual object PublicKeyConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnPublicKey.IPublicKeyConfigProperty
PublicKeyRef
A reference to a PublicKey resource.
public virtual IPublicKeyReference PublicKeyRef { get; }
Property Value
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
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.
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
IsCfnPublicKey(object)
Checks whether the given object is a CfnPublicKey.
public static bool IsCfnPublicKey(object x)
Parameters
- x object
Returns
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
A public key that you can use with signed URLs and signed cookies , or with field-level encryption .
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html
CloudformationResource: AWS::CloudFront::PublicKey
ExampleMetadata: fixture=_generated