Class CfnFileCachePropsMixin
Resource Type definition for AWS::FSx::FileCache.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.FSx
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFileCachePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnFileCachePropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
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.FSx;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnFileCachePropsMixin = new CfnFileCachePropsMixin(new CfnFileCacheMixinProps {
CopyTagsToDataRepositoryAssociations = false,
DataRepositoryAssociations = new [] { new DataRepositoryAssociationProperty {
DataRepositoryPath = "dataRepositoryPath",
FileCachePath = "fileCachePath"
} },
FileCacheType = "fileCacheType",
FileCacheTypeVersion = "fileCacheTypeVersion",
KmsKeyId = "kmsKeyId",
LustreConfiguration = new LustreConfigurationProperty {
DeploymentType = "deploymentType",
LogConfiguration = new LogConfigurationProperty {
Destination = "destination",
Level = "level"
},
MetadataConfiguration = new MetadataConfigurationProperty {
StorageCapacity = 123
},
MountName = "mountName",
PerUnitStorageThroughput = 123,
WeeklyMaintenanceStartTime = "weeklyMaintenanceStartTime"
},
SecurityGroupIds = new [] { "securityGroupIds" },
StorageCapacity = 123,
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnFileCachePropsMixin(ICfnFileCacheMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource Type definition for AWS::FSx::FileCache. |
| Props | Resource Type definition for AWS::FSx::FileCache. |
| Strategy | Resource Type definition for AWS::FSx::FileCache. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnFileCachePropsMixin(ICfnFileCacheMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::FSx::FileCache.
public CfnFileCachePropsMixin(ICfnFileCacheMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnFileCacheMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource Type definition for AWS::FSx::FileCache.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
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.FSx;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnFileCachePropsMixin = new CfnFileCachePropsMixin(new CfnFileCacheMixinProps {
CopyTagsToDataRepositoryAssociations = false,
DataRepositoryAssociations = new [] { new DataRepositoryAssociationProperty {
DataRepositoryPath = "dataRepositoryPath",
FileCachePath = "fileCachePath"
} },
FileCacheType = "fileCacheType",
FileCacheTypeVersion = "fileCacheTypeVersion",
KmsKeyId = "kmsKeyId",
LustreConfiguration = new LustreConfigurationProperty {
DeploymentType = "deploymentType",
LogConfiguration = new LogConfigurationProperty {
Destination = "destination",
Level = "level"
},
MetadataConfiguration = new MetadataConfigurationProperty {
StorageCapacity = 123
},
MountName = "mountName",
PerUnitStorageThroughput = 123,
WeeklyMaintenanceStartTime = "weeklyMaintenanceStartTime"
},
SecurityGroupIds = new [] { "securityGroupIds" },
StorageCapacity = 123,
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource Type definition for AWS::FSx::FileCache.
protected virtual ICfnFileCacheMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
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.FSx;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnFileCachePropsMixin = new CfnFileCachePropsMixin(new CfnFileCacheMixinProps {
CopyTagsToDataRepositoryAssociations = false,
DataRepositoryAssociations = new [] { new DataRepositoryAssociationProperty {
DataRepositoryPath = "dataRepositoryPath",
FileCachePath = "fileCachePath"
} },
FileCacheType = "fileCacheType",
FileCacheTypeVersion = "fileCacheTypeVersion",
KmsKeyId = "kmsKeyId",
LustreConfiguration = new LustreConfigurationProperty {
DeploymentType = "deploymentType",
LogConfiguration = new LogConfigurationProperty {
Destination = "destination",
Level = "level"
},
MetadataConfiguration = new MetadataConfigurationProperty {
StorageCapacity = 123
},
MountName = "mountName",
PerUnitStorageThroughput = 123,
WeeklyMaintenanceStartTime = "weeklyMaintenanceStartTime"
},
SecurityGroupIds = new [] { "securityGroupIds" },
StorageCapacity = 123,
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource Type definition for AWS::FSx::FileCache.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
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.FSx;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnFileCachePropsMixin = new CfnFileCachePropsMixin(new CfnFileCacheMixinProps {
CopyTagsToDataRepositoryAssociations = false,
DataRepositoryAssociations = new [] { new DataRepositoryAssociationProperty {
DataRepositoryPath = "dataRepositoryPath",
FileCachePath = "fileCachePath"
} },
FileCacheType = "fileCacheType",
FileCacheTypeVersion = "fileCacheTypeVersion",
KmsKeyId = "kmsKeyId",
LustreConfiguration = new LustreConfigurationProperty {
DeploymentType = "deploymentType",
LogConfiguration = new LogConfigurationProperty {
Destination = "destination",
Level = "level"
},
MetadataConfiguration = new MetadataConfigurationProperty {
StorageCapacity = 123
},
MountName = "mountName",
PerUnitStorageThroughput = 123,
WeeklyMaintenanceStartTime = "weeklyMaintenanceStartTime"
},
SecurityGroupIds = new [] { "securityGroupIds" },
StorageCapacity = 123,
SubnetIds = new [] { "subnetIds" },
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
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
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-fsx-filecache.html
CloudformationResource: AWS::FSx::FileCache
Mixin: true
ExampleMetadata: fixture=_generated