Table of Contents

Class AddApiKeyOptions

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Options to the UsagePlan.addApiKey() method.

public class AddApiKeyOptions : IAddApiKeyOptions
Inheritance
AddApiKeyOptions
Implements
Inherited Members

Examples

UsagePlan usageplan;
            ApiKey apiKey;


            usageplan.AddApiKey(apiKey, new AddApiKeyOptions {
                OverrideLogicalId = "..."
            });

Remarks

ExampleMetadata: infused

Constructors

AddApiKeyOptions()

public AddApiKeyOptions()

Properties

OverrideLogicalId

Override the CloudFormation logical id of the AWS::ApiGateway::UsagePlanKey resource.

public string? OverrideLogicalId { get; set; }

Property Value

string

Remarks

Default: - autogenerated by the CDK