Class CfnDataProvider
Provides information that defines a data provider.
Inherited Members
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataProvider : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnDataProvider
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html
CloudformationResource: AWS::DMS::DataProvider
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.AWS.DMS;
var cfnDataProvider = new CfnDataProvider(this, "MyCfnDataProvider", new CfnDataProviderProps {
Engine = "engine",
// the properties below are optional
DataProviderIdentifier = "dataProviderIdentifier",
DataProviderName = "dataProviderName",
Description = "description",
ExactSettings = false,
Settings = new SettingsProperty {
MicrosoftSqlServerSettings = new MicrosoftSqlServerSettingsProperty {
DatabaseName = "databaseName",
Port = 123,
ServerName = "serverName",
SslMode = "sslMode",
// the properties below are optional
CertificateArn = "certificateArn"
},
MySqlSettings = new MySqlSettingsProperty {
Port = 123,
ServerName = "serverName",
SslMode = "sslMode",
// the properties below are optional
CertificateArn = "certificateArn"
},
OracleSettings = new OracleSettingsProperty {
DatabaseName = "databaseName",
Port = 123,
ServerName = "serverName",
SslMode = "sslMode",
// the properties below are optional
AsmServer = "asmServer",
CertificateArn = "certificateArn",
SecretsManagerOracleAsmAccessRoleArn = "secretsManagerOracleAsmAccessRoleArn",
SecretsManagerOracleAsmSecretId = "secretsManagerOracleAsmSecretId",
SecretsManagerSecurityDbEncryptionAccessRoleArn = "secretsManagerSecurityDbEncryptionAccessRoleArn",
SecretsManagerSecurityDbEncryptionSecretId = "secretsManagerSecurityDbEncryptionSecretId"
},
PostgreSqlSettings = new PostgreSqlSettingsProperty {
DatabaseName = "databaseName",
Port = 123,
ServerName = "serverName",
SslMode = "sslMode",
// the properties below are optional
CertificateArn = "certificateArn"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnDataProvider(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDataProvider(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDataProvider(Construct, String, ICfnDataProviderProps) |
Properties
AttrDataProviderArn | The Amazon Resource Name (ARN) string that uniquely identifies the data provider. |
AttrDataProviderCreationTime | The time the data provider was created. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DataProviderIdentifier | The identifier of the data provider. |
DataProviderName | The name of the data provider. |
Description | A description of the data provider. |
Engine | The type of database engine for the data provider. |
ExactSettings | The property describes the exact settings which can be modified. |
Settings | The settings in JSON format for a data provider. |
Tags | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDataProvider(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDataProvider(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDataProvider(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDataProvider(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDataProvider(Construct, String, ICfnDataProviderProps)
public CfnDataProvider(Construct scope, string id, ICfnDataProviderProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDataProviderProps
Resource properties.
Properties
AttrDataProviderArn
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
public virtual string AttrDataProviderArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DataProviderArn
AttrDataProviderCreationTime
The time the data provider was created.
public virtual string AttrDataProviderCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DataProviderCreationTime
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DataProviderIdentifier
The identifier of the data provider.
public virtual string DataProviderIdentifier { get; set; }
Property Value
System.String
DataProviderName
The name of the data provider.
public virtual string DataProviderName { get; set; }
Property Value
System.String
Description
A description of the data provider.
public virtual string Description { get; set; }
Property Value
System.String
Engine
The type of database engine for the data provider.
public virtual string Engine { get; set; }
Property Value
System.String
ExactSettings
The property describes the exact settings which can be modified.
public virtual object ExactSettings { get; set; }
Property Value
System.Object
Settings
The settings in JSON format for a data provider.
public virtual object Settings { get; set; }
Property Value
System.Object
Tags
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>