Show / Hide Table of Contents

Class CfnAPIKeyPropsMixin

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

Inheritance
object
Mixin
CfnAPIKeyPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Location
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAPIKeyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAPIKeyPropsMixin Inherits Mixin Implements IMixin
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

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.Location;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAPIKeyPropsMixin = new CfnAPIKeyPropsMixin(new CfnAPIKeyMixinProps {
                 Description = "description",
                 ExpireTime = "expireTime",
                 ForceDelete = false,
                 ForceUpdate = false,
                 KeyName = "keyName",
                 NoExpiry = false,
                 Restrictions = new ApiKeyRestrictionsProperty {
                     AllowActions = new [] { "allowActions" },
                     AllowAndroidApps = new [] { new AndroidAppProperty {
                         CertificateFingerprint = "certificateFingerprint",
                         Package = "package"
                     } },
                     AllowAppleApps = new [] { new AppleAppProperty {
                         BundleId = "bundleId"
                     } },
                     AllowReferers = new [] { "allowReferers" },
                     AllowResources = new [] { "allowResources" }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnAPIKeyPropsMixin(ICfnAPIKeyMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Location::APIKey.

Properties

CFN_PROPERTY_KEYS

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

Props

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

Strategy

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnAPIKeyPropsMixin(ICfnAPIKeyMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Location::APIKey.

public CfnAPIKeyPropsMixin(ICfnAPIKeyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnAPIKeyMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

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.Location;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAPIKeyPropsMixin = new CfnAPIKeyPropsMixin(new CfnAPIKeyMixinProps {
                 Description = "description",
                 ExpireTime = "expireTime",
                 ForceDelete = false,
                 ForceUpdate = false,
                 KeyName = "keyName",
                 NoExpiry = false,
                 Restrictions = new ApiKeyRestrictionsProperty {
                     AllowActions = new [] { "allowActions" },
                     AllowAndroidApps = new [] { new AndroidAppProperty {
                         CertificateFingerprint = "certificateFingerprint",
                         Package = "package"
                     } },
                     AllowAppleApps = new [] { new AppleAppProperty {
                         BundleId = "bundleId"
                     } },
                     AllowReferers = new [] { "allowReferers" },
                     AllowResources = new [] { "allowResources" }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

protected virtual ICfnAPIKeyMixinProps Props { get; }
Property Value

ICfnAPIKeyMixinProps

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

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.Location;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAPIKeyPropsMixin = new CfnAPIKeyPropsMixin(new CfnAPIKeyMixinProps {
                 Description = "description",
                 ExpireTime = "expireTime",
                 ForceDelete = false,
                 ForceUpdate = false,
                 KeyName = "keyName",
                 NoExpiry = false,
                 Restrictions = new ApiKeyRestrictionsProperty {
                     AllowActions = new [] { "allowActions" },
                     AllowAndroidApps = new [] { new AndroidAppProperty {
                         CertificateFingerprint = "certificateFingerprint",
                         Package = "package"
                     } },
                     AllowAppleApps = new [] { new AppleAppProperty {
                         BundleId = "bundleId"
                     } },
                     AllowReferers = new [] { "allowReferers" },
                     AllowResources = new [] { "allowResources" }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

The API key resource in your AWS account, which lets you grant actions for Amazon Location resources to the API key bearer.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

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.Location;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAPIKeyPropsMixin = new CfnAPIKeyPropsMixin(new CfnAPIKeyMixinProps {
                 Description = "description",
                 ExpireTime = "expireTime",
                 ForceDelete = false,
                 ForceUpdate = false,
                 KeyName = "keyName",
                 NoExpiry = false,
                 Restrictions = new ApiKeyRestrictionsProperty {
                     AllowActions = new [] { "allowActions" },
                     AllowAndroidApps = new [] { new AndroidAppProperty {
                         CertificateFingerprint = "certificateFingerprint",
                         Package = "package"
                     } },
                     AllowAppleApps = new [] { new AppleAppProperty {
                         BundleId = "bundleId"
                     } },
                     AllowReferers = new [] { "allowReferers" },
                     AllowResources = new [] { "allowResources" }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-apikey.html

CloudformationResource: AWS::Location::APIKey

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-location-apikey.html

CloudformationResource: AWS::Location::APIKey

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX