Skip to content

Commit 0da7d5d

Browse files
committed
chore(release): 1.19.0
1 parent 197f1f0 commit 0da7d5d

33 files changed

+2698
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.19.0](https://github.com/DataDog/datadog-cdk-constructs/compare/v2-1.18.0...v2-1.19.0) (2024-11-15)
6+
7+
8+
### Features
9+
10+
* [Step Function] Set up logging ([#318](https://github.com/DataDog/datadog-cdk-constructs/issues/318)) ([49ae769](https://github.com/DataDog/datadog-cdk-constructs/commit/49ae76996a94585d0ff308ec41acf5c6e2947bb5))
11+
* [Step Function] Subscribe forwarder to log group ([#319](https://github.com/DataDog/datadog-cdk-constructs/issues/319)) ([b91b796](https://github.com/DataDog/datadog-cdk-constructs/commit/b91b79690de4b7aa0f70d61211c62d8025fc1568))
12+
* add skeleton of step function class and example stack ([#315](https://github.com/DataDog/datadog-cdk-constructs/issues/315)) ([225ad21](https://github.com/DataDog/datadog-cdk-constructs/commit/225ad21fae8f99aed3304eb9bf0442d53fe1c82e))
13+
* Support StepFunction->Lambda trace merging ([#325](https://github.com/DataDog/datadog-cdk-constructs/issues/325)) ([cd49812](https://github.com/DataDog/datadog-cdk-constructs/commit/cd49812784c143572ee459f4d82dd2e8927b053e))
14+
* Support StepFunction->StepFunction trace merging ([#326](https://github.com/DataDog/datadog-cdk-constructs/issues/326)) ([0fc4e7d](https://github.com/DataDog/datadog-cdk-constructs/commit/0fc4e7d886665bf167e5dfcbf597b545883978a8))
15+
* update example code and doc to use DatadogLambda ([#289](https://github.com/DataDog/datadog-cdk-constructs/issues/289)) ([fbf5c43](https://github.com/DataDog/datadog-cdk-constructs/commit/fbf5c43bd72a4dc2193e2659e6b2bb133953ef46))
16+
517
## [1.18.0](https://github.com/DataDog/datadog-cdk-constructs/compare/v2-1.17.0...v2-1.18.0) (2024-10-17)
618

719

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
package ddcdkconstruct
2+
3+
import (
4+
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
5+
_init_ "github.com/DataDog/datadog-cdk-constructs-go/ddcdkconstruct/jsii"
6+
7+
"github.com/aws/aws-cdk-go/awscdk/v2/awslogs"
8+
"github.com/aws/constructs-go/constructs/v10"
9+
)
10+
11+
// For backward compatibility.
12+
//
13+
// It's recommended to use DatadogLambda for
14+
// users who want to add Datadog monitoring for Lambda functions.
15+
type Datadog interface {
16+
DatadogLambda
17+
// The tree node.
18+
Node() constructs.Node
19+
Props() *DatadogLambdaProps
20+
SetProps(val *DatadogLambdaProps)
21+
Scope() constructs.Construct
22+
SetScope(val constructs.Construct)
23+
Transport() Transport
24+
SetTransport(val Transport)
25+
AddForwarderToNonLambdaLogGroups(logGroups *[]awslogs.ILogGroup)
26+
AddGitCommitMetadata(lambdaFunctions *[]interface{}, gitCommitSha *string, gitRepoUrl *string)
27+
AddLambdaFunctions(lambdaFunctions *[]interface{}, construct constructs.Construct)
28+
// Returns a string representation of this construct.
29+
ToString() *string
30+
}
31+
32+
// The jsii proxy struct for Datadog
33+
type jsiiProxy_Datadog struct {
34+
jsiiProxy_DatadogLambda
35+
}
36+
37+
func (j *jsiiProxy_Datadog) Node() constructs.Node {
38+
var returns constructs.Node
39+
_jsii_.Get(
40+
j,
41+
"node",
42+
&returns,
43+
)
44+
return returns
45+
}
46+
47+
func (j *jsiiProxy_Datadog) Props() *DatadogLambdaProps {
48+
var returns *DatadogLambdaProps
49+
_jsii_.Get(
50+
j,
51+
"props",
52+
&returns,
53+
)
54+
return returns
55+
}
56+
57+
func (j *jsiiProxy_Datadog) Scope() constructs.Construct {
58+
var returns constructs.Construct
59+
_jsii_.Get(
60+
j,
61+
"scope",
62+
&returns,
63+
)
64+
return returns
65+
}
66+
67+
func (j *jsiiProxy_Datadog) Transport() Transport {
68+
var returns Transport
69+
_jsii_.Get(
70+
j,
71+
"transport",
72+
&returns,
73+
)
74+
return returns
75+
}
76+
77+
78+
func NewDatadog(scope constructs.Construct, id *string, props *DatadogProps) Datadog {
79+
_init_.Initialize()
80+
81+
if err := validateNewDatadogParameters(scope, id, props); err != nil {
82+
panic(err)
83+
}
84+
j := jsiiProxy_Datadog{}
85+
86+
_jsii_.Create(
87+
"datadog-cdk-constructs-v2.Datadog",
88+
[]interface{}{scope, id, props},
89+
&j,
90+
)
91+
92+
return &j
93+
}
94+
95+
func NewDatadog_Override(d Datadog, scope constructs.Construct, id *string, props *DatadogProps) {
96+
_init_.Initialize()
97+
98+
_jsii_.Create(
99+
"datadog-cdk-constructs-v2.Datadog",
100+
[]interface{}{scope, id, props},
101+
d,
102+
)
103+
}
104+
105+
func (j *jsiiProxy_Datadog)SetProps(val *DatadogLambdaProps) {
106+
if err := j.validateSetPropsParameters(val); err != nil {
107+
panic(err)
108+
}
109+
_jsii_.Set(
110+
j,
111+
"props",
112+
val,
113+
)
114+
}
115+
116+
func (j *jsiiProxy_Datadog)SetScope(val constructs.Construct) {
117+
if err := j.validateSetScopeParameters(val); err != nil {
118+
panic(err)
119+
}
120+
_jsii_.Set(
121+
j,
122+
"scope",
123+
val,
124+
)
125+
}
126+
127+
func (j *jsiiProxy_Datadog)SetTransport(val Transport) {
128+
if err := j.validateSetTransportParameters(val); err != nil {
129+
panic(err)
130+
}
131+
_jsii_.Set(
132+
j,
133+
"transport",
134+
val,
135+
)
136+
}
137+
138+
// Checks if `x` is a construct.
139+
//
140+
// Returns: true if `x` is an object created from a class which extends `Construct`.
141+
// Deprecated: use `x instanceof Construct` instead.
142+
func Datadog_IsConstruct(x interface{}) *bool {
143+
_init_.Initialize()
144+
145+
if err := validateDatadog_IsConstructParameters(x); err != nil {
146+
panic(err)
147+
}
148+
var returns *bool
149+
150+
_jsii_.StaticInvoke(
151+
"datadog-cdk-constructs-v2.Datadog",
152+
"isConstruct",
153+
[]interface{}{x},
154+
&returns,
155+
)
156+
157+
return returns
158+
}
159+
160+
func (d *jsiiProxy_Datadog) AddForwarderToNonLambdaLogGroups(logGroups *[]awslogs.ILogGroup) {
161+
if err := d.validateAddForwarderToNonLambdaLogGroupsParameters(logGroups); err != nil {
162+
panic(err)
163+
}
164+
_jsii_.InvokeVoid(
165+
d,
166+
"addForwarderToNonLambdaLogGroups",
167+
[]interface{}{logGroups},
168+
)
169+
}
170+
171+
func (d *jsiiProxy_Datadog) AddGitCommitMetadata(lambdaFunctions *[]interface{}, gitCommitSha *string, gitRepoUrl *string) {
172+
if err := d.validateAddGitCommitMetadataParameters(lambdaFunctions); err != nil {
173+
panic(err)
174+
}
175+
_jsii_.InvokeVoid(
176+
d,
177+
"addGitCommitMetadata",
178+
[]interface{}{lambdaFunctions, gitCommitSha, gitRepoUrl},
179+
)
180+
}
181+
182+
func (d *jsiiProxy_Datadog) AddLambdaFunctions(lambdaFunctions *[]interface{}, construct constructs.Construct) {
183+
if err := d.validateAddLambdaFunctionsParameters(lambdaFunctions); err != nil {
184+
panic(err)
185+
}
186+
_jsii_.InvokeVoid(
187+
d,
188+
"addLambdaFunctions",
189+
[]interface{}{lambdaFunctions, construct},
190+
)
191+
}
192+
193+
func (d *jsiiProxy_Datadog) ToString() *string {
194+
var returns *string
195+
196+
_jsii_.Invoke(
197+
d,
198+
"toString",
199+
nil, // no parameters
200+
&returns,
201+
)
202+
203+
return returns
204+
}
205+

0 commit comments

Comments
 (0)