Skip to content
v2.278.0

MongoDBTargetProperty Struct ​

Specifies an Amazon DocumentDB or MongoDB data store to crawl.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const mongoDBTargetProperty: glue.CfnCrawler.MongoDBTargetProperty = {
  connectionName: 'connectionName',
  path: 'path',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

mongo_db_target_property = glue.CfnCrawler.MongoDBTargetProperty(
    connection_name="connectionName",
    path="path"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

MongoDBTargetProperty mongoDBTargetProperty = MongoDBTargetProperty.builder()
        .connectionName("connectionName")
        .path("path")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var mongoDBTargetProperty = new MongoDBTargetProperty {
    ConnectionName = "connectionName",
    Path = "path"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mongoDBTargetProperty := &MongoDBTargetProperty{
	ConnectionName: jsii.String("connectionName"),
	Path: jsii.String("path"),
}

Properties ​

connectionNameoptionalstringconnection_nameoptionalstrconnectionNameoptionalStringConnectionNameoptionalstringConnectionNameoptional*string #
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
pathoptionalstringpathoptionalstrpathoptionalStringPathoptionalstringPathoptional*string #
The path of the Amazon DocumentDB or MongoDB target (database/collection).