Interface CfnHttpApiPropsMixin.ICorsConfigurationObjectProperty
Namespace: Amazon.CDK.Mixins.Preview.AWS.SAM.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnHttpApiPropsMixin.ICorsConfigurationObjectProperty
Syntax (vb)
Public Interface CfnHttpApiPropsMixin.ICorsConfigurationObjectProperty
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.Mixins.Preview.AWS.SAM.Mixins;
var corsConfigurationObjectProperty = new CorsConfigurationObjectProperty {
AllowCredentials = false,
AllowHeaders = new [] { "allowHeaders" },
AllowMethods = new [] { "allowMethods" },
AllowOrigins = new [] { "allowOrigins" },
ExposeHeaders = new [] { "exposeHeaders" },
MaxAge = 123
};
Synopsis
Properties
| AllowCredentials | |
| AllowHeaders | |
| AllowMethods | |
| AllowOrigins | |
| ExposeHeaders | |
| MaxAge |
Properties
AllowCredentials
object? AllowCredentials { get; }
Property Value
Remarks
AllowHeaders
AllowMethods
AllowOrigins
ExposeHeaders
MaxAge
double? MaxAge { get; }