@pulumi/datadog 4.38.0-alpha.1734499896 → 4.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/input.d.ts CHANGED
@@ -21277,6 +21277,10 @@ export interface SyntheticsTestApiStep {
21277
21277
  * Assertions used for the test. Multiple `assertion` blocks are allowed with the structure below.
21278
21278
  */
21279
21279
  assertions?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestApiStepAssertion>[]>;
21280
+ /**
21281
+ * Determines whether or not to exit the test if the step succeeds.
21282
+ */
21283
+ exitIfSucceed?: pulumi.Input<boolean>;
21280
21284
  /**
21281
21285
  * Values to parse and save as variables from the response.
21282
21286
  */
@@ -21673,11 +21677,11 @@ export interface SyntheticsTestApiStepRequestProxy {
21673
21677
  }
21674
21678
  export interface SyntheticsTestApiStepRetry {
21675
21679
  /**
21676
- * Number of retries needed to consider a location as failed before sending a notification alert. Defaults to `0`.
21680
+ * Number of retries needed to consider a location as failed before sending a notification alert. Maximum value: `5`. Defaults to `0`.
21677
21681
  */
21678
21682
  count?: pulumi.Input<number>;
21679
21683
  /**
21680
- * Interval between a failed test and the next retry in milliseconds. Defaults to `300`.
21684
+ * Interval between a failed test and the next retry in milliseconds. Maximum value: `5000`. Defaults to `300`.
21681
21685
  */
21682
21686
  interval?: pulumi.Input<number>;
21683
21687
  }
@@ -21951,6 +21955,237 @@ export interface SyntheticsTestConfigVariable {
21951
21955
  */
21952
21956
  type: pulumi.Input<string>;
21953
21957
  }
21958
+ export interface SyntheticsTestMobileOptionsList {
21959
+ allowApplicationCrash?: pulumi.Input<boolean>;
21960
+ bindings?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestMobileOptionsListBinding>[]>;
21961
+ /**
21962
+ * CI/CD options for a Synthetic test.
21963
+ */
21964
+ ci?: pulumi.Input<inputs.SyntheticsTestMobileOptionsListCi>;
21965
+ defaultStepTimeout?: pulumi.Input<number>;
21966
+ deviceIds: pulumi.Input<pulumi.Input<string>[]>;
21967
+ disableAutoAcceptAlert?: pulumi.Input<boolean>;
21968
+ /**
21969
+ * Minimum amount of time in failure required to trigger an alert (in seconds). Default is `0`.
21970
+ */
21971
+ minFailureDuration?: pulumi.Input<number>;
21972
+ mobileApplication: pulumi.Input<inputs.SyntheticsTestMobileOptionsListMobileApplication>;
21973
+ /**
21974
+ * The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
21975
+ */
21976
+ monitorName?: pulumi.Input<string>;
21977
+ monitorOptions?: pulumi.Input<inputs.SyntheticsTestMobileOptionsListMonitorOptions>;
21978
+ monitorPriority?: pulumi.Input<number>;
21979
+ /**
21980
+ * Prevents saving screenshots of the steps.
21981
+ */
21982
+ noScreenshot?: pulumi.Input<boolean>;
21983
+ /**
21984
+ * A list of role identifiers pulled from the Roles API to restrict read and write access.
21985
+ */
21986
+ restrictedRoles?: pulumi.Input<pulumi.Input<string>[]>;
21987
+ retry?: pulumi.Input<inputs.SyntheticsTestMobileOptionsListRetry>;
21988
+ /**
21989
+ * Object containing timeframes and timezone used for advanced scheduling.
21990
+ */
21991
+ scheduling?: pulumi.Input<inputs.SyntheticsTestMobileOptionsListScheduling>;
21992
+ /**
21993
+ * How often the test should run (in seconds).
21994
+ */
21995
+ tickEvery: pulumi.Input<number>;
21996
+ verbosity?: pulumi.Input<number>;
21997
+ }
21998
+ export interface SyntheticsTestMobileOptionsListBinding {
21999
+ principals?: pulumi.Input<pulumi.Input<string>[]>;
22000
+ /**
22001
+ * Valid values are `editor`, `viewer`.
22002
+ */
22003
+ relation?: pulumi.Input<string>;
22004
+ }
22005
+ export interface SyntheticsTestMobileOptionsListCi {
22006
+ /**
22007
+ * Execution rule for a Synthetics test. Valid values are `blocking`, `nonBlocking`, `skipped`.
22008
+ */
22009
+ executionRule: pulumi.Input<string>;
22010
+ }
22011
+ export interface SyntheticsTestMobileOptionsListMobileApplication {
22012
+ applicationId: pulumi.Input<string>;
22013
+ referenceId: pulumi.Input<string>;
22014
+ /**
22015
+ * Valid values are `latest`, `version`.
22016
+ */
22017
+ referenceType: pulumi.Input<string>;
22018
+ }
22019
+ export interface SyntheticsTestMobileOptionsListMonitorOptions {
22020
+ escalationMessage?: pulumi.Input<string>;
22021
+ /**
22022
+ * Valid values are `showAll`, `hideAll`, `hideQuery`, `hideHandles`.
22023
+ */
22024
+ notificationPresetName?: pulumi.Input<string>;
22025
+ /**
22026
+ * Specify a renotification frequency in minutes. Values available by default are `0`, `10`, `20`, `30`, `40`, `50`, `60`, `90`, `120`, `180`, `240`, `300`, `360`, `720`, `1440`. Defaults to `0`.
22027
+ */
22028
+ renotifyInterval?: pulumi.Input<number>;
22029
+ renotifyOccurrences?: pulumi.Input<number>;
22030
+ }
22031
+ export interface SyntheticsTestMobileOptionsListRetry {
22032
+ /**
22033
+ * Number of retries needed to consider a location as failed before sending a notification alert. Maximum value: `5`. Defaults to `0`.
22034
+ */
22035
+ count?: pulumi.Input<number>;
22036
+ /**
22037
+ * Interval between a failed test and the next retry in milliseconds. Maximum value: `5000`. Defaults to `300`.
22038
+ */
22039
+ interval?: pulumi.Input<number>;
22040
+ }
22041
+ export interface SyntheticsTestMobileOptionsListScheduling {
22042
+ /**
22043
+ * Array containing objects describing the scheduling pattern to apply to each day.
22044
+ */
22045
+ timeframes: pulumi.Input<pulumi.Input<inputs.SyntheticsTestMobileOptionsListSchedulingTimeframe>[]>;
22046
+ /**
22047
+ * Timezone in which the timeframe is based.
22048
+ */
22049
+ timezone: pulumi.Input<string>;
22050
+ }
22051
+ export interface SyntheticsTestMobileOptionsListSchedulingTimeframe {
22052
+ /**
22053
+ * Number representing the day of the week
22054
+ */
22055
+ day: pulumi.Input<number>;
22056
+ /**
22057
+ * The hour of the day on which scheduling starts.
22058
+ */
22059
+ from: pulumi.Input<string>;
22060
+ /**
22061
+ * The hour of the day on which scheduling ends.
22062
+ */
22063
+ to: pulumi.Input<string>;
22064
+ }
22065
+ export interface SyntheticsTestMobileStep {
22066
+ /**
22067
+ * A boolean set to allow this step to fail.
22068
+ */
22069
+ allowFailure?: pulumi.Input<boolean>;
22070
+ /**
22071
+ * A boolean set to determine if the step has a new step element.
22072
+ */
22073
+ hasNewStepElement?: pulumi.Input<boolean>;
22074
+ /**
22075
+ * A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails.
22076
+ */
22077
+ isCritical?: pulumi.Input<boolean>;
22078
+ /**
22079
+ * The name of the step.
22080
+ */
22081
+ name: pulumi.Input<string>;
22082
+ /**
22083
+ * A boolean set to not take a screenshot for the step.
22084
+ */
22085
+ noScreenshot?: pulumi.Input<boolean>;
22086
+ /**
22087
+ * Parameters for the step.
22088
+ */
22089
+ params: pulumi.Input<inputs.SyntheticsTestMobileStepParams>;
22090
+ /**
22091
+ * The public ID of the step.
22092
+ */
22093
+ publicId?: pulumi.Input<string>;
22094
+ /**
22095
+ * The time before declaring a step failed.
22096
+ */
22097
+ timeout?: pulumi.Input<number>;
22098
+ /**
22099
+ * The type of the step. Valid values are `assertElementContent`, `assertScreenContains`, `assertScreenLacks`, `doubleTap`, `extractVariable`, `flick`, `openDeeplink`, `playSubTest`, `pressBack`, `restartApplication`, `rotate`, `scroll`, `scrollToElement`, `tap`, `toggleWiFi`, `typeText`, `wait`.
22100
+ */
22101
+ type: pulumi.Input<string>;
22102
+ }
22103
+ export interface SyntheticsTestMobileStepParams {
22104
+ /**
22105
+ * Check type to use for an assertion step. Valid values are `equals`, `notEquals`, `contains`, `notContains`, `startsWith`, `notStartsWith`, `greater`, `lower`, `greaterEquals`, `lowerEquals`, `matchRegex`, `between`, `isEmpty`, `notIsEmpty`.
22106
+ */
22107
+ check?: pulumi.Input<string>;
22108
+ /**
22109
+ * Delay between each key stroke for a "type test" step.
22110
+ */
22111
+ delay?: pulumi.Input<number>;
22112
+ /**
22113
+ * Valid values are `up`, `down`, `left`, `right`.
22114
+ */
22115
+ direction?: pulumi.Input<string>;
22116
+ /**
22117
+ * Element to use for the step, JSON encoded string.
22118
+ */
22119
+ element?: pulumi.Input<inputs.SyntheticsTestMobileStepParamsElement>;
22120
+ enable?: pulumi.Input<boolean>;
22121
+ maxScrolls?: pulumi.Input<number>;
22122
+ positions?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestMobileStepParamsPosition>[]>;
22123
+ /**
22124
+ * ID of the Synthetics test to use as subtest.
22125
+ */
22126
+ subtestPublicId?: pulumi.Input<string>;
22127
+ /**
22128
+ * Value of the step.
22129
+ */
22130
+ value?: pulumi.Input<string>;
22131
+ /**
22132
+ * Details of the variable to extract.
22133
+ */
22134
+ variable?: pulumi.Input<inputs.SyntheticsTestMobileStepParamsVariable>;
22135
+ withEnter?: pulumi.Input<boolean>;
22136
+ /**
22137
+ * X coordinates for a "scroll step".
22138
+ */
22139
+ x?: pulumi.Input<number>;
22140
+ /**
22141
+ * Y coordinates for a "scroll step".
22142
+ */
22143
+ y?: pulumi.Input<number>;
22144
+ }
22145
+ export interface SyntheticsTestMobileStepParamsElement {
22146
+ context?: pulumi.Input<string>;
22147
+ /**
22148
+ * Valid values are `native`, `web`.
22149
+ */
22150
+ contextType?: pulumi.Input<string>;
22151
+ elementDescription?: pulumi.Input<string>;
22152
+ multiLocator?: pulumi.Input<{
22153
+ [key: string]: pulumi.Input<string>;
22154
+ }>;
22155
+ relativePosition?: pulumi.Input<inputs.SyntheticsTestMobileStepParamsElementRelativePosition>;
22156
+ textContent?: pulumi.Input<string>;
22157
+ userLocator?: pulumi.Input<inputs.SyntheticsTestMobileStepParamsElementUserLocator>;
22158
+ viewName?: pulumi.Input<string>;
22159
+ }
22160
+ export interface SyntheticsTestMobileStepParamsElementRelativePosition {
22161
+ x?: pulumi.Input<number>;
22162
+ y?: pulumi.Input<number>;
22163
+ }
22164
+ export interface SyntheticsTestMobileStepParamsElementUserLocator {
22165
+ failTestOnCannotLocate?: pulumi.Input<boolean>;
22166
+ values?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestMobileStepParamsElementUserLocatorValue>[]>;
22167
+ }
22168
+ export interface SyntheticsTestMobileStepParamsElementUserLocatorValue {
22169
+ /**
22170
+ * Valid values are `accessibility-id`, `id`, `ios-predicate-string`, `ios-class-chain`, `xpath`.
22171
+ */
22172
+ type?: pulumi.Input<string>;
22173
+ value?: pulumi.Input<string>;
22174
+ }
22175
+ export interface SyntheticsTestMobileStepParamsPosition {
22176
+ x?: pulumi.Input<number>;
22177
+ y?: pulumi.Input<number>;
22178
+ }
22179
+ export interface SyntheticsTestMobileStepParamsVariable {
22180
+ /**
22181
+ * Example of the extracted variable. Defaults to `""`.
22182
+ */
22183
+ example?: pulumi.Input<string>;
22184
+ /**
22185
+ * Name of the extracted variable.
22186
+ */
22187
+ name: pulumi.Input<string>;
22188
+ }
21954
22189
  export interface SyntheticsTestOptionsList {
21955
22190
  /**
21956
22191
  * For SSL test, whether or not the test should allow self signed certificates.
@@ -22042,11 +22277,11 @@ export interface SyntheticsTestOptionsListMonitorOptions {
22042
22277
  }
22043
22278
  export interface SyntheticsTestOptionsListRetry {
22044
22279
  /**
22045
- * Number of retries needed to consider a location as failed before sending a notification alert. Defaults to `0`.
22280
+ * Number of retries needed to consider a location as failed before sending a notification alert. Maximum value: `5`. Defaults to `0`.
22046
22281
  */
22047
22282
  count?: pulumi.Input<number>;
22048
22283
  /**
22049
- * Interval between a failed test and the next retry in milliseconds. Defaults to `300`.
22284
+ * Interval between a failed test and the next retry in milliseconds. Maximum value: `5000`. Defaults to `300`.
22050
22285
  */
22051
22286
  interval?: pulumi.Input<number>;
22052
22287
  }
@@ -22311,6 +22546,119 @@ export interface SyntheticsTestRequestProxy {
22311
22546
  url: pulumi.Input<string>;
22312
22547
  }
22313
22548
  export declare namespace aws {
22549
+ interface IntegrationAccountAuthConfig {
22550
+ awsAuthConfigKeys?: pulumi.Input<inputs.aws.IntegrationAccountAuthConfigAwsAuthConfigKeys>;
22551
+ awsAuthConfigRole?: pulumi.Input<inputs.aws.IntegrationAccountAuthConfigAwsAuthConfigRole>;
22552
+ }
22553
+ interface IntegrationAccountAuthConfigAwsAuthConfigKeys {
22554
+ /**
22555
+ * AWS Access Key ID
22556
+ */
22557
+ accessKeyId?: pulumi.Input<string>;
22558
+ secretAccessKey?: pulumi.Input<string>;
22559
+ }
22560
+ interface IntegrationAccountAuthConfigAwsAuthConfigRole {
22561
+ /**
22562
+ * AWS IAM External ID for associated role
22563
+ */
22564
+ externalId?: pulumi.Input<string>;
22565
+ /**
22566
+ * AWS IAM Role name
22567
+ */
22568
+ roleName?: pulumi.Input<string>;
22569
+ }
22570
+ interface IntegrationAccountAwsRegions {
22571
+ /**
22572
+ * Include all regions. Defaults to `true`.
22573
+ */
22574
+ includeAll?: pulumi.Input<boolean>;
22575
+ /**
22576
+ * Include only these regions.
22577
+ */
22578
+ includeOnlies?: pulumi.Input<pulumi.Input<string>[]>;
22579
+ }
22580
+ interface IntegrationAccountLogsConfig {
22581
+ lambdaForwarder?: pulumi.Input<inputs.aws.IntegrationAccountLogsConfigLambdaForwarder>;
22582
+ }
22583
+ interface IntegrationAccountLogsConfigLambdaForwarder {
22584
+ /**
22585
+ * List of Datadog Lambda Log Forwarder ARNs in your AWS account.
22586
+ */
22587
+ lambdas?: pulumi.Input<pulumi.Input<string>[]>;
22588
+ /**
22589
+ * List of service IDs set to enable automatic log collection. Use `datadog.aws.getIntegrationAvailableLogsServices` data source to get allowed values.
22590
+ */
22591
+ sources?: pulumi.Input<pulumi.Input<string>[]>;
22592
+ }
22593
+ interface IntegrationAccountMetricsConfig {
22594
+ /**
22595
+ * Enable EC2 automute for AWS metrics Defaults to `true`.
22596
+ */
22597
+ automuteEnabled?: pulumi.Input<boolean>;
22598
+ /**
22599
+ * Enable CloudWatch alarms collection Defaults to `false`.
22600
+ */
22601
+ collectCloudwatchAlarms?: pulumi.Input<boolean>;
22602
+ /**
22603
+ * Enable custom metrics collection Defaults to `false`.
22604
+ */
22605
+ collectCustomMetrics?: pulumi.Input<boolean>;
22606
+ /**
22607
+ * Enable AWS metrics collection Defaults to `true`.
22608
+ */
22609
+ enabled?: pulumi.Input<boolean>;
22610
+ namespaceFilters?: pulumi.Input<inputs.aws.IntegrationAccountMetricsConfigNamespaceFilters>;
22611
+ /**
22612
+ * AWS Metrics Collection tag filters list. The array of custom AWS resource tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from a specified service. Wildcards, such as `?` (match a single character) and `*` (match multiple characters), and exclusion using `!` before the tag are supported. For EC2, only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. For example, `env:production,instance-type:c?.*,!region:us-east-1`.
22613
+ */
22614
+ tagFilters?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationAccountMetricsConfigTagFilter>[]>;
22615
+ }
22616
+ interface IntegrationAccountMetricsConfigNamespaceFilters {
22617
+ /**
22618
+ * Exclude only these namespaces from metrics collection. Use `datadog.aws.getIntegrationAvailableNamespaces` data source to get allowed values. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce"]`. `AWS/SQS` and `AWS/ElasticMapReduce` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
22619
+ */
22620
+ excludeOnlies?: pulumi.Input<pulumi.Input<string>[]>;
22621
+ /**
22622
+ * Include only these namespaces for metrics collection. Use `datadog.aws.getIntegrationAvailableNamespaces` data source to get allowed values.
22623
+ */
22624
+ includeOnlies?: pulumi.Input<pulumi.Input<string>[]>;
22625
+ }
22626
+ interface IntegrationAccountMetricsConfigTagFilter {
22627
+ /**
22628
+ * The AWS service for which the tag filters defined in `tags` will be applied.
22629
+ */
22630
+ namespace: pulumi.Input<string>;
22631
+ /**
22632
+ * The AWS resource tags to filter on for the service specified by `namespace`.
22633
+ */
22634
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
22635
+ }
22636
+ interface IntegrationAccountResourcesConfig {
22637
+ /**
22638
+ * Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Requires `extendedCollection` to be set to `true`. Defaults to `false`.
22639
+ */
22640
+ cloudSecurityPostureManagementCollection?: pulumi.Input<boolean>;
22641
+ /**
22642
+ * Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cloudSecurityPostureManagementCollection`. Defaults to `true`.
22643
+ */
22644
+ extendedCollection?: pulumi.Input<boolean>;
22645
+ }
22646
+ interface IntegrationAccountTracesConfig {
22647
+ /**
22648
+ * AWS X-Ray services to collect traces from.
22649
+ */
22650
+ xrayServices?: pulumi.Input<inputs.aws.IntegrationAccountTracesConfigXrayServices>;
22651
+ }
22652
+ interface IntegrationAccountTracesConfigXrayServices {
22653
+ /**
22654
+ * Include all services
22655
+ */
22656
+ includeAll?: pulumi.Input<boolean>;
22657
+ /**
22658
+ * Include only these services
22659
+ */
22660
+ includeOnlies?: pulumi.Input<pulumi.Input<string>[]>;
22661
+ }
22314
22662
  }
22315
22663
  export declare namespace config {
22316
22664
  }