Skip to content
v2.277.0

WebFunctionRevisionReference Struct ​

A reference to a WebFunctionRevision resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as interfaces_lambda } from 'aws-cdk-lib/interfaces';
const webFunctionRevisionReference: interfaces_lambda.WebFunctionRevisionReference = {
  revisionArn: 'revisionArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_lambda as interfaces_lambda

web_function_revision_reference = interfaces_lambda.WebFunctionRevisionReference(
    revision_arn="revisionArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.lambda.*;

WebFunctionRevisionReference webFunctionRevisionReference = WebFunctionRevisionReference.builder()
        .revisionArn("revisionArn")
        .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.Interfaces.Lambda;

var webFunctionRevisionReference = new WebFunctionRevisionReference {
    RevisionArn = "revisionArn"
};
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"

webFunctionRevisionReference := &WebFunctionRevisionReference{
	RevisionArn: jsii.String("revisionArn"),
}

Properties ​

revisionArnstringrevision_arnstrrevisionArnStringRevisionArnstringRevisionArn*string required #
The RevisionArn of the WebFunctionRevision resource.