CfnUsagePlanKeyProps Struct
Properties for defining a CfnUsagePlanKey.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const cfnUsagePlanKeyProps: apigateway.CfnUsagePlanKeyProps = {
keyId: 'keyId',
keyType: 'keyType',
usagePlanId: 'usagePlanId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigateway as apigateway
cfn_usage_plan_key_props = apigateway.CfnUsagePlanKeyProps(
key_id="keyId",
key_type="keyType",
usage_plan_id="usagePlanId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
CfnUsagePlanKeyProps cfnUsagePlanKeyProps = CfnUsagePlanKeyProps.builder()
.keyId("keyId")
.keyType("keyType")
.usagePlanId("usagePlanId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var cfnUsagePlanKeyProps = new CfnUsagePlanKeyProps {
KeyId = "keyId",
KeyType = "keyType",
UsagePlanId = "usagePlanId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnUsagePlanKeyProps := &CfnUsagePlanKeyProps{
KeyId: jsii.String("keyId"),
KeyType: jsii.String("keyType"),
UsagePlanId: jsii.String("usagePlanId"),
}
Properties
keyIdstring | IApiKeyRefkey_idtyping.Union[str, IApiKeyRef]keyIdStringKeyIdstringKeyIdinterface{} required #The Id of the UsagePlanKey resource.
The type of a UsagePlanKey resource for a plan customer.
usagePlanIdstring | IUsagePlanRefusage_plan_idtyping.Union[str, IUsagePlanRef]usagePlanIdStringUsagePlanIdstringUsagePlanIdinterface{} required #The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer.