Class CfnApiKeyProps
Properties for defining a CfnApiKey
.
Inheritance
System.Object
CfnApiKeyProps
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApiKeyProps : Object, ICfnApiKeyProps
Syntax (vb)
Public Class CfnApiKeyProps
Inherits Object
Implements ICfnApiKeyProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.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.AppSync;
var cfnApiKeyProps = new CfnApiKeyProps {
ApiId = "apiId",
// the properties below are optional
Description = "description",
Expires = 123
};
Synopsis
Constructors
CfnApiKeyProps() |
Properties
ApiId | Unique AWS AppSync GraphQL API ID for this API key. |
Description | Unique description of your API key. |
Expires | The time after which the API key expires. |
Constructors
CfnApiKeyProps()
public CfnApiKeyProps()
Properties
ApiId
Unique AWS AppSync GraphQL API ID for this API key.
public string ApiId { get; set; }
Property Value
System.String
Remarks
Description
Unique description of your API key.
public string Description { get; set; }
Property Value
System.String
Remarks
Expires
The time after which the API key expires.
public Nullable<double> Expires { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The date is represented as seconds since the epoch, rounded down to the nearest hour.