@pulumi/aws 6.5.0-alpha.1696862389 → 6.5.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.
Files changed (38) hide show
  1. package/codecommit/repository.d.ts +3 -1
  2. package/codecommit/repository.js +3 -1
  3. package/codecommit/repository.js.map +1 -1
  4. package/guardduty/detector.d.ts +4 -4
  5. package/guardduty/detector.js +1 -1
  6. package/guardduty/detectorFeature.d.ts +108 -0
  7. package/guardduty/detectorFeature.js +83 -0
  8. package/guardduty/detectorFeature.js.map +1 -0
  9. package/guardduty/getDetector.d.ts +5 -0
  10. package/guardduty/getDetector.js.map +1 -1
  11. package/guardduty/index.d.ts +3 -0
  12. package/guardduty/index.js +6 -1
  13. package/guardduty/index.js.map +1 -1
  14. package/kinesis/firehoseDeliveryStream.d.ts +80 -29
  15. package/kinesis/firehoseDeliveryStream.js +39 -2
  16. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  17. package/medialive/channel.d.ts +3 -3
  18. package/package.json +1 -1
  19. package/servicequotas/index.d.ts +3 -0
  20. package/servicequotas/index.js +6 -1
  21. package/servicequotas/index.js.map +1 -1
  22. package/servicequotas/template.d.ts +144 -0
  23. package/servicequotas/template.js +103 -0
  24. package/servicequotas/template.js.map +1 -0
  25. package/sesv2/accountVdmAttributes.d.ts +109 -0
  26. package/sesv2/accountVdmAttributes.js +85 -0
  27. package/sesv2/accountVdmAttributes.js.map +1 -0
  28. package/sesv2/index.d.ts +3 -0
  29. package/sesv2/index.js +6 -1
  30. package/sesv2/index.js.map +1 -1
  31. package/types/input.d.ts +226 -7
  32. package/types/output.d.ts +251 -8
  33. package/verifiedaccess/index.d.ts +3 -0
  34. package/verifiedaccess/index.js +6 -1
  35. package/verifiedaccess/index.js.map +1 -1
  36. package/verifiedaccess/instanceTrustProviderAttachment.d.ts +92 -0
  37. package/verifiedaccess/instanceTrustProviderAttachment.js +89 -0
  38. package/verifiedaccess/instanceTrustProviderAttachment.js.map +1 -0
package/types/output.d.ts CHANGED
@@ -12954,7 +12954,7 @@ export declare namespace codedeploy {
12954
12954
  */
12955
12955
  enabled?: boolean;
12956
12956
  /**
12957
- * The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE` and `DEPLOYMENT_STOP_ON_ALARM`.
12957
+ * The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE`, `DEPLOYMENT_STOP_ON_ALARM` and `DEPLOYMENT_STOP_ON_REQUEST`.
12958
12958
  *
12959
12959
  * _Only one `autoRollbackConfiguration` is allowed_.
12960
12960
  */
@@ -23515,7 +23515,7 @@ export declare namespace ec2 {
23515
23515
  /**
23516
23516
  * The DNS records created for the endpoint. Valid values are `ipv4`, `dualstack`, `service-defined`, and `ipv6`.
23517
23517
  */
23518
- dnsRecordIpType?: string;
23518
+ dnsRecordIpType: string;
23519
23519
  /**
23520
23520
  * Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint. Default is `false`. Can only be specified if privateDnsEnabled is `true`.
23521
23521
  */
@@ -29844,6 +29844,8 @@ export declare namespace guardduty {
29844
29844
  /**
29845
29845
  * Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
29846
29846
  * See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
29847
+ *
29848
+ * The `datasources` block is deprecated since March 2023. Use the `features` block instead and [map each `datasources` block to the corresponding `features` block](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html#guardduty-feature-enablement-datasource-relation).
29847
29849
  */
29848
29850
  malwareProtection: outputs.guardduty.DetectorDatasourcesMalwareProtection;
29849
29851
  /**
@@ -29893,6 +29895,16 @@ export declare namespace guardduty {
29893
29895
  */
29894
29896
  enable: boolean;
29895
29897
  }
29898
+ interface DetectorFeatureAdditionalConfiguration {
29899
+ /**
29900
+ * The name of the additional configuration. Valid values: `EKS_ADDON_MANAGEMENT`.
29901
+ */
29902
+ name: string;
29903
+ /**
29904
+ * The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
29905
+ */
29906
+ status: string;
29907
+ }
29896
29908
  interface FilterFindingCriteria {
29897
29909
  criterions: outputs.guardduty.FilterFindingCriteriaCriterion[];
29898
29910
  }
@@ -29926,6 +29938,30 @@ export declare namespace guardduty {
29926
29938
  */
29927
29939
  notEquals?: string[];
29928
29940
  }
29941
+ interface GetDetectorFeature {
29942
+ /**
29943
+ * Additional feature configuration.
29944
+ */
29945
+ additionalConfigurations: outputs.guardduty.GetDetectorFeatureAdditionalConfiguration[];
29946
+ /**
29947
+ * The name of the detector feature.
29948
+ */
29949
+ name: string;
29950
+ /**
29951
+ * Current status of the detector.
29952
+ */
29953
+ status: string;
29954
+ }
29955
+ interface GetDetectorFeatureAdditionalConfiguration {
29956
+ /**
29957
+ * The name of the detector feature.
29958
+ */
29959
+ name: string;
29960
+ /**
29961
+ * Current status of the detector.
29962
+ */
29963
+ status: string;
29964
+ }
29929
29965
  interface OrganizationConfigurationDatasources {
29930
29966
  /**
29931
29967
  * Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
@@ -34340,6 +34376,30 @@ export declare namespace kinesis {
34340
34376
  */
34341
34377
  roleArn: string;
34342
34378
  }
34379
+ interface FirehoseDeliveryStreamMskSourceConfiguration {
34380
+ /**
34381
+ * The authentication configuration of the Amazon MSK cluster. More details are given below.
34382
+ */
34383
+ authenticationConfiguration: outputs.kinesis.FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration;
34384
+ /**
34385
+ * The ARN of the Amazon MSK cluster.
34386
+ */
34387
+ mskClusterArn: string;
34388
+ /**
34389
+ * The topic name within the Amazon MSK cluster.
34390
+ */
34391
+ topicName: string;
34392
+ }
34393
+ interface FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration {
34394
+ /**
34395
+ * The type of connectivity used to access the Amazon MSK cluster. Valid values: `PUBLIC`, `PRIVATE`.
34396
+ */
34397
+ connectivity: string;
34398
+ /**
34399
+ * The ARN of the role used to access the Amazon MSK cluster.
34400
+ */
34401
+ roleArn: string;
34402
+ }
34343
34403
  interface FirehoseDeliveryStreamOpensearchConfiguration {
34344
34404
  /**
34345
34405
  * Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s.
@@ -34362,11 +34422,11 @@ export declare namespace kinesis {
34362
34422
  */
34363
34423
  domainArn?: string;
34364
34424
  /**
34365
- * The Opensearch index name.
34425
+ * The OpenSearch index name.
34366
34426
  */
34367
34427
  indexName: string;
34368
34428
  /**
34369
- * The Opensearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. Valid values are `NoRotation`, `OneHour`, `OneDay`, `OneWeek`, and `OneMonth`. The default value is `OneDay`.
34429
+ * The OpenSearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. Valid values are `NoRotation`, `OneHour`, `OneDay`, `OneWeek`, and `OneMonth`. The default value is `OneDay`.
34370
34430
  */
34371
34431
  indexRotationPeriod?: string;
34372
34432
  /**
@@ -34513,6 +34573,167 @@ export declare namespace kinesis {
34513
34573
  subnetIds: string[];
34514
34574
  vpcId: string;
34515
34575
  }
34576
+ interface FirehoseDeliveryStreamOpensearchserverlessConfiguration {
34577
+ /**
34578
+ * Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s.
34579
+ */
34580
+ bufferingInterval?: number;
34581
+ /**
34582
+ * Buffer incoming data to the specified size, in MBs between 1 to 100, before delivering it to the destination. The default value is 5MB.
34583
+ */
34584
+ bufferingSize?: number;
34585
+ /**
34586
+ * The CloudWatch Logging Options for the delivery stream. More details are given below
34587
+ */
34588
+ cloudwatchLoggingOptions: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationCloudwatchLoggingOptions;
34589
+ /**
34590
+ * The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
34591
+ */
34592
+ collectionEndpoint: string;
34593
+ /**
34594
+ * The Serverless offering for Amazon OpenSearch Service index name.
34595
+ */
34596
+ indexName: string;
34597
+ /**
34598
+ * The data processing configuration. More details are given below.
34599
+ */
34600
+ processingConfiguration?: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfiguration;
34601
+ /**
34602
+ * After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of time, in seconds between 0 to 7200, during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
34603
+ */
34604
+ retryDuration?: number;
34605
+ /**
34606
+ * The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents. The pattern needs to be `arn:.*`.
34607
+ */
34608
+ roleArn: string;
34609
+ /**
34610
+ * Defines how documents should be delivered to Amazon S3. Valid values are `FailedDocumentsOnly` and `AllDocuments`. Default value is `FailedDocumentsOnly`.
34611
+ */
34612
+ s3BackupMode?: string;
34613
+ /**
34614
+ * The S3 Configuration. See s3Configuration for more details.
34615
+ */
34616
+ s3Configuration: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3Configuration;
34617
+ /**
34618
+ * The VPC configuration for the delivery stream to connect to OpenSearch Serverless associated with the VPC. More details are given below
34619
+ */
34620
+ vpcConfig?: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationVpcConfig;
34621
+ }
34622
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationCloudwatchLoggingOptions {
34623
+ /**
34624
+ * Enables or disables the logging. Defaults to `false`.
34625
+ */
34626
+ enabled?: boolean;
34627
+ /**
34628
+ * The CloudWatch group name for logging. This value is required if `enabled` is true.
34629
+ */
34630
+ logGroupName?: string;
34631
+ /**
34632
+ * The CloudWatch log stream name for logging. This value is required if `enabled` is true.
34633
+ */
34634
+ logStreamName?: string;
34635
+ }
34636
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfiguration {
34637
+ /**
34638
+ * Enables or disables data processing.
34639
+ */
34640
+ enabled?: boolean;
34641
+ /**
34642
+ * Array of data processors. More details are given below
34643
+ */
34644
+ processors?: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessor[];
34645
+ }
34646
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessor {
34647
+ /**
34648
+ * Array of processor parameters. More details are given below
34649
+ */
34650
+ parameters?: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessorParameter[];
34651
+ /**
34652
+ * The type of processor. Valid Values: `RecordDeAggregation`, `Lambda`, `MetadataExtraction`, `AppendDelimiterToRecord`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
34653
+ */
34654
+ type: string;
34655
+ }
34656
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationProcessingConfigurationProcessorParameter {
34657
+ /**
34658
+ * Parameter name. Valid Values: `LambdaArn`, `NumberOfRetries`, `MetadataExtractionQuery`, `JsonParsingEngine`, `RoleArn`, `BufferSizeInMBs`, `BufferIntervalInSeconds`, `SubRecordType`, `Delimiter`. Validation is done against [AWS SDK constants](https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/#pkg-constants); so that values not explicitly listed may also work.
34659
+ */
34660
+ parameterName: string;
34661
+ /**
34662
+ * Parameter value. Must be between 1 and 512 length (inclusive). When providing a Lambda ARN, you should specify the resource version as well.
34663
+ *
34664
+ * > **NOTE:** Parameters with default values, including `NumberOfRetries`(default: 3), `RoleArn`(default: firehose role ARN), `BufferSizeInMBs`(default: 3), and `BufferIntervalInSeconds`(default: 60), are not stored in state. To prevent perpetual differences, it is therefore recommended to only include parameters with non-default values.
34665
+ */
34666
+ parameterValue: string;
34667
+ }
34668
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationS3Configuration {
34669
+ /**
34670
+ * The ARN of the S3 bucket
34671
+ */
34672
+ bucketArn: string;
34673
+ /**
34674
+ * Buffer incoming data for the specified period of time, in seconds between 60 to 900, before delivering it to the destination. The default value is 300s.
34675
+ */
34676
+ bufferingInterval?: number;
34677
+ /**
34678
+ * Buffer incoming data to the specified size, in MBs between 1 to 100, before delivering it to the destination. The default value is 5MB.
34679
+ * We recommend setting SizeInMBs to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec set SizeInMBs to be 10 MB or higher.
34680
+ */
34681
+ bufferingSize?: number;
34682
+ /**
34683
+ * The CloudWatch Logging Options for the delivery stream. More details are given below
34684
+ */
34685
+ cloudwatchLoggingOptions: outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptions;
34686
+ /**
34687
+ * The compression format. If no value is specified, the default is `UNCOMPRESSED`. Other supported values are `GZIP`, `ZIP`, `Snappy`, & `HADOOP_SNAPPY`.
34688
+ */
34689
+ compressionFormat?: string;
34690
+ /**
34691
+ * Prefix added to failed records before writing them to S3. Not currently supported for `redshift` destination. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see [Custom Prefixes for Amazon S3 Objects](https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html).
34692
+ */
34693
+ errorOutputPrefix?: string;
34694
+ /**
34695
+ * Specifies the KMS key ARN the stream will use to encrypt data. If not set, no encryption will
34696
+ * be used.
34697
+ */
34698
+ kmsKeyArn?: string;
34699
+ /**
34700
+ * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket
34701
+ */
34702
+ prefix?: string;
34703
+ /**
34704
+ * The ARN of the role that provides access to the source Kinesis stream.
34705
+ */
34706
+ roleArn: string;
34707
+ }
34708
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationS3ConfigurationCloudwatchLoggingOptions {
34709
+ /**
34710
+ * Enables or disables the logging. Defaults to `false`.
34711
+ */
34712
+ enabled?: boolean;
34713
+ /**
34714
+ * The CloudWatch group name for logging. This value is required if `enabled` is true.
34715
+ */
34716
+ logGroupName?: string;
34717
+ /**
34718
+ * The CloudWatch log stream name for logging. This value is required if `enabled` is true.
34719
+ */
34720
+ logStreamName?: string;
34721
+ }
34722
+ interface FirehoseDeliveryStreamOpensearchserverlessConfigurationVpcConfig {
34723
+ /**
34724
+ * The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary [IAM permissions](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-es-vpc)
34725
+ */
34726
+ roleArn: string;
34727
+ /**
34728
+ * A list of security group IDs to associate with Kinesis Firehose.
34729
+ */
34730
+ securityGroupIds: string[];
34731
+ /**
34732
+ * A list of subnet IDs to associate with Kinesis Firehose.
34733
+ */
34734
+ subnetIds: string[];
34735
+ vpcId: string;
34736
+ }
34516
34737
  interface FirehoseDeliveryStreamRedshiftConfiguration {
34517
34738
  /**
34518
34739
  * The CloudWatch Logging Options for the delivery stream. More details are given below
@@ -38401,7 +38622,7 @@ export declare namespace medialive {
38401
38622
  }
38402
38623
  interface ChannelEncoderSettingsCaptionDescriptionDestinationSettings {
38403
38624
  /**
38404
- * Arib Destination Settings.
38625
+ * ARIB Destination Settings.
38405
38626
  */
38406
38627
  aribDestinationSettings?: outputs.medialive.ChannelEncoderSettingsCaptionDescriptionDestinationSettingsAribDestinationSettings;
38407
38628
  /**
@@ -39164,7 +39385,7 @@ export declare namespace medialive {
39164
39385
  }
39165
39386
  interface ChannelEncoderSettingsOutputGroupOutputOutputSettingsArchiveOutputSettingsContainerSettings {
39166
39387
  /**
39167
- * M2ts Settings. See [M2ts Settings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html) for more details.
39388
+ * M2TS Settings. See [M2TS Settings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html) for more details.
39168
39389
  */
39169
39390
  m2tsSettings?: outputs.medialive.ChannelEncoderSettingsOutputGroupOutputOutputSettingsArchiveOutputSettingsContainerSettingsM2tsSettings;
39170
39391
  /**
@@ -39379,7 +39600,7 @@ export declare namespace medialive {
39379
39600
  }
39380
39601
  interface ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsContainerSettings {
39381
39602
  /**
39382
- * M2ts Settings. See [M2ts Settings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html) for more details.
39603
+ * M2TS Settings. See [M2TS Settings](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html) for more details.
39383
39604
  */
39384
39605
  m2tsSettings?: outputs.medialive.ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsContainerSettingsM2tsSettings;
39385
39606
  }
@@ -40104,7 +40325,7 @@ export declare namespace medialive {
40104
40325
  */
40105
40326
  ancillarySourceSettings?: outputs.medialive.ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettings;
40106
40327
  /**
40107
- * Arib Source Settings.
40328
+ * ARIB Source Settings.
40108
40329
  */
40109
40330
  aribSourceSettings?: outputs.medialive.ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettingsAribSourceSettings;
40110
40331
  /**
@@ -40258,8 +40479,18 @@ export declare namespace medialive {
40258
40479
  }
40259
40480
  interface ChannelVpc {
40260
40481
  availabilityZones: string[];
40482
+ networkInterfaceIds: string[];
40483
+ /**
40484
+ * List of public address allocation ids to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.
40485
+ */
40261
40486
  publicAddressAllocationIds: string[];
40487
+ /**
40488
+ * A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used.
40489
+ */
40262
40490
  securityGroupIds: string[];
40491
+ /**
40492
+ * A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).
40493
+ */
40263
40494
  subnetIds: string[];
40264
40495
  }
40265
40496
  interface InputDestination {
@@ -54348,6 +54579,18 @@ export declare namespace ses {
54348
54579
  }
54349
54580
  }
54350
54581
  export declare namespace sesv2 {
54582
+ interface AccountVdmAttributesDashboardAttributes {
54583
+ /**
54584
+ * Specifies the status of your VDM engagement metrics collection. Valid values: `ENABLED`, `DISABLED`.
54585
+ */
54586
+ engagementMetrics?: string;
54587
+ }
54588
+ interface AccountVdmAttributesGuardianAttributes {
54589
+ /**
54590
+ * Specifies the status of your VDM optimized shared delivery. Valid values: `ENABLED`, `DISABLED`.
54591
+ */
54592
+ optimizedSharedDelivery?: string;
54593
+ }
54351
54594
  interface ConfigurationSetDeliveryOptions {
54352
54595
  /**
54353
54596
  * The name of the dedicated IP pool to associate with the configuration set.
@@ -1,6 +1,9 @@
1
1
  export { InstanceArgs, InstanceState } from "./instance";
2
2
  export type Instance = import("./instance").Instance;
3
3
  export declare const Instance: typeof import("./instance").Instance;
4
+ export { InstanceTrustProviderAttachmentArgs, InstanceTrustProviderAttachmentState } from "./instanceTrustProviderAttachment";
5
+ export type InstanceTrustProviderAttachment = import("./instanceTrustProviderAttachment").InstanceTrustProviderAttachment;
6
+ export declare const InstanceTrustProviderAttachment: typeof import("./instanceTrustProviderAttachment").InstanceTrustProviderAttachment;
4
7
  export { TrustProviderArgs, TrustProviderState } from "./trustProvider";
5
8
  export type TrustProvider = import("./trustProvider").TrustProvider;
6
9
  export declare const TrustProvider: typeof import("./trustProvider").TrustProvider;
@@ -2,11 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.TrustProvider = exports.Instance = void 0;
5
+ exports.TrustProvider = exports.InstanceTrustProviderAttachment = exports.Instance = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Instance = null;
9
9
  utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
10
+ exports.InstanceTrustProviderAttachment = null;
11
+ utilities.lazyLoad(exports, ["InstanceTrustProviderAttachment"], () => require("./instanceTrustProviderAttachment"));
10
12
  exports.TrustProvider = null;
11
13
  utilities.lazyLoad(exports, ["TrustProvider"], () => require("./trustProvider"));
12
14
  const _module = {
@@ -15,6 +17,8 @@ const _module = {
15
17
  switch (type) {
16
18
  case "aws:verifiedaccess/instance:Instance":
17
19
  return new exports.Instance(name, undefined, { urn });
20
+ case "aws:verifiedaccess/instanceTrustProviderAttachment:InstanceTrustProviderAttachment":
21
+ return new exports.InstanceTrustProviderAttachment(name, undefined, { urn });
18
22
  case "aws:verifiedaccess/trustProvider:TrustProvider":
19
23
  return new exports.TrustProvider(name, undefined, { urn });
20
24
  default:
@@ -23,5 +27,6 @@ const _module = {
23
27
  },
24
28
  };
25
29
  pulumi.runtime.registerResourceModule("aws", "verifiedaccess/instance", _module);
30
+ pulumi.runtime.registerResourceModule("aws", "verifiedaccess/instanceTrustProviderAttachment", _module);
26
31
  pulumi.runtime.registerResourceModule("aws", "verifiedaccess/trustProvider", _module);
27
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../verifiedaccess/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,aAAa,GAAmD,IAAW,CAAC;AACz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AC;AAIxG,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAGjF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,oFAAoF;gBACrF,OAAO,IAAI,uCAA+B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7E,KAAK,gDAAgD;gBACjD,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gDAAgD,EAAE,OAAO,CAAC,CAAA;AACvG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,92 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing a Verified Access Instance Trust Provider Attachment.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const exampleInstance = new aws.verifiedaccess.Instance("exampleInstance", {});
12
+ * const exampleTrustProvider = new aws.verifiedaccess.TrustProvider("exampleTrustProvider", {
13
+ * deviceTrustProviderType: "jamf",
14
+ * policyReferenceName: "example",
15
+ * trustProviderType: "device",
16
+ * deviceOptions: {
17
+ * tenantId: "example",
18
+ * },
19
+ * });
20
+ * const exampleInstanceTrustProviderAttachment = new aws.verifiedaccess.InstanceTrustProviderAttachment("exampleInstanceTrustProviderAttachment", {
21
+ * verifiedaccessInstanceId: exampleInstance.id,
22
+ * verifiedaccessTrustProviderId: exampleTrustProvider.id,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * In TODO v1.5.0 and later, use an `import` block to import Verified Access Instance Trust Provider Attachments using the `verifiedaccess_instance_id` and `verifiedaccess_trust_provider_id` separated by a forward slash (`/`). For exampleterraform import {
29
+ *
30
+ * to = aws_verifiedaccess_instance_trust_provider_attachment.example
31
+ *
32
+ * id = "vai-1234567890abcdef0/vatp-8012925589" } Using `TODO import`, import Verified Access Instance Trust Provider Attachments using the `verifiedaccess_instance_id` and `verifiedaccess_trust_provider_id` separated by a forward slash (`/`). For exampleconsole % TODO import aws_verifiedaccess_instance_trust_provider_attachment.example vai-1234567890abcdef0/vatp-8012925589
33
+ */
34
+ export declare class InstanceTrustProviderAttachment extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing InstanceTrustProviderAttachment resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceTrustProviderAttachmentState, opts?: pulumi.CustomResourceOptions): InstanceTrustProviderAttachment;
45
+ /**
46
+ * Returns true if the given object is an instance of InstanceTrustProviderAttachment. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is InstanceTrustProviderAttachment;
50
+ /**
51
+ * The ID of the Verified Access instance to attach the Trust Provider to.
52
+ */
53
+ readonly verifiedaccessInstanceId: pulumi.Output<string>;
54
+ /**
55
+ * The ID of the Verified Access trust provider.
56
+ */
57
+ readonly verifiedaccessTrustProviderId: pulumi.Output<string>;
58
+ /**
59
+ * Create a InstanceTrustProviderAttachment resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: InstanceTrustProviderAttachmentArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering InstanceTrustProviderAttachment resources.
69
+ */
70
+ export interface InstanceTrustProviderAttachmentState {
71
+ /**
72
+ * The ID of the Verified Access instance to attach the Trust Provider to.
73
+ */
74
+ verifiedaccessInstanceId?: pulumi.Input<string>;
75
+ /**
76
+ * The ID of the Verified Access trust provider.
77
+ */
78
+ verifiedaccessTrustProviderId?: pulumi.Input<string>;
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a InstanceTrustProviderAttachment resource.
82
+ */
83
+ export interface InstanceTrustProviderAttachmentArgs {
84
+ /**
85
+ * The ID of the Verified Access instance to attach the Trust Provider to.
86
+ */
87
+ verifiedaccessInstanceId: pulumi.Input<string>;
88
+ /**
89
+ * The ID of the Verified Access trust provider.
90
+ */
91
+ verifiedaccessTrustProviderId: pulumi.Input<string>;
92
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.InstanceTrustProviderAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing a Verified Access Instance Trust Provider Attachment.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const exampleInstance = new aws.verifiedaccess.Instance("exampleInstance", {});
18
+ * const exampleTrustProvider = new aws.verifiedaccess.TrustProvider("exampleTrustProvider", {
19
+ * deviceTrustProviderType: "jamf",
20
+ * policyReferenceName: "example",
21
+ * trustProviderType: "device",
22
+ * deviceOptions: {
23
+ * tenantId: "example",
24
+ * },
25
+ * });
26
+ * const exampleInstanceTrustProviderAttachment = new aws.verifiedaccess.InstanceTrustProviderAttachment("exampleInstanceTrustProviderAttachment", {
27
+ * verifiedaccessInstanceId: exampleInstance.id,
28
+ * verifiedaccessTrustProviderId: exampleTrustProvider.id,
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * In TODO v1.5.0 and later, use an `import` block to import Verified Access Instance Trust Provider Attachments using the `verifiedaccess_instance_id` and `verifiedaccess_trust_provider_id` separated by a forward slash (`/`). For exampleterraform import {
35
+ *
36
+ * to = aws_verifiedaccess_instance_trust_provider_attachment.example
37
+ *
38
+ * id = "vai-1234567890abcdef0/vatp-8012925589" } Using `TODO import`, import Verified Access Instance Trust Provider Attachments using the `verifiedaccess_instance_id` and `verifiedaccess_trust_provider_id` separated by a forward slash (`/`). For exampleconsole % TODO import aws_verifiedaccess_instance_trust_provider_attachment.example vai-1234567890abcdef0/vatp-8012925589
39
+ */
40
+ class InstanceTrustProviderAttachment extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing InstanceTrustProviderAttachment resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new InstanceTrustProviderAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of InstanceTrustProviderAttachment. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === InstanceTrustProviderAttachment.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["verifiedaccessInstanceId"] = state ? state.verifiedaccessInstanceId : undefined;
69
+ resourceInputs["verifiedaccessTrustProviderId"] = state ? state.verifiedaccessTrustProviderId : undefined;
70
+ }
71
+ else {
72
+ const args = argsOrState;
73
+ if ((!args || args.verifiedaccessInstanceId === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'verifiedaccessInstanceId'");
75
+ }
76
+ if ((!args || args.verifiedaccessTrustProviderId === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'verifiedaccessTrustProviderId'");
78
+ }
79
+ resourceInputs["verifiedaccessInstanceId"] = args ? args.verifiedaccessInstanceId : undefined;
80
+ resourceInputs["verifiedaccessTrustProviderId"] = args ? args.verifiedaccessTrustProviderId : undefined;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(InstanceTrustProviderAttachment.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.InstanceTrustProviderAttachment = InstanceTrustProviderAttachment;
87
+ /** @internal */
88
+ InstanceTrustProviderAttachment.__pulumiType = 'aws:verifiedaccess/instanceTrustProviderAttachment:InstanceTrustProviderAttachment';
89
+ //# sourceMappingURL=instanceTrustProviderAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceTrustProviderAttachment.js","sourceRoot":"","sources":["../../verif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