Table of Contents

Class CfnAuthorizerV2

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

(deprecated) A CloudFormation AWS::ApiGatewayV2::Authorizer.

[Obsolete("moved to package aws-apigatewayv2")]
public class CfnAuthorizerV2 : CfnResource, IInspectable
Inheritance
CfnAuthorizerV2
Implements
IInspectable

Examples

// 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 cfnAuthorizerV2 = new CfnAuthorizerV2(this, "MyCfnAuthorizerV2", new CfnAuthorizerV2Props {
                 ApiId = "apiId",
                 AuthorizerType = "authorizerType",
                 IdentitySource = new [] { "identitySource" },
                 Name = "name",

                 // the properties below are optional
                 AuthorizerCredentialsArn = "authorizerCredentialsArn",
                 AuthorizerResultTtlInSeconds = 123,
                 AuthorizerUri = "authorizerUri",
                 IdentityValidationExpression = "identityValidationExpression",
                 JwtConfiguration = new JWTConfigurationProperty {
                     Audience = new [] { "audience" },
                     Issuer = "issuer"
                 }
             });

Remarks

Stability: Deprecated

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html

CloudformationResource: AWS::ApiGatewayV2::Authorizer

ExampleMetadata: fixture=_generated

Constructors

CfnAuthorizerV2(Construct, string, ICfnAuthorizerV2Props)

(deprecated) Create a new AWS::ApiGatewayV2::Authorizer.

[Obsolete]
public CfnAuthorizerV2(Construct scope, string id, ICfnAuthorizerV2Props props)

Parameters

scope Construct
  • scope in which this resource is defined.
id string
  • scoped id of the resource.
props ICfnAuthorizerV2Props
  • resource properties.

Remarks

Stability: Deprecated

Properties

ApiId

(deprecated) AWS::ApiGatewayV2::Authorizer.ApiId.

[Obsolete]
public virtual string ApiId { get; set; }

Property Value

string

Remarks

AuthorizerCredentialsArn

(deprecated) AWS::ApiGatewayV2::Authorizer.AuthorizerCredentialsArn.

[Obsolete]
public virtual string? AuthorizerCredentialsArn { get; set; }

Property Value

string

Remarks

AuthorizerResultTtlInSeconds

(deprecated) AWS::ApiGatewayV2::Authorizer.AuthorizerResultTtlInSeconds.

[Obsolete]
public virtual double? AuthorizerResultTtlInSeconds { get; set; }

Property Value

double?

Remarks

AuthorizerType

(deprecated) AWS::ApiGatewayV2::Authorizer.AuthorizerType.

[Obsolete]
public virtual string AuthorizerType { get; set; }

Property Value

string

Remarks

AuthorizerUri

(deprecated) AWS::ApiGatewayV2::Authorizer.AuthorizerUri.

[Obsolete]
public virtual string? AuthorizerUri { get; set; }

Property Value

string

Remarks

CFN_RESOURCE_TYPE_NAME

(deprecated) The CloudFormation resource type name for this resource class.

[Obsolete]
public static string CFN_RESOURCE_TYPE_NAME { get; }

Property Value

string

Remarks

Stability: Deprecated

CfnProperties

[Obsolete]
protected override IDictionary<string, object> CfnProperties { get; }

Property Value

IDictionary<string, object>

Remarks

Stability: Deprecated

IdentitySource

(deprecated) AWS::ApiGatewayV2::Authorizer.IdentitySource.

[Obsolete]
public virtual string[] IdentitySource { get; set; }

Property Value

string[]

Remarks

IdentityValidationExpression

(deprecated) AWS::ApiGatewayV2::Authorizer.IdentityValidationExpression.

[Obsolete]
public virtual string? IdentityValidationExpression { get; set; }

Property Value

string

Remarks

JwtConfiguration

(deprecated) AWS::ApiGatewayV2::Authorizer.JwtConfiguration.

[Obsolete]
public virtual object? JwtConfiguration { get; set; }

Property Value

object

Remarks

Name

(deprecated) AWS::ApiGatewayV2::Authorizer.Name.

[Obsolete]
public virtual string Name { get; set; }

Property Value

string

Remarks

Methods

Inspect(TreeInspector)

(deprecated) Examines the CloudFormation resource and discloses attributes.

[Obsolete]
public virtual void Inspect(TreeInspector inspector)

Parameters

inspector TreeInspector
  • tree inspector to collect and process attributes.

Remarks

Stability: Deprecated

RenderProperties(IDictionary<string, object>)

[Obsolete]
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)

Parameters

props IDictionary<string, object>

Returns

IDictionary<string, object>

Remarks

Stability: Deprecated