Class CfnConnectionFunctionPropsMixin
A connection function.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnConnectionFunctionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnConnectionFunctionPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnConnectionFunctionPropsMixin = new CfnConnectionFunctionPropsMixin(new CfnConnectionFunctionMixinProps {
AutoPublish = false,
ConnectionFunctionCode = "connectionFunctionCode",
ConnectionFunctionConfig = new ConnectionFunctionConfigProperty {
Comment = "comment",
KeyValueStoreAssociations = new [] { new KeyValueStoreAssociationProperty {
KeyValueStoreArn = "keyValueStoreArn"
} },
Runtime = "runtime"
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnConnectionFunctionPropsMixin(ICfnConnectionFunctionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | A connection function. |
| Props | A connection function. |
| Strategy | A connection function. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnConnectionFunctionPropsMixin(ICfnConnectionFunctionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::CloudFront::ConnectionFunction.
public CfnConnectionFunctionPropsMixin(ICfnConnectionFunctionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnConnectionFunctionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
A connection function.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnConnectionFunctionPropsMixin = new CfnConnectionFunctionPropsMixin(new CfnConnectionFunctionMixinProps {
AutoPublish = false,
ConnectionFunctionCode = "connectionFunctionCode",
ConnectionFunctionConfig = new ConnectionFunctionConfigProperty {
Comment = "comment",
KeyValueStoreAssociations = new [] { new KeyValueStoreAssociationProperty {
KeyValueStoreArn = "keyValueStoreArn"
} },
Runtime = "runtime"
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
A connection function.
protected virtual ICfnConnectionFunctionMixinProps Props { get; }
Property Value
ICfnConnectionFunctionMixinProps
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnConnectionFunctionPropsMixin = new CfnConnectionFunctionPropsMixin(new CfnConnectionFunctionMixinProps {
AutoPublish = false,
ConnectionFunctionCode = "connectionFunctionCode",
ConnectionFunctionConfig = new ConnectionFunctionConfigProperty {
Comment = "comment",
KeyValueStoreAssociations = new [] { new KeyValueStoreAssociationProperty {
KeyValueStoreArn = "keyValueStoreArn"
} },
Runtime = "runtime"
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
A connection function.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnConnectionFunctionPropsMixin = new CfnConnectionFunctionPropsMixin(new CfnConnectionFunctionMixinProps {
AutoPublish = false,
ConnectionFunctionCode = "connectionFunctionCode",
ConnectionFunctionConfig = new ConnectionFunctionConfigProperty {
Comment = "comment",
KeyValueStoreAssociations = new [] { new KeyValueStoreAssociationProperty {
KeyValueStoreArn = "keyValueStoreArn"
} },
Runtime = "runtime"
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
CloudformationResource: AWS::CloudFront::ConnectionFunction
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
CloudformationResource: AWS::CloudFront::ConnectionFunction
Mixin: true
ExampleMetadata: fixture=_generated