Show / Hide Table of Contents

Class CfnConnectionFunctionPropsMixin

A connection function.

Inheritance
object
Mixin
CfnConnectionFunctionPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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 AWS::CloudFront::ConnectionFunction.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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

PropertyMergeStrategy

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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
Mixin.ApplyTo(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

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

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

CloudformationResource: AWS::CloudFront::ConnectionFunction

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX