AwsApiGatewayIdentityArgs
interface AwsApiGatewayIdentityArgs {
identity: string;
}Stable identity used for AwsApiGateway logical-name generation.
Properties
identity: string
Stable identity segment used to derive Pulumi logical names.
Remarks
This must be a plain non-empty string and should remain stable for the lifecycle of this component instance.
Example
CODE
const api = new AwsApiGateway({
identity: 'orders-http',
type: 'HTTP',
http: {
routes: {
'GET /orders': {
integration: {
type: 'lambda',
targetArn: ordersFunction.arn,
createInvokePermission: false,
},
},
},
},
});