@pulumi/aws 6.0.0-alpha.1 → 6.0.0-alpha.2

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 (141) hide show
  1. package/README.md +4 -4
  2. package/appintegrations/dataIntegration.d.ts +2 -1
  3. package/appintegrations/dataIntegration.js +4 -0
  4. package/appintegrations/dataIntegration.js.map +1 -1
  5. package/auditmanager/accountRegistration.d.ts +109 -0
  6. package/auditmanager/accountRegistration.js +84 -0
  7. package/auditmanager/accountRegistration.js.map +1 -0
  8. package/auditmanager/assessment.d.ts +204 -0
  9. package/auditmanager/assessment.js +118 -0
  10. package/auditmanager/assessment.js.map +1 -0
  11. package/auditmanager/assessmentDelegation.d.ts +144 -0
  12. package/auditmanager/assessmentDelegation.js +99 -0
  13. package/auditmanager/assessmentDelegation.js.map +1 -0
  14. package/auditmanager/assessmentReport.d.ts +118 -0
  15. package/auditmanager/assessmentReport.js +87 -0
  16. package/auditmanager/assessmentReport.js.map +1 -0
  17. package/auditmanager/control.d.ts +186 -0
  18. package/auditmanager/control.js +98 -0
  19. package/auditmanager/control.js.map +1 -0
  20. package/auditmanager/framework.d.ts +163 -0
  21. package/auditmanager/framework.js +95 -0
  22. package/auditmanager/framework.js.map +1 -0
  23. package/auditmanager/frameworkShare.d.ts +123 -0
  24. package/auditmanager/frameworkShare.js +91 -0
  25. package/auditmanager/frameworkShare.js.map +1 -0
  26. package/auditmanager/getControl.d.ts +146 -0
  27. package/auditmanager/getControl.js +117 -0
  28. package/auditmanager/getControl.js.map +1 -0
  29. package/auditmanager/getFramework.d.ts +74 -0
  30. package/auditmanager/getFramework.js +53 -0
  31. package/auditmanager/getFramework.js.map +1 -0
  32. package/auditmanager/index.d.ts +30 -0
  33. package/auditmanager/index.js +63 -0
  34. package/auditmanager/index.js.map +1 -0
  35. package/auditmanager/organizationAdminAccountRegistration.d.ts +77 -0
  36. package/auditmanager/organizationAdminAccountRegistration.js +75 -0
  37. package/auditmanager/organizationAdminAccountRegistration.js.map +1 -0
  38. package/chime/sdkvoiceVoiceProfileDomain.d.ts +2 -1
  39. package/chime/sdkvoiceVoiceProfileDomain.js +4 -0
  40. package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
  41. package/cloudfront/fieldLevelEncryptionProfile.d.ts +1 -0
  42. package/cloudfront/fieldLevelEncryptionProfile.js +1 -0
  43. package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
  44. package/cloudfront/keyGroup.d.ts +1 -0
  45. package/cloudfront/keyGroup.js +1 -0
  46. package/cloudfront/keyGroup.js.map +1 -1
  47. package/cloudfront/publicKey.d.ts +1 -0
  48. package/cloudfront/publicKey.js +1 -0
  49. package/cloudfront/publicKey.js.map +1 -1
  50. package/directoryservice/index.d.ts +3 -0
  51. package/directoryservice/index.js +6 -1
  52. package/directoryservice/index.js.map +1 -1
  53. package/directoryservice/trust.d.ts +282 -0
  54. package/directoryservice/trust.js +166 -0
  55. package/directoryservice/trust.js.map +1 -0
  56. package/ec2/securityGroup.d.ts +1 -1
  57. package/ec2/securityGroup.js +1 -1
  58. package/ec2/securityGroupRule.d.ts +2 -2
  59. package/ec2/securityGroupRule.js +2 -2
  60. package/emrcontainers/jobTemplate.d.ts +11 -8
  61. package/emrcontainers/jobTemplate.js +13 -7
  62. package/emrcontainers/jobTemplate.js.map +1 -1
  63. package/glue/dataQualityRuleset.d.ts +8 -2
  64. package/glue/dataQualityRuleset.js +10 -1
  65. package/glue/dataQualityRuleset.js.map +1 -1
  66. package/index.d.ts +4 -1
  67. package/index.js +10 -4
  68. package/index.js.map +1 -1
  69. package/medialive/index.d.ts +3 -0
  70. package/medialive/index.js +6 -1
  71. package/medialive/index.js.map +1 -1
  72. package/medialive/multiplexProgram.d.ts +130 -0
  73. package/medialive/multiplexProgram.js +109 -0
  74. package/medialive/multiplexProgram.js.map +1 -0
  75. package/package.json +2 -2
  76. package/package.json.dev +2 -2
  77. package/quicksight/folderMembership.d.ts +115 -0
  78. package/quicksight/folderMembership.js +89 -0
  79. package/quicksight/folderMembership.js.map +1 -0
  80. package/quicksight/iamPolicyAssignment.d.ts +152 -0
  81. package/quicksight/iamPolicyAssignment.js +95 -0
  82. package/quicksight/iamPolicyAssignment.js.map +1 -0
  83. package/quicksight/index.d.ts +21 -0
  84. package/quicksight/index.js +36 -1
  85. package/quicksight/index.js.map +1 -1
  86. package/quicksight/ingestion.d.ts +131 -0
  87. package/quicksight/ingestion.js +93 -0
  88. package/quicksight/ingestion.js.map +1 -0
  89. package/quicksight/namespace.d.ts +158 -0
  90. package/quicksight/namespace.js +89 -0
  91. package/quicksight/namespace.js.map +1 -0
  92. package/quicksight/refreshSchedule.d.ts +130 -0
  93. package/quicksight/refreshSchedule.js +93 -0
  94. package/quicksight/refreshSchedule.js.map +1 -0
  95. package/quicksight/templateAlias.d.ts +123 -0
  96. package/quicksight/templateAlias.js +91 -0
  97. package/quicksight/templateAlias.js.map +1 -0
  98. package/quicksight/vpcConnection.d.ts +236 -0
  99. package/quicksight/vpcConnection.js +145 -0
  100. package/quicksight/vpcConnection.js.map +1 -0
  101. package/rds/exportTask.d.ts +299 -0
  102. package/rds/exportTask.js +198 -0
  103. package/rds/exportTask.js.map +1 -0
  104. package/rds/index.d.ts +3 -0
  105. package/rds/index.js +6 -1
  106. package/rds/index.js.map +1 -1
  107. package/resourceexplorer/index.d.ts +6 -0
  108. package/resourceexplorer/index.js +27 -0
  109. package/resourceexplorer/index.js.map +1 -0
  110. package/resourceexplorer/index_.d.ts +111 -0
  111. package/resourceexplorer/index_.js +80 -0
  112. package/resourceexplorer/index_.js.map +1 -0
  113. package/resourceexplorer/view.d.ts +155 -0
  114. package/resourceexplorer/view.js +95 -0
  115. package/resourceexplorer/view.js.map +1 -0
  116. package/route53/cidrCollection.d.ts +84 -0
  117. package/route53/cidrCollection.js +76 -0
  118. package/route53/cidrCollection.js.map +1 -0
  119. package/route53/cidrLocation.d.ts +100 -0
  120. package/route53/cidrLocation.js +90 -0
  121. package/route53/cidrLocation.js.map +1 -0
  122. package/route53/index.d.ts +6 -0
  123. package/route53/index.js +11 -1
  124. package/route53/index.js.map +1 -1
  125. package/types/input.d.ts +345 -2
  126. package/types/output.d.ts +298 -2
  127. package/vpc/getSecurityGroupRule.d.ts +117 -0
  128. package/vpc/getSecurityGroupRule.js +49 -0
  129. package/vpc/getSecurityGroupRule.js.map +1 -0
  130. package/vpc/getSecurityGroupRules.d.ts +91 -0
  131. package/vpc/getSecurityGroupRules.js +55 -0
  132. package/vpc/getSecurityGroupRules.js.map +1 -0
  133. package/vpc/index.d.ts +12 -0
  134. package/vpc/index.js +33 -0
  135. package/vpc/index.js.map +1 -0
  136. package/vpc/securityGroupEgressRule.d.ts +223 -0
  137. package/vpc/securityGroupEgressRule.js +109 -0
  138. package/vpc/securityGroupEgressRule.js.map +1 -0
  139. package/vpc/securityGroupIngressRule.d.ts +223 -0
  140. package/vpc/securityGroupIngressRule.js +109 -0
  141. package/vpc/securityGroupIngressRule.js.map +1 -0
package/types/output.d.ts CHANGED
@@ -7899,6 +7899,148 @@ export declare namespace athena {
7899
7899
  kmsKeyArn?: string;
7900
7900
  }
7901
7901
  }
7902
+ export declare namespace auditmanager {
7903
+ interface AssessmentAssessmentReportsDestination {
7904
+ /**
7905
+ * Destination of the assessment report. This value be in the form `s3://{bucket_name}`.
7906
+ */
7907
+ destination: string;
7908
+ /**
7909
+ * Destination type. Currently, `S3` is the only valid value.
7910
+ */
7911
+ destinationType: string;
7912
+ }
7913
+ interface AssessmentRole {
7914
+ /**
7915
+ * Amazon Resource Name (ARN) of the IAM role.
7916
+ */
7917
+ roleArn: string;
7918
+ /**
7919
+ * Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
7920
+ */
7921
+ roleType: string;
7922
+ }
7923
+ interface AssessmentRolesAll {
7924
+ /**
7925
+ * Amazon Resource Name (ARN) of the IAM role.
7926
+ */
7927
+ roleArn: string;
7928
+ /**
7929
+ * Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
7930
+ */
7931
+ roleType: string;
7932
+ }
7933
+ interface AssessmentScope {
7934
+ /**
7935
+ * Amazon Web Services accounts that are in scope for the assessment. See `awsAccounts` below.
7936
+ */
7937
+ awsAccounts?: outputs.auditmanager.AssessmentScopeAwsAccount[];
7938
+ /**
7939
+ * Amazon Web Services services that are included in the scope of the assessment. See `awsServices` below.
7940
+ */
7941
+ awsServices?: outputs.auditmanager.AssessmentScopeAwsService[];
7942
+ }
7943
+ interface AssessmentScopeAwsAccount {
7944
+ /**
7945
+ * Identifier for the Amazon Web Services account.
7946
+ */
7947
+ id: string;
7948
+ }
7949
+ interface AssessmentScopeAwsService {
7950
+ /**
7951
+ * Name of the Amazon Web Service.
7952
+ */
7953
+ serviceName: string;
7954
+ }
7955
+ interface ControlControlMappingSource {
7956
+ /**
7957
+ * Description of the source.
7958
+ */
7959
+ sourceDescription?: string;
7960
+ /**
7961
+ * Frequency of evidence collection. Valid values are `DAILY`, `WEEKLY`, or `MONTHLY`.
7962
+ */
7963
+ sourceFrequency?: string;
7964
+ sourceId: string;
7965
+ /**
7966
+ * The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See `sourceKeyword` below.
7967
+ */
7968
+ sourceKeyword?: outputs.auditmanager.ControlControlMappingSourceSourceKeyword;
7969
+ /**
7970
+ * Name of the source.
7971
+ */
7972
+ sourceName: string;
7973
+ /**
7974
+ * The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are `System_Controls_Mapping` (automated) and `Procedural_Controls_Mapping` (manual).
7975
+ */
7976
+ sourceSetUpOption: string;
7977
+ /**
7978
+ * Type of data source for evidence collection. If `sourceSetUpOption` is manual, the only valid value is `MANUAL`. If `sourceSetUpOption` is automated, valid values are `AWS_Cloudtrail`, `AWS_Config`, `AWS_Security_Hub`, or `AWS_API_Call`.
7979
+ *
7980
+ * The following arguments are optional:
7981
+ */
7982
+ sourceType: string;
7983
+ /**
7984
+ * Instructions for troubleshooting the control.
7985
+ */
7986
+ troubleshootingText?: string;
7987
+ }
7988
+ interface ControlControlMappingSourceSourceKeyword {
7989
+ /**
7990
+ * Input method for the keyword. Valid values are `SELECT_FROM_LIST`.
7991
+ */
7992
+ keywordInputType: string;
7993
+ /**
7994
+ * The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
7995
+ */
7996
+ keywordValue: string;
7997
+ }
7998
+ interface FrameworkControlSet {
7999
+ /**
8000
+ * List of controls within the control set. See `controls` below.
8001
+ */
8002
+ controls?: outputs.auditmanager.FrameworkControlSetControl[];
8003
+ /**
8004
+ * Unique identifier of the control.
8005
+ */
8006
+ id: string;
8007
+ /**
8008
+ * Name of the control set.
8009
+ */
8010
+ name: string;
8011
+ }
8012
+ interface FrameworkControlSetControl {
8013
+ /**
8014
+ * Unique identifier of the control.
8015
+ */
8016
+ id: string;
8017
+ }
8018
+ interface GetControlControlMappingSource {
8019
+ sourceDescription: string;
8020
+ sourceFrequency: string;
8021
+ sourceId: string;
8022
+ sourceKeyword?: outputs.auditmanager.GetControlControlMappingSourceSourceKeyword;
8023
+ sourceName: string;
8024
+ sourceSetUpOption: string;
8025
+ sourceType: string;
8026
+ troubleshootingText: string;
8027
+ }
8028
+ interface GetControlControlMappingSourceSourceKeyword {
8029
+ keywordInputType: string;
8030
+ keywordValue: string;
8031
+ }
8032
+ interface GetFrameworkControlSet {
8033
+ controls?: outputs.auditmanager.GetFrameworkControlSetControl[];
8034
+ id: string;
8035
+ /**
8036
+ * Name of the framework.
8037
+ */
8038
+ name: string;
8039
+ }
8040
+ interface GetFrameworkControlSetControl {
8041
+ id: string;
8042
+ }
8043
+ }
7902
8044
  export declare namespace autoscaling {
7903
8045
  interface GetAmiIdsFilter {
7904
8046
  /**
@@ -39800,6 +39942,58 @@ export declare namespace medialive {
39800
39942
  */
39801
39943
  transportStreamReservedBitrate: number;
39802
39944
  }
39945
+ interface MultiplexProgramMultiplexProgramSettings {
39946
+ /**
39947
+ * Enum for preferred channel pipeline. Options are `CURRENTLY_ACTIVE`, `PIPELINE_0`, or `PIPELINE_1`.
39948
+ */
39949
+ preferredChannelPipeline: string;
39950
+ /**
39951
+ * Unique program number.
39952
+ */
39953
+ programNumber: number;
39954
+ /**
39955
+ * Service Descriptor. See Service Descriptor for more details.
39956
+ */
39957
+ serviceDescriptor?: outputs.medialive.MultiplexProgramMultiplexProgramSettingsServiceDescriptor;
39958
+ /**
39959
+ * Video settings. See Video Settings for more details.
39960
+ */
39961
+ videoSettings?: outputs.medialive.MultiplexProgramMultiplexProgramSettingsVideoSettings;
39962
+ }
39963
+ interface MultiplexProgramMultiplexProgramSettingsServiceDescriptor {
39964
+ /**
39965
+ * Unique provider name.
39966
+ */
39967
+ providerName: string;
39968
+ /**
39969
+ * Unique service name.
39970
+ */
39971
+ serviceName: string;
39972
+ }
39973
+ interface MultiplexProgramMultiplexProgramSettingsVideoSettings {
39974
+ /**
39975
+ * Constant bitrate value.
39976
+ */
39977
+ constantBitrate: number;
39978
+ /**
39979
+ * Statmux settings. See Statmux Settings for more details.
39980
+ */
39981
+ statmuxSettings?: outputs.medialive.MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettings;
39982
+ }
39983
+ interface MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettings {
39984
+ /**
39985
+ * Maximum bitrate.
39986
+ */
39987
+ maximumBitrate: number;
39988
+ /**
39989
+ * Minimum bitrate.
39990
+ */
39991
+ minimumBitrate: number;
39992
+ /**
39993
+ * Priority value.
39994
+ */
39995
+ priority: number;
39996
+ }
39803
39997
  }
39804
39998
  export declare namespace mediapackage {
39805
39999
  interface ChannelHlsIngest {
@@ -44912,6 +45106,56 @@ export declare namespace quicksight {
44912
45106
  tagKey: string;
44913
45107
  tagMultiValueDelimiter: string;
44914
45108
  }
45109
+ interface IamPolicyAssignmentIdentities {
45110
+ groups?: string[];
45111
+ /**
45112
+ * Array of Quicksight user names to assign the policy to.
45113
+ */
45114
+ users?: string[];
45115
+ }
45116
+ interface NamespaceTimeouts {
45117
+ create?: string;
45118
+ delete?: string;
45119
+ }
45120
+ interface RefreshScheduleSchedule {
45121
+ /**
45122
+ * The type of refresh that the dataset undergoes. Valid values are `INCREMENTAL_REFRESH` and `FULL_REFRESH`.
45123
+ */
45124
+ refreshType: string;
45125
+ /**
45126
+ * The configuration of the [schedule frequency](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshFrequency.html). See schedule_frequency.
45127
+ */
45128
+ scheduleFrequency?: outputs.quicksight.RefreshScheduleScheduleScheduleFrequency;
45129
+ /**
45130
+ * Time after which the refresh schedule can be started, expressed in `YYYY-MM-DDTHH:MM:SS` format.
45131
+ */
45132
+ startAfterDateTime: string;
45133
+ }
45134
+ interface RefreshScheduleScheduleScheduleFrequency {
45135
+ /**
45136
+ * The interval between scheduled refreshes. Valid values are `MINUTE15`, `MINUTE30`, `HOURLY`, `DAILY`, `WEEKLY` and `MONTHLY`.
45137
+ */
45138
+ interval: string;
45139
+ /**
45140
+ * The [refresh on entity](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ScheduleRefreshOnEntity.html) configuration for weekly or monthly schedules. See refresh_on_day.
45141
+ */
45142
+ refreshOnDay?: outputs.quicksight.RefreshScheduleScheduleScheduleFrequencyRefreshOnDay;
45143
+ timeOfTheDay: string;
45144
+ /**
45145
+ * The timezone that you want the refresh schedule to use.
45146
+ */
45147
+ timezone: string;
45148
+ }
45149
+ interface RefreshScheduleScheduleScheduleFrequencyRefreshOnDay {
45150
+ /**
45151
+ * The day of the month that you want to schedule refresh on.
45152
+ */
45153
+ dayOfMonth?: string;
45154
+ /**
45155
+ * The day of the week that you want to schedule a refresh on. Valid values are `SUNDAY`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY` and `SATURDAY`.
45156
+ */
45157
+ dayOfWeek?: string;
45158
+ }
44915
45159
  interface TemplatePermission {
44916
45160
  /**
44917
45161
  * List of IAM actions to grant or revoke permissions on.
@@ -44958,6 +45202,11 @@ export declare namespace quicksight {
44958
45202
  */
44959
45203
  arn: string;
44960
45204
  }
45205
+ interface VpcConnectionTimeouts {
45206
+ create?: string;
45207
+ delete?: string;
45208
+ update?: string;
45209
+ }
44961
45210
  }
44962
45211
  export declare namespace ram {
44963
45212
  interface GetResourceShareFilter {
@@ -45117,6 +45366,10 @@ export declare namespace rds {
45117
45366
  */
45118
45367
  minCapacity: number;
45119
45368
  }
45369
+ interface ExportTaskTimeouts {
45370
+ create?: string;
45371
+ delete?: string;
45372
+ }
45120
45373
  interface GetClusterMasterUserSecret {
45121
45374
  kmsKeyId: string;
45122
45375
  secretArn: string;
@@ -45671,6 +45924,25 @@ export declare namespace redshiftserverless {
45671
45924
  subnetId: string;
45672
45925
  }
45673
45926
  }
45927
+ export declare namespace resourceexplorer {
45928
+ interface IndexTimeouts {
45929
+ create?: string;
45930
+ delete?: string;
45931
+ update?: string;
45932
+ }
45933
+ interface ViewFilters {
45934
+ /**
45935
+ * The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html).
45936
+ */
45937
+ filterString: string;
45938
+ }
45939
+ interface ViewIncludedProperty {
45940
+ /**
45941
+ * The name of the property that is included in this view. Valid values: `tags`.
45942
+ */
45943
+ name: string;
45944
+ }
45945
+ }
45674
45946
  export declare namespace resourcegroups {
45675
45947
  interface GroupConfiguration {
45676
45948
  /**
@@ -46026,11 +46298,11 @@ export declare namespace route53 {
46026
46298
  }
46027
46299
  interface RecordCidrRoutingPolicy {
46028
46300
  /**
46029
- * The CIDR collection ID. See the `awsRoute53CidrCollection` resource for more details.
46301
+ * The CIDR collection ID. See the `aws.route53.CidrCollection` resource for more details.
46030
46302
  */
46031
46303
  collectionId: string;
46032
46304
  /**
46033
- * The CIDR collection location name. See the `awsRoute53CidrLocation` resource for more details. A `locationName` with an asterisk `"*"` can be used to create a default CIDR record. `collectionId` is still required for default record.
46305
+ * The CIDR collection location name. See the `aws.route53.CidrLocation` resource for more details. A `locationName` with an asterisk `"*"` can be used to create a default CIDR record. `collectionId` is still required for default record.
46034
46306
  */
46035
46307
  locationName: string;
46036
46308
  }
@@ -54119,6 +54391,30 @@ export declare namespace transfer {
54119
54391
  value: string;
54120
54392
  }
54121
54393
  }
54394
+ export declare namespace vpc {
54395
+ interface GetSecurityGroupRuleFilter {
54396
+ /**
54397
+ * Name of the filter field. Valid values can be found in the EC2 [`DescribeSecurityGroupRules`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupRules.html) API Reference.
54398
+ */
54399
+ name: string;
54400
+ /**
54401
+ * Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
54402
+ */
54403
+ values: string[];
54404
+ }
54405
+ interface GetSecurityGroupRulesFilter {
54406
+ /**
54407
+ * Name of the field to filter by, as defined by
54408
+ * [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroupRules.html).
54409
+ */
54410
+ name: string;
54411
+ /**
54412
+ * Set of values that are accepted for the given field.
54413
+ * Security group rule IDs will be selected if any one of the given values match.
54414
+ */
54415
+ values: string[];
54416
+ }
54417
+ }
54122
54418
  export declare namespace vpclattice {
54123
54419
  interface GetListenerDefaultAction {
54124
54420
  fixedResponses: outputs.vpclattice.GetListenerDefaultActionFixedResponse[];
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * `aws.vpc.getSecurityGroupRule` provides details about a specific security group rule.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = aws.vpc.getSecurityGroupRule({
14
+ * securityGroupRuleId: _var.security_group_rule_id,
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getSecurityGroupRule(args?: GetSecurityGroupRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityGroupRuleResult>;
19
+ /**
20
+ * A collection of arguments for invoking getSecurityGroupRule.
21
+ */
22
+ export interface GetSecurityGroupRuleArgs {
23
+ /**
24
+ * Configuration block(s) for filtering. Detailed below.
25
+ */
26
+ filters?: inputs.vpc.GetSecurityGroupRuleFilter[];
27
+ /**
28
+ * ID of the security group rule to select.
29
+ */
30
+ securityGroupRuleId?: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getSecurityGroupRule.
34
+ */
35
+ export interface GetSecurityGroupRuleResult {
36
+ /**
37
+ * The Amazon Resource Name (ARN) of the security group rule.
38
+ */
39
+ readonly arn: string;
40
+ /**
41
+ * The destination IPv4 CIDR range.
42
+ */
43
+ readonly cidrIpv4: string;
44
+ /**
45
+ * The destination IPv6 CIDR range.
46
+ */
47
+ readonly cidrIpv6: string;
48
+ /**
49
+ * The security group rule description.
50
+ */
51
+ readonly description: string;
52
+ readonly filters?: outputs.vpc.GetSecurityGroupRuleFilter[];
53
+ /**
54
+ * The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
55
+ */
56
+ readonly fromPort: number;
57
+ readonly id: string;
58
+ /**
59
+ * The IP protocol name or number. Use `-1` to specify all protocols.
60
+ */
61
+ readonly ipProtocol: string;
62
+ /**
63
+ * Indicates whether the security group rule is an outbound rule.
64
+ */
65
+ readonly isEgress: boolean;
66
+ /**
67
+ * The ID of the destination prefix list.
68
+ */
69
+ readonly prefixListId: string;
70
+ /**
71
+ * The destination security group that is referenced in the rule.
72
+ */
73
+ readonly referencedSecurityGroupId: string;
74
+ /**
75
+ * The ID of the security group.
76
+ */
77
+ readonly securityGroupId: string;
78
+ readonly securityGroupRuleId: string;
79
+ /**
80
+ * A map of tags assigned to the resource.
81
+ */
82
+ readonly tags: {
83
+ [key: string]: string;
84
+ };
85
+ /**
86
+ * (Optional) The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
87
+ */
88
+ readonly toPort: number;
89
+ }
90
+ /**
91
+ * `aws.vpc.getSecurityGroupRule` provides details about a specific security group rule.
92
+ *
93
+ * ## Example Usage
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as aws from "@pulumi/aws";
98
+ *
99
+ * const example = aws.vpc.getSecurityGroupRule({
100
+ * securityGroupRuleId: _var.security_group_rule_id,
101
+ * });
102
+ * ```
103
+ */
104
+ export declare function getSecurityGroupRuleOutput(args?: GetSecurityGroupRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecurityGroupRuleResult>;
105
+ /**
106
+ * A collection of arguments for invoking getSecurityGroupRule.
107
+ */
108
+ export interface GetSecurityGroupRuleOutputArgs {
109
+ /**
110
+ * Configuration block(s) for filtering. Detailed below.
111
+ */
112
+ filters?: pulumi.Input<pulumi.Input<inputs.vpc.GetSecurityGroupRuleFilterArgs>[]>;
113
+ /**
114
+ * ID of the security group rule to select.
115
+ */
116
+ securityGroupRuleId?: pulumi.Input<string>;
117
+ }
@@ -0,0 +1,49 @@
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.getSecurityGroupRuleOutput = exports.getSecurityGroupRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * `aws.vpc.getSecurityGroupRule` provides details about a specific security group rule.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = aws.vpc.getSecurityGroupRule({
18
+ * securityGroupRuleId: _var.security_group_rule_id,
19
+ * });
20
+ * ```
21
+ */
22
+ function getSecurityGroupRule(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("aws:vpc/getSecurityGroupRule:getSecurityGroupRule", {
26
+ "filters": args.filters,
27
+ "securityGroupRuleId": args.securityGroupRuleId,
28
+ }, opts);
29
+ }
30
+ exports.getSecurityGroupRule = getSecurityGroupRule;
31
+ /**
32
+ * `aws.vpc.getSecurityGroupRule` provides details about a specific security group rule.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as aws from "@pulumi/aws";
39
+ *
40
+ * const example = aws.vpc.getSecurityGroupRule({
41
+ * securityGroupRuleId: _var.security_group_rule_id,
42
+ * });
43
+ * ```
44
+ */
45
+ function getSecurityGroupRuleOutput(args, opts) {
46
+ return pulumi.output(args).apply((a) => getSecurityGroupRule(a, opts));
47
+ }
48
+ exports.getSecurityGroupRuleOutput = getSecurityGroupRuleOutput;
49
+ //# sourceMappingURL=getSecurityGroupRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGroupRule.js","sourceRoot":"","sources":["../../vpc/getSecurityGroupRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAwED;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -0,0 +1,91 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * This resource can be useful for getting back a set of security group rule IDs.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = aws.vpc.getSecurityGroupRules({
14
+ * filters: [{
15
+ * name: "group-id",
16
+ * values: [_var.security_group_id],
17
+ * }],
18
+ * });
19
+ * ```
20
+ */
21
+ export declare function getSecurityGroupRules(args?: GetSecurityGroupRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityGroupRulesResult>;
22
+ /**
23
+ * A collection of arguments for invoking getSecurityGroupRules.
24
+ */
25
+ export interface GetSecurityGroupRulesArgs {
26
+ /**
27
+ * Custom filter block as described below.
28
+ */
29
+ filters?: inputs.vpc.GetSecurityGroupRulesFilter[];
30
+ /**
31
+ * Map of tags, each pair of which must exactly match
32
+ * a pair on the desired security group rule.
33
+ *
34
+ * More complex filters can be expressed using one or more `filter` sub-blocks,
35
+ * which take the following arguments:
36
+ */
37
+ tags?: {
38
+ [key: string]: string;
39
+ };
40
+ }
41
+ /**
42
+ * A collection of values returned by getSecurityGroupRules.
43
+ */
44
+ export interface GetSecurityGroupRulesResult {
45
+ readonly filters?: outputs.vpc.GetSecurityGroupRulesFilter[];
46
+ readonly id: string;
47
+ /**
48
+ * List of all the security group rule IDs found.
49
+ */
50
+ readonly ids: string[];
51
+ readonly tags?: {
52
+ [key: string]: string;
53
+ };
54
+ }
55
+ /**
56
+ * This resource can be useful for getting back a set of security group rule IDs.
57
+ *
58
+ * ## Example Usage
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as aws from "@pulumi/aws";
63
+ *
64
+ * const example = aws.vpc.getSecurityGroupRules({
65
+ * filters: [{
66
+ * name: "group-id",
67
+ * values: [_var.security_group_id],
68
+ * }],
69
+ * });
70
+ * ```
71
+ */
72
+ export declare function getSecurityGroupRulesOutput(args?: GetSecurityGroupRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecurityGroupRulesResult>;
73
+ /**
74
+ * A collection of arguments for invoking getSecurityGroupRules.
75
+ */
76
+ export interface GetSecurityGroupRulesOutputArgs {
77
+ /**
78
+ * Custom filter block as described below.
79
+ */
80
+ filters?: pulumi.Input<pulumi.Input<inputs.vpc.GetSecurityGroupRulesFilterArgs>[]>;
81
+ /**
82
+ * Map of tags, each pair of which must exactly match
83
+ * a pair on the desired security group rule.
84
+ *
85
+ * More complex filters can be expressed using one or more `filter` sub-blocks,
86
+ * which take the following arguments:
87
+ */
88
+ tags?: pulumi.Input<{
89
+ [key: string]: pulumi.Input<string>;
90
+ }>;
91
+ }
@@ -0,0 +1,55 @@
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.getSecurityGroupRulesOutput = exports.getSecurityGroupRules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource can be useful for getting back a set of security group rule IDs.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = aws.vpc.getSecurityGroupRules({
18
+ * filters: [{
19
+ * name: "group-id",
20
+ * values: [_var.security_group_id],
21
+ * }],
22
+ * });
23
+ * ```
24
+ */
25
+ function getSecurityGroupRules(args, opts) {
26
+ args = args || {};
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invoke("aws:vpc/getSecurityGroupRules:getSecurityGroupRules", {
29
+ "filters": args.filters,
30
+ "tags": args.tags,
31
+ }, opts);
32
+ }
33
+ exports.getSecurityGroupRules = getSecurityGroupRules;
34
+ /**
35
+ * This resource can be useful for getting back a set of security group rule IDs.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as aws from "@pulumi/aws";
42
+ *
43
+ * const example = aws.vpc.getSecurityGroupRules({
44
+ * filters: [{
45
+ * name: "group-id",
46
+ * values: [_var.security_group_id],
47
+ * }],
48
+ * });
49
+ * ```
50
+ */
51
+ function getSecurityGroupRulesOutput(args, opts) {
52
+ return pulumi.output(args).apply((a) => getSecurityGroupRules(a, opts));
53
+ }
54
+ exports.getSecurityGroupRulesOutput = getSecurityGroupRulesOutput;
55
+ //# sourceMappingURL=getSecurityGroupRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityGroupRules.js","sourceRoot":"","sources":["../../vpc/getSecurityGroupRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AAgCD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
package/vpc/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export { GetSecurityGroupRuleArgs, GetSecurityGroupRuleResult, GetSecurityGroupRuleOutputArgs } from "./getSecurityGroupRule";
2
+ export declare const getSecurityGroupRule: typeof import("./getSecurityGroupRule").getSecurityGroupRule;
3
+ export declare const getSecurityGroupRuleOutput: typeof import("./getSecurityGroupRule").getSecurityGroupRuleOutput;
4
+ export { GetSecurityGroupRulesArgs, GetSecurityGroupRulesResult, GetSecurityGroupRulesOutputArgs } from "./getSecurityGroupRules";
5
+ export declare const getSecurityGroupRules: typeof import("./getSecurityGroupRules").getSecurityGroupRules;
6
+ export declare const getSecurityGroupRulesOutput: typeof import("./getSecurityGroupRules").getSecurityGroupRulesOutput;
7
+ export { SecurityGroupEgressRuleArgs, SecurityGroupEgressRuleState } from "./securityGroupEgressRule";
8
+ export type SecurityGroupEgressRule = import("./securityGroupEgressRule").SecurityGroupEgressRule;
9
+ export declare const SecurityGroupEgressRule: typeof import("./securityGroupEgressRule").SecurityGroupEgressRule;
10
+ export { SecurityGroupIngressRuleArgs, SecurityGroupIngressRuleState } from "./securityGroupIngressRule";
11
+ export type SecurityGroupIngressRule = import("./securityGroupIngressRule").SecurityGroupIngressRule;
12
+ export declare const SecurityGroupIngressRule: typeof import("./securityGroupIngressRule").SecurityGroupIngressRule;