Class CfnWebFunction
Resource Type definition for AWS::Lambda::WebFunction.
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebFunction : CfnResource, IInspectable, IWebFunctionRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnWebFunction Inherits CfnResource Implements IInspectable, IWebFunctionRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
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.Lambda;
var cfnWebFunction = new CfnWebFunction(this, "MyCfnWebFunction", new CfnWebFunctionProps {
FunctionName = "functionName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnWebFunction(Construct, string, ICfnWebFunctionProps) | Create a new |
Properties
| AttrCreatedAt | The timestamp when the function was created. |
| AttrFunctionArn | The Amazon Resource Name (ARN) of the function. |
| AttrState | The current state of the function. |
| AttrStateReason | The reason for the function's current state. |
| AttrUpdatedAt | The timestamp when the function was last updated. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Resource Type definition for AWS::Lambda::WebFunction. |
| CfnPropertyNames | Resource Type definition for AWS::Lambda::WebFunction. |
| FunctionName | The name of the web function. |
| Tags | A list of tags to apply to the function. |
| WebFunctionRef | A reference to a WebFunction resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnWebFunction(object) | Checks whether the given object is a CfnWebFunction. |
| RenderProperties(IDictionary<string, object>) | Resource Type definition for AWS::Lambda::WebFunction. |
Constructors
CfnWebFunction(Construct, string, ICfnWebFunctionProps)
Create a new AWS::Lambda::WebFunction.
public CfnWebFunction(Construct scope, string id, ICfnWebFunctionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnWebFunctionProps
Resource properties.
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
Properties
AttrCreatedAt
The timestamp when the function was created.
public virtual string AttrCreatedAt { get; }
Property Value
Remarks
CloudformationAttribute: CreatedAt
AttrFunctionArn
The Amazon Resource Name (ARN) of the function.
public virtual string AttrFunctionArn { get; }
Property Value
Remarks
CloudformationAttribute: FunctionArn
AttrState
The current state of the function.
public virtual string AttrState { get; }
Property Value
Remarks
CloudformationAttribute: State
AttrStateReason
The reason for the function's current state.
public virtual string AttrStateReason { get; }
Property Value
Remarks
CloudformationAttribute: StateReason
AttrUpdatedAt
The timestamp when the function was last updated.
public virtual string AttrUpdatedAt { get; }
Property Value
Remarks
CloudformationAttribute: UpdatedAt
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
CfnProperties
Resource Type definition for AWS::Lambda::WebFunction.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
CfnPropertyNames
Resource Type definition for AWS::Lambda::WebFunction.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
FunctionName
The name of the web function.
public virtual string FunctionName { get; set; }
Property Value
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
Tags
A list of tags to apply to the function.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
WebFunctionRef
A reference to a WebFunction resource.
public virtual IWebFunctionReference WebFunctionRef { get; }
Property Value
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
IsCfnWebFunction(object)
Checks whether the given object is a CfnWebFunction.
public static bool IsCfnWebFunction(object x)
Parameters
- x object
Returns
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Resource Type definition for AWS::Lambda::WebFunction.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Creates a Lambda Web function container.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunction.html
CloudformationResource: AWS::Lambda::WebFunction
ExampleMetadata: fixture=_generated