Show / Hide Table of Contents

Class PublicKey

A Public Key Configuration.

Inheritance
object
Resource
PublicKey
Implements
IPublicKey
IResource
IPublicKeyRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PublicKey : Resource, IPublicKey, IResource, IPublicKeyRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class PublicKey Inherits Resource Implements IPublicKey, IResource, IPublicKeyRef, IConstruct, IDependable, IEnvironmentAware
Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

Examples
// Create a key group to use with CloudFront signed URLs and signed cookies.
             // Create a key group to use with CloudFront signed URLs and signed cookies.
             new KeyGroup(this, "MyKeyGroup", new KeyGroupProps {
                 Items = new [] {
                     new PublicKey(this, "MyPublicKey", new PublicKeyProps {
                         EncodedKey = "..."
                     }) }
             });

Synopsis

Constructors

PublicKey(Construct, string, IPublicKeyProps)

A Public Key Configuration.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

PublicKeyId

The ID of the key group.

PublicKeyRef

A reference to a PublicKey resource.

Methods

FromPublicKeyId(Construct, string, string)

Imports a Public Key from its id.

Constructors

PublicKey(Construct, string, IPublicKeyProps)

A Public Key Configuration.

public PublicKey(Construct scope, string id, IPublicKeyProps props)
Parameters
scope Construct
id string
props IPublicKeyProps
Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

Examples
// Create a key group to use with CloudFront signed URLs and signed cookies.
             // Create a key group to use with CloudFront signed URLs and signed cookies.
             new KeyGroup(this, "MyKeyGroup", new KeyGroupProps {
                 Items = new [] {
                     new PublicKey(this, "MyPublicKey", new PublicKeyProps {
                         EncodedKey = "..."
                     }) }
             });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

PublicKeyId

The ID of the key group.

public virtual string PublicKeyId { get; }
Property Value

string

Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

PublicKeyRef

A reference to a PublicKey resource.

public virtual IPublicKeyReference PublicKeyRef { get; }
Property Value

IPublicKeyReference

Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

Methods

FromPublicKeyId(Construct, string, string)

Imports a Public Key from its id.

public static IPublicKey FromPublicKeyId(Construct scope, string id, string publicKeyId)
Parameters
scope Construct
id string
publicKeyId string
Returns

IPublicKey

Remarks

Resource: AWS::CloudFront::PublicKey

ExampleMetadata: infused

Implements

IPublicKey
IResource
IPublicKeyRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX