Class CfnFunction.AuthProperty
Inheritance
System.Object
CfnFunction.AuthProperty
Implements
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.AWS.SAM.dll
Syntax (csharp)
public class AuthProperty : Object, CfnFunction.IAuthProperty
Syntax (vb)
Public Class AuthProperty
Inherits Object
Implements CfnFunction.IAuthProperty
Remarks
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.SAM;
var customStatements;
var authProperty = 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" }
}
};
Synopsis
Constructors
AuthProperty() |
Properties
ApiKeyRequired |
|
AuthorizationScopes |
|
Authorizer |
|
ResourcePolicy |
|
Constructors
AuthProperty()
public AuthProperty()
Properties
ApiKeyRequired
CfnFunction.AuthProperty.ApiKeyRequired
.
public object ApiKeyRequired { get; set; }
Property Value
System.Object
Remarks
AuthorizationScopes
CfnFunction.AuthProperty.AuthorizationScopes
.
public string[] AuthorizationScopes { get; set; }
Property Value
System.String[]
Remarks
Authorizer
CfnFunction.AuthProperty.Authorizer
.
public string Authorizer { get; set; }
Property Value
System.String
Remarks
ResourcePolicy
CfnFunction.AuthProperty.ResourcePolicy
.
public object ResourcePolicy { get; set; }
Property Value
System.Object