Show / Hide Table of Contents

Class CfnFunctionPropsMixin.ApiEventProperty

Inheritance
object
CfnFunctionPropsMixin.ApiEventProperty
Implements
CfnFunctionPropsMixin.IApiEventProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SAM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFunctionPropsMixin.ApiEventProperty : CfnFunctionPropsMixin.IApiEventProperty
Syntax (vb)
Public Class CfnFunctionPropsMixin.ApiEventProperty Implements CfnFunctionPropsMixin.IApiEventProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html

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.CfnPropertyMixins.AWS.SAM;

             var customStatements;

             var apiEventProperty = new ApiEventProperty {
                 Auth = new AuthProperty {
                     ApiKeyRequired = false,
                     AuthorizationScopes = new [] { "authorizationScopes" },
                     Authorizer = "authorizer",
                     ResourcePolicy = new AuthResourcePolicyProperty {
                         AwsAccountBlacklist = new [] { "awsAccountBlacklist" },
                         AwsAccountWhitelist = new [] { "awsAccountWhitelist" },
                         CustomStatements = new [] { customStatements },
                         IntrinsicVpcBlacklist = new [] { "intrinsicVpcBlacklist" },
                         IntrinsicVpceBlacklist = new [] { "intrinsicVpceBlacklist" },
                         IntrinsicVpceWhitelist = new [] { "intrinsicVpceWhitelist" },
                         IntrinsicVpcWhitelist = new [] { "intrinsicVpcWhitelist" },
                         IpRangeBlacklist = new [] { "ipRangeBlacklist" },
                         IpRangeWhitelist = new [] { "ipRangeWhitelist" },
                         SourceVpcBlacklist = new [] { "sourceVpcBlacklist" },
                         SourceVpcWhitelist = new [] { "sourceVpcWhitelist" }
                     }
                 },
                 Method = "method",
                 Path = "path",
                 RequestModel = new RequestModelProperty {
                     Model = "model",
                     Required = false,
                     ValidateBody = false,
                     ValidateParameters = false
                 },
                 RequestParameters = new [] { "requestParameters" },
                 RestApiId = "restApiId"
             };

Synopsis

Constructors

ApiEventProperty()

Properties

Auth
Method
Path
RequestModel
RequestParameters
RestApiId

Constructors

ApiEventProperty()

public ApiEventProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html

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.CfnPropertyMixins.AWS.SAM;

             var customStatements;

             var apiEventProperty = new ApiEventProperty {
                 Auth = new AuthProperty {
                     ApiKeyRequired = false,
                     AuthorizationScopes = new [] { "authorizationScopes" },
                     Authorizer = "authorizer",
                     ResourcePolicy = new AuthResourcePolicyProperty {
                         AwsAccountBlacklist = new [] { "awsAccountBlacklist" },
                         AwsAccountWhitelist = new [] { "awsAccountWhitelist" },
                         CustomStatements = new [] { customStatements },
                         IntrinsicVpcBlacklist = new [] { "intrinsicVpcBlacklist" },
                         IntrinsicVpceBlacklist = new [] { "intrinsicVpceBlacklist" },
                         IntrinsicVpceWhitelist = new [] { "intrinsicVpceWhitelist" },
                         IntrinsicVpcWhitelist = new [] { "intrinsicVpcWhitelist" },
                         IpRangeBlacklist = new [] { "ipRangeBlacklist" },
                         IpRangeWhitelist = new [] { "ipRangeWhitelist" },
                         SourceVpcBlacklist = new [] { "sourceVpcBlacklist" },
                         SourceVpcWhitelist = new [] { "sourceVpcWhitelist" }
                     }
                 },
                 Method = "method",
                 Path = "path",
                 RequestModel = new RequestModelProperty {
                     Model = "model",
                     Required = false,
                     ValidateBody = false,
                     ValidateParameters = false
                 },
                 RequestParameters = new [] { "requestParameters" },
                 RestApiId = "restApiId"
             };

Properties

Auth

public object? Auth { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-auth

Type union: either IResolvable or CfnFunctionPropsMixin.IAuthProperty

Method

public string? Method { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-method

Path

public string? Path { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-path

RequestModel

public object? RequestModel { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-requestmodel

Type union: either IResolvable or CfnFunctionPropsMixin.IRequestModelProperty

RequestParameters

public object? RequestParameters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-requestparameters

Type union: either IResolvable or (either string or IResolvable or CfnFunctionPropsMixin.IRequestParameterProperty)[]

RestApiId

public string? RestApiId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-apievent.html#cfn-serverless-function-apievent-restapiid

Implements

CfnFunctionPropsMixin.IApiEventProperty
Back to top Generated by DocFX