Class CfnResourcePropsMixin
The AWS::ApiGateway::Resource resource creates a resource in an API.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ApiGateway
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnResourcePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnResourcePropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
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.ApiGateway;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnResourcePropsMixin = new CfnResourcePropsMixin(new CfnResourceMixinProps {
ParentId = "parentId",
PathPart = "pathPart",
RestApiId = "restApiId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnResourcePropsMixin(ICfnResourceMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnResourcePropsMixin(ICfnResourceMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::ApiGateway::Resource.
public CfnResourcePropsMixin(ICfnResourceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnResourceMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::ApiGateway::Resource resource creates a resource in an API.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
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.ApiGateway;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnResourcePropsMixin = new CfnResourcePropsMixin(new CfnResourceMixinProps {
ParentId = "parentId",
PathPart = "pathPart",
RestApiId = "restApiId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The AWS::ApiGateway::Resource resource creates a resource in an API.
protected virtual ICfnResourceMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
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.ApiGateway;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnResourcePropsMixin = new CfnResourcePropsMixin(new CfnResourceMixinProps {
ParentId = "parentId",
PathPart = "pathPart",
RestApiId = "restApiId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The AWS::ApiGateway::Resource resource creates a resource in an API.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
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.ApiGateway;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnResourcePropsMixin = new CfnResourcePropsMixin(new CfnResourceMixinProps {
ParentId = "parentId",
PathPart = "pathPart",
RestApiId = "restApiId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
CloudformationResource: AWS::ApiGateway::Resource
Mixin: true
ExampleMetadata: fixture=_generated