Skip to content
v2.278.0

MavenReferenceProperty Struct ​

The information required to specify a Maven reference.

You can use Maven references to specify dependency JAR files.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const mavenReferenceProperty: kinesisanalytics.CfnApplicationV2.MavenReferenceProperty = {
  artifactId: 'artifactId',
  groupId: 'groupId',
  version: 'version',
};
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_kinesisanalytics as kinesisanalytics

maven_reference_property = kinesisanalytics.CfnApplicationV2.MavenReferenceProperty(
    artifact_id="artifactId",
    group_id="groupId",
    version="version"
)
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.kinesisanalytics.*;

MavenReferenceProperty mavenReferenceProperty = MavenReferenceProperty.builder()
        .artifactId("artifactId")
        .groupId("groupId")
        .version("version")
        .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.KinesisAnalytics;

var mavenReferenceProperty = new MavenReferenceProperty {
    ArtifactId = "artifactId",
    GroupId = "groupId",
    Version = "version"
};
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"

mavenReferenceProperty := &MavenReferenceProperty{
	ArtifactId: jsii.String("artifactId"),
	GroupId: jsii.String("groupId"),
	Version: jsii.String("version"),
}

Properties ​

artifactIdstringartifact_idstrartifactIdStringArtifactIdstringArtifactId*string required #
The artifact ID of the Maven reference.
groupIdstringgroup_idstrgroupIdStringGroupIdstringGroupId*string required #
The group ID of the Maven reference.
versionstringversionstrversionStringVersionstringVersion*string required #
The version of the Maven reference.