Class CfnLocationObjectStoragePropsMixin
The AWS::DataSync::LocationObjectStorage resource specifies an endpoint for a self-managed object storage bucket.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.DataSync.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLocationObjectStoragePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnLocationObjectStoragePropsMixin Inherits Mixin Implements IMixin
Remarks
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
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.DataSync.Mixins;
var cfnLocationObjectStoragePropsMixin = new CfnLocationObjectStoragePropsMixin(new CfnLocationObjectStorageMixinProps {
AccessKey = "accessKey",
AgentArns = new [] { "agentArns" },
BucketName = "bucketName",
CmkSecretConfig = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
},
CustomSecretConfig = new CustomSecretConfigProperty {
SecretAccessRoleArn = "secretAccessRoleArn",
SecretArn = "secretArn"
},
SecretKey = "secretKey",
ServerCertificate = "serverCertificate",
ServerHostname = "serverHostname",
ServerPort = 123,
ServerProtocol = "serverProtocol",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnLocationObjectStoragePropsMixin(ICfnLocationObjectStorageMixinProps, 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
CfnLocationObjectStoragePropsMixin(ICfnLocationObjectStorageMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::DataSync::LocationObjectStorage.
public CfnLocationObjectStoragePropsMixin(ICfnLocationObjectStorageMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnLocationObjectStorageMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::DataSync::LocationObjectStorage resource specifies an endpoint for a self-managed object storage bucket.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
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.DataSync.Mixins;
var cfnLocationObjectStoragePropsMixin = new CfnLocationObjectStoragePropsMixin(new CfnLocationObjectStorageMixinProps {
AccessKey = "accessKey",
AgentArns = new [] { "agentArns" },
BucketName = "bucketName",
CmkSecretConfig = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
},
CustomSecretConfig = new CustomSecretConfigProperty {
SecretAccessRoleArn = "secretAccessRoleArn",
SecretArn = "secretArn"
},
SecretKey = "secretKey",
ServerCertificate = "serverCertificate",
ServerHostname = "serverHostname",
ServerPort = 123,
ServerProtocol = "serverProtocol",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
The AWS::DataSync::LocationObjectStorage resource specifies an endpoint for a self-managed object storage bucket.
protected virtual ICfnLocationObjectStorageMixinProps Props { get; }
Property Value
ICfnLocationObjectStorageMixinProps
Remarks
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
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.DataSync.Mixins;
var cfnLocationObjectStoragePropsMixin = new CfnLocationObjectStoragePropsMixin(new CfnLocationObjectStorageMixinProps {
AccessKey = "accessKey",
AgentArns = new [] { "agentArns" },
BucketName = "bucketName",
CmkSecretConfig = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
},
CustomSecretConfig = new CustomSecretConfigProperty {
SecretAccessRoleArn = "secretAccessRoleArn",
SecretArn = "secretArn"
},
SecretKey = "secretKey",
ServerCertificate = "serverCertificate",
ServerHostname = "serverHostname",
ServerPort = 123,
ServerProtocol = "serverProtocol",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
The AWS::DataSync::LocationObjectStorage resource specifies an endpoint for a self-managed object storage bucket.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
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.DataSync.Mixins;
var cfnLocationObjectStoragePropsMixin = new CfnLocationObjectStoragePropsMixin(new CfnLocationObjectStorageMixinProps {
AccessKey = "accessKey",
AgentArns = new [] { "agentArns" },
BucketName = "bucketName",
CmkSecretConfig = new CmkSecretConfigProperty {
KmsKeyArn = "kmsKeyArn",
SecretArn = "secretArn"
},
CustomSecretConfig = new CustomSecretConfigProperty {
SecretAccessRoleArn = "secretAccessRoleArn",
SecretArn = "secretArn"
},
SecretKey = "secretKey",
ServerCertificate = "serverCertificate",
ServerHostname = "serverHostname",
ServerPort = 123,
ServerProtocol = "serverProtocol",
Subdirectory = "subdirectory",
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
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
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
For more information about self-managed object storage locations, see Creating a Location for Object Storage .
CloudformationResource: AWS::DataSync::LocationObjectStorage
Mixin: true
ExampleMetadata: fixture=_generated