@pulumi/aws 6.0.0-alpha.3 → 6.0.0-alpha.4
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/applicationloadbalancing/index.d.ts +0 -27
- package/applicationloadbalancing/index.js +1 -51
- package/applicationloadbalancing/index.js.map +1 -1
- package/appmesh/virtualGateway.d.ts +23 -2
- package/appmesh/virtualGateway.js +23 -2
- package/appmesh/virtualGateway.js.map +1 -1
- package/appmesh/virtualNode.d.ts +8 -8
- package/appmesh/virtualNode.js +8 -8
- package/appmesh/virtualRouter.d.ts +2 -2
- package/appmesh/virtualRouter.js +2 -2
- package/appsync/dataSource.d.ts +18 -18
- package/cloudtrail/index.d.ts +0 -3
- package/cloudtrail/index.js +1 -4
- package/cloudtrail/index.js.map +1 -1
- package/ec2/fleet.d.ts +5 -5
- package/ec2/fleet.js +6 -6
- package/ec2/fleet.js.map +1 -1
- package/ec2/index.d.ts +0 -3
- package/ec2/index.js +2 -7
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +14 -0
- package/ec2/securityGroup.js +14 -0
- package/ec2/securityGroup.js.map +1 -1
- package/fms/policy.d.ts +2 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/iam/{getOpenidConnectProvider.d.ts → getOpenIdConnectProvider.d.ts} +12 -12
- package/iam/{getOpenidConnectProvider.js → getOpenIdConnectProvider.js} +12 -12
- package/iam/{getOpenidConnectProvider.js.map → getOpenIdConnectProvider.js.map} +1 -1
- package/iam/index.d.ts +3 -3
- package/iam/index.js +4 -4
- package/iam/virtualMfaDevice.d.ts +22 -2
- package/iam/virtualMfaDevice.js +8 -0
- package/iam/virtualMfaDevice.js.map +1 -1
- package/index.d.ts +1 -21
- package/index.js +5 -27
- package/index.js.map +1 -1
- package/iot/topicRule.d.ts +35 -35
- package/iot/topicRule.js +16 -16
- package/iot/topicRule.js.map +1 -1
- package/kendra/dataSource.d.ts +32 -9
- package/kendra/dataSource.js +23 -0
- package/kendra/dataSource.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +89 -0
- package/kinesis/firehoseDeliveryStream.js +89 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/opensearch/serverlessSecurityPolicy.d.ts +122 -8
- package/opensearch/serverlessSecurityPolicy.js +122 -8
- package/opensearch/serverlessSecurityPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/instance.d.ts +0 -9
- package/rds/instance.js.map +1 -1
- package/securityhub/standardsControl.d.ts +3 -3
- package/ses/index.d.ts +0 -3
- package/ses/index.js +1 -6
- package/ses/index.js.map +1 -1
- package/ssm/getParameter.d.ts +1 -0
- package/ssm/getParameter.js.map +1 -1
- package/types/input.d.ts +1302 -2573
- package/types/output.d.ts +4459 -5933
- package/utils.d.ts +0 -1
- package/utils.js +0 -6
- package/utils.js.map +1 -1
- package/wafv2/getIpSet.d.ts +1 -1
- package/wafv2/ipSet.d.ts +3 -3
- package/wafv2/regexPatternSet.d.ts +3 -3
- package/applicationloadbalancing/getListener.d.ts +0 -120
- package/applicationloadbalancing/getListener.js +0 -80
- package/applicationloadbalancing/getListener.js.map +0 -1
- package/applicationloadbalancing/getLoadBalancer.d.ts +0 -133
- package/applicationloadbalancing/getLoadBalancer.js +0 -73
- package/applicationloadbalancing/getLoadBalancer.js.map +0 -1
- package/applicationloadbalancing/getTargetGroup.d.ts +0 -126
- package/applicationloadbalancing/getTargetGroup.js +0 -73
- package/applicationloadbalancing/getTargetGroup.js.map +0 -1
- package/applicationloadbalancing/listener.d.ts +0 -377
- package/applicationloadbalancing/listener.js +0 -276
- package/applicationloadbalancing/listener.js.map +0 -1
- package/applicationloadbalancing/listenerCertificate.d.ts +0 -96
- package/applicationloadbalancing/listenerCertificate.js +0 -95
- package/applicationloadbalancing/listenerCertificate.js.map +0 -1
- package/applicationloadbalancing/listenerRule.d.ts +0 -301
- package/applicationloadbalancing/listenerRule.js +0 -249
- package/applicationloadbalancing/listenerRule.js.map +0 -1
- package/applicationloadbalancing/loadBalancer.d.ts +0 -463
- package/applicationloadbalancing/loadBalancer.js +0 -201
- package/applicationloadbalancing/loadBalancer.js.map +0 -1
- package/applicationloadbalancing/targetGroup.d.ts +0 -402
- package/applicationloadbalancing/targetGroup.js +0 -161
- package/applicationloadbalancing/targetGroup.js.map +0 -1
- package/applicationloadbalancing/targetGroupAttachment.d.ts +0 -142
- package/applicationloadbalancing/targetGroupAttachment.js +0 -115
- package/applicationloadbalancing/targetGroupAttachment.js.map +0 -1
- package/awsMixins.d.ts +0 -21
- package/awsMixins.js +0 -40
- package/awsMixins.js.map +0 -1
- package/cloudtrail/getFunction.d.ts +0 -102
- package/cloudtrail/getFunction.js +0 -55
- package/cloudtrail/getFunction.js.map +0 -1
- package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +0 -132
- package/ec2/transitGatewayPeeringAttachmentAccepter.js +0 -94
- package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +0 -1
- package/elasticloadbalancing/appCookieStickinessPolicy.d.ts +0 -129
- package/elasticloadbalancing/appCookieStickinessPolicy.js +0 -102
- package/elasticloadbalancing/appCookieStickinessPolicy.js.map +0 -1
- package/elasticloadbalancing/attachment.d.ts +0 -86
- package/elasticloadbalancing/attachment.js +0 -85
- package/elasticloadbalancing/attachment.js.map +0 -1
- package/elasticloadbalancing/getHostedZoneId.d.ts +0 -81
- package/elasticloadbalancing/getHostedZoneId.js +0 -69
- package/elasticloadbalancing/getHostedZoneId.js.map +0 -1
- package/elasticloadbalancing/getLoadBalancer.d.ts +0 -105
- package/elasticloadbalancing/getLoadBalancer.js +0 -67
- package/elasticloadbalancing/getLoadBalancer.js.map +0 -1
- package/elasticloadbalancing/getServiceAccount.d.ts +0 -135
- package/elasticloadbalancing/getServiceAccount.js +0 -119
- package/elasticloadbalancing/getServiceAccount.js.map +0 -1
- package/elasticloadbalancing/index.d.ts +0 -33
- package/elasticloadbalancing/index.js +0 -66
- package/elasticloadbalancing/index.js.map +0 -1
- package/elasticloadbalancing/listenerPolicy.d.ts +0 -176
- package/elasticloadbalancing/listenerPolicy.js +0 -149
- package/elasticloadbalancing/listenerPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancer.d.ts +0 -398
- package/elasticloadbalancing/loadBalancer.js +0 -177
- package/elasticloadbalancing/loadBalancer.js.map +0 -1
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.d.ts +0 -123
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.js +0 -112
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.d.ts +0 -124
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js +0 -91
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancerPolicy.d.ts +0 -166
- package/elasticloadbalancing/loadBalancerPolicy.js +0 -146
- package/elasticloadbalancing/loadBalancerPolicy.js.map +0 -1
- package/elasticloadbalancing/sslNegotiationPolicy.d.ts +0 -183
- package/elasticloadbalancing/sslNegotiationPolicy.js +0 -123
- package/elasticloadbalancing/sslNegotiationPolicy.js.map +0 -1
- package/elasticloadbalancingv2/getListener.d.ts +0 -120
- package/elasticloadbalancingv2/getListener.js +0 -80
- package/elasticloadbalancingv2/getListener.js.map +0 -1
- package/elasticloadbalancingv2/getLoadBalancer.d.ts +0 -133
- package/elasticloadbalancingv2/getLoadBalancer.js +0 -73
- package/elasticloadbalancingv2/getLoadBalancer.js.map +0 -1
- package/elasticloadbalancingv2/getTargetGroup.d.ts +0 -126
- package/elasticloadbalancingv2/getTargetGroup.js +0 -73
- package/elasticloadbalancingv2/getTargetGroup.js.map +0 -1
- package/elasticloadbalancingv2/index.d.ts +0 -27
- package/elasticloadbalancingv2/index.js +0 -56
- package/elasticloadbalancingv2/index.js.map +0 -1
- package/elasticloadbalancingv2/listener.d.ts +0 -377
- package/elasticloadbalancingv2/listener.js +0 -276
- package/elasticloadbalancingv2/listener.js.map +0 -1
- package/elasticloadbalancingv2/listenerCertificate.d.ts +0 -96
- package/elasticloadbalancingv2/listenerCertificate.js +0 -95
- package/elasticloadbalancingv2/listenerCertificate.js.map +0 -1
- package/elasticloadbalancingv2/listenerRule.d.ts +0 -301
- package/elasticloadbalancingv2/listenerRule.js +0 -249
- package/elasticloadbalancingv2/listenerRule.js.map +0 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +0 -462
- package/elasticloadbalancingv2/loadBalancer.js +0 -201
- package/elasticloadbalancingv2/loadBalancer.js.map +0 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +0 -402
- package/elasticloadbalancingv2/targetGroup.js +0 -161
- package/elasticloadbalancingv2/targetGroup.js.map +0 -1
- package/elasticloadbalancingv2/targetGroupAttachment.d.ts +0 -142
- package/elasticloadbalancingv2/targetGroupAttachment.js +0 -115
- package/elasticloadbalancingv2/targetGroupAttachment.js.map +0 -1
- package/getAmi.d.ts +0 -331
- package/getAmi.js +0 -93
- package/getAmi.js.map +0 -1
- package/getAmiIds.d.ts +0 -135
- package/getAmiIds.js +0 -63
- package/getAmiIds.js.map +0 -1
- package/getAutoscalingGroups.d.ts +0 -119
- package/getAutoscalingGroups.js +0 -92
- package/getAutoscalingGroups.js.map +0 -1
- package/getCanonicalUserId.d.ts +0 -32
- package/getCanonicalUserId.js +0 -31
- package/getCanonicalUserId.js.map +0 -1
- package/getElasticIp.d.ts +0 -221
- package/getElasticIp.js +0 -126
- package/getElasticIp.js.map +0 -1
- package/getPrefixList.d.ts +0 -160
- package/getPrefixList.js +0 -125
- package/getPrefixList.js.map +0 -1
- package/ses/confgurationSet.d.ts +0 -153
- package/ses/confgurationSet.js +0 -96
- package/ses/confgurationSet.js.map +0 -1
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides the ability to register instances and containers with an Application Load Balancer (ALB) or Network Load Balancer (NLB) target group. For attaching resources with Elastic Load Balancer (ELB), see the `aws.elb.Attachment` resource.
|
|
4
|
-
*
|
|
5
|
-
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
* ### Basic Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as aws from "@pulumi/aws";
|
|
13
|
-
*
|
|
14
|
-
* const testTargetGroup = new aws.lb.TargetGroup("testTargetGroup", {});
|
|
15
|
-
* // ... other configuration ...
|
|
16
|
-
* const testInstance = new aws.ec2.Instance("testInstance", {});
|
|
17
|
-
* // ... other configuration ...
|
|
18
|
-
* const testTargetGroupAttachment = new aws.lb.TargetGroupAttachment("testTargetGroupAttachment", {
|
|
19
|
-
* targetGroupArn: testTargetGroup.arn,
|
|
20
|
-
* targetId: testInstance.id,
|
|
21
|
-
* port: 80,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
* ### Lambda Target
|
|
25
|
-
*
|
|
26
|
-
* ```typescript
|
|
27
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
-
* import * as aws from "@pulumi/aws";
|
|
29
|
-
*
|
|
30
|
-
* const testTargetGroup = new aws.lb.TargetGroup("testTargetGroup", {targetType: "lambda"});
|
|
31
|
-
* const testFunction = new aws.lambda.Function("testFunction", {});
|
|
32
|
-
* // ... other configuration ...
|
|
33
|
-
* const withLb = new aws.lambda.Permission("withLb", {
|
|
34
|
-
* action: "lambda:InvokeFunction",
|
|
35
|
-
* "function": testFunction.name,
|
|
36
|
-
* principal: "elasticloadbalancing.amazonaws.com",
|
|
37
|
-
* sourceArn: testTargetGroup.arn,
|
|
38
|
-
* });
|
|
39
|
-
* const testTargetGroupAttachment = new aws.lb.TargetGroupAttachment("testTargetGroupAttachment", {
|
|
40
|
-
* targetGroupArn: testTargetGroup.arn,
|
|
41
|
-
* targetId: testFunction.arn,
|
|
42
|
-
* }, {
|
|
43
|
-
* dependsOn: [withLb],
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* ## Import
|
|
48
|
-
*
|
|
49
|
-
* Target Group Attachments cannot be imported.
|
|
50
|
-
*
|
|
51
|
-
* @deprecated aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment
|
|
52
|
-
*/
|
|
53
|
-
export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
54
|
-
/**
|
|
55
|
-
* Get an existing TargetGroupAttachment resource's state with the given name, ID, and optional extra
|
|
56
|
-
* properties used to qualify the lookup.
|
|
57
|
-
*
|
|
58
|
-
* @param name The _unique_ name of the resulting resource.
|
|
59
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
-
* @param state Any extra arguments used during the lookup.
|
|
61
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
-
*/
|
|
63
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetGroupAttachmentState, opts?: pulumi.CustomResourceOptions): TargetGroupAttachment;
|
|
64
|
-
/**
|
|
65
|
-
* Returns true if the given object is an instance of TargetGroupAttachment. This is designed to work even
|
|
66
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
-
*/
|
|
68
|
-
static isInstance(obj: any): obj is TargetGroupAttachment;
|
|
69
|
-
/**
|
|
70
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.
|
|
71
|
-
*/
|
|
72
|
-
readonly availabilityZone: pulumi.Output<string | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* The port on which targets receive traffic.
|
|
75
|
-
*/
|
|
76
|
-
readonly port: pulumi.Output<number | undefined>;
|
|
77
|
-
/**
|
|
78
|
-
* The ARN of the target group with which to register targets.
|
|
79
|
-
*/
|
|
80
|
-
readonly targetGroupArn: pulumi.Output<string>;
|
|
81
|
-
/**
|
|
82
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
|
|
83
|
-
*
|
|
84
|
-
* The following arguments are optional:
|
|
85
|
-
*/
|
|
86
|
-
readonly targetId: pulumi.Output<string>;
|
|
87
|
-
/**
|
|
88
|
-
* Create a TargetGroupAttachment resource with the given unique name, arguments, and options.
|
|
89
|
-
*
|
|
90
|
-
* @param name The _unique_ name of the resource.
|
|
91
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
-
*/
|
|
94
|
-
/** @deprecated aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment */
|
|
95
|
-
constructor(name: string, args: TargetGroupAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Input properties used for looking up and filtering TargetGroupAttachment resources.
|
|
99
|
-
*/
|
|
100
|
-
export interface TargetGroupAttachmentState {
|
|
101
|
-
/**
|
|
102
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.
|
|
103
|
-
*/
|
|
104
|
-
availabilityZone?: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* The port on which targets receive traffic.
|
|
107
|
-
*/
|
|
108
|
-
port?: pulumi.Input<number>;
|
|
109
|
-
/**
|
|
110
|
-
* The ARN of the target group with which to register targets.
|
|
111
|
-
*/
|
|
112
|
-
targetGroupArn?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
|
|
115
|
-
*
|
|
116
|
-
* The following arguments are optional:
|
|
117
|
-
*/
|
|
118
|
-
targetId?: pulumi.Input<string>;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* The set of arguments for constructing a TargetGroupAttachment resource.
|
|
122
|
-
*/
|
|
123
|
-
export interface TargetGroupAttachmentArgs {
|
|
124
|
-
/**
|
|
125
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.
|
|
126
|
-
*/
|
|
127
|
-
availabilityZone?: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* The port on which targets receive traffic.
|
|
130
|
-
*/
|
|
131
|
-
port?: pulumi.Input<number>;
|
|
132
|
-
/**
|
|
133
|
-
* The ARN of the target group with which to register targets.
|
|
134
|
-
*/
|
|
135
|
-
targetGroupArn: pulumi.Input<string>;
|
|
136
|
-
/**
|
|
137
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
|
|
138
|
-
*
|
|
139
|
-
* The following arguments are optional:
|
|
140
|
-
*/
|
|
141
|
-
targetId: pulumi.Input<string>;
|
|
142
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
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.TargetGroupAttachment = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides the ability to register instances and containers with an Application Load Balancer (ALB) or Network Load Balancer (NLB) target group. For attaching resources with Elastic Load Balancer (ELB), see the `aws.elb.Attachment` resource.
|
|
10
|
-
*
|
|
11
|
-
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
* ### Basic Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as aws from "@pulumi/aws";
|
|
19
|
-
*
|
|
20
|
-
* const testTargetGroup = new aws.lb.TargetGroup("testTargetGroup", {});
|
|
21
|
-
* // ... other configuration ...
|
|
22
|
-
* const testInstance = new aws.ec2.Instance("testInstance", {});
|
|
23
|
-
* // ... other configuration ...
|
|
24
|
-
* const testTargetGroupAttachment = new aws.lb.TargetGroupAttachment("testTargetGroupAttachment", {
|
|
25
|
-
* targetGroupArn: testTargetGroup.arn,
|
|
26
|
-
* targetId: testInstance.id,
|
|
27
|
-
* port: 80,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
* ### Lambda Target
|
|
31
|
-
*
|
|
32
|
-
* ```typescript
|
|
33
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
-
* import * as aws from "@pulumi/aws";
|
|
35
|
-
*
|
|
36
|
-
* const testTargetGroup = new aws.lb.TargetGroup("testTargetGroup", {targetType: "lambda"});
|
|
37
|
-
* const testFunction = new aws.lambda.Function("testFunction", {});
|
|
38
|
-
* // ... other configuration ...
|
|
39
|
-
* const withLb = new aws.lambda.Permission("withLb", {
|
|
40
|
-
* action: "lambda:InvokeFunction",
|
|
41
|
-
* "function": testFunction.name,
|
|
42
|
-
* principal: "elasticloadbalancing.amazonaws.com",
|
|
43
|
-
* sourceArn: testTargetGroup.arn,
|
|
44
|
-
* });
|
|
45
|
-
* const testTargetGroupAttachment = new aws.lb.TargetGroupAttachment("testTargetGroupAttachment", {
|
|
46
|
-
* targetGroupArn: testTargetGroup.arn,
|
|
47
|
-
* targetId: testFunction.arn,
|
|
48
|
-
* }, {
|
|
49
|
-
* dependsOn: [withLb],
|
|
50
|
-
* });
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* ## Import
|
|
54
|
-
*
|
|
55
|
-
* Target Group Attachments cannot be imported.
|
|
56
|
-
*
|
|
57
|
-
* @deprecated aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment
|
|
58
|
-
*/
|
|
59
|
-
class TargetGroupAttachment extends pulumi.CustomResource {
|
|
60
|
-
/**
|
|
61
|
-
* Get an existing TargetGroupAttachment resource's state with the given name, ID, and optional extra
|
|
62
|
-
* properties used to qualify the lookup.
|
|
63
|
-
*
|
|
64
|
-
* @param name The _unique_ name of the resulting resource.
|
|
65
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
-
* @param state Any extra arguments used during the lookup.
|
|
67
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
-
*/
|
|
69
|
-
static get(name, id, state, opts) {
|
|
70
|
-
pulumi.log.warn("TargetGroupAttachment is deprecated: aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment");
|
|
71
|
-
return new TargetGroupAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Returns true if the given object is an instance of TargetGroupAttachment. This is designed to work even
|
|
75
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
-
*/
|
|
77
|
-
static isInstance(obj) {
|
|
78
|
-
if (obj === undefined || obj === null) {
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
return obj['__pulumiType'] === TargetGroupAttachment.__pulumiType;
|
|
82
|
-
}
|
|
83
|
-
/** @deprecated aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment */
|
|
84
|
-
constructor(name, argsOrState, opts) {
|
|
85
|
-
pulumi.log.warn("TargetGroupAttachment is deprecated: aws.elasticloadbalancingv2.TargetGroupAttachment has been deprecated in favor of aws.lb.TargetGroupAttachment");
|
|
86
|
-
let resourceInputs = {};
|
|
87
|
-
opts = opts || {};
|
|
88
|
-
if (opts.id) {
|
|
89
|
-
const state = argsOrState;
|
|
90
|
-
resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined;
|
|
91
|
-
resourceInputs["port"] = state ? state.port : undefined;
|
|
92
|
-
resourceInputs["targetGroupArn"] = state ? state.targetGroupArn : undefined;
|
|
93
|
-
resourceInputs["targetId"] = state ? state.targetId : undefined;
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
const args = argsOrState;
|
|
97
|
-
if ((!args || args.targetGroupArn === undefined) && !opts.urn) {
|
|
98
|
-
throw new Error("Missing required property 'targetGroupArn'");
|
|
99
|
-
}
|
|
100
|
-
if ((!args || args.targetId === undefined) && !opts.urn) {
|
|
101
|
-
throw new Error("Missing required property 'targetId'");
|
|
102
|
-
}
|
|
103
|
-
resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined;
|
|
104
|
-
resourceInputs["port"] = args ? args.port : undefined;
|
|
105
|
-
resourceInputs["targetGroupArn"] = args ? args.targetGroupArn : undefined;
|
|
106
|
-
resourceInputs["targetId"] = args ? args.targetId : undefined;
|
|
107
|
-
}
|
|
108
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
|
-
super(TargetGroupAttachment.__pulumiType, name, resourceInputs, opts);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
exports.TargetGroupAttachment = TargetGroupAttachment;
|
|
113
|
-
/** @internal */
|
|
114
|
-
TargetGroupAttachment.__pulumiType = 'aws:elasticloadbalancingv2/targetGroupAttachment:TargetGroupAttachment';
|
|
115
|
-
//# sourceMappingURL=targetGroupAttachment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targetGroupAttachment.js","sourceRoot":"","sources":["../../elasticloadbalancingv2/targetGroupAttachment.ts"],"names":[],"mappings":"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"}
|
package/getAmi.d.ts
DELETED
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Use this data source to get the ID of a registered AMI for use in other
|
|
6
|
-
* resources.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as aws from "@pulumi/aws";
|
|
13
|
-
*
|
|
14
|
-
* const example = aws.ec2.getAmi({
|
|
15
|
-
* executableUsers: ["self"],
|
|
16
|
-
* filters: [
|
|
17
|
-
* {
|
|
18
|
-
* name: "name",
|
|
19
|
-
* values: ["myami-*"],
|
|
20
|
-
* },
|
|
21
|
-
* {
|
|
22
|
-
* name: "root-device-type",
|
|
23
|
-
* values: ["ebs"],
|
|
24
|
-
* },
|
|
25
|
-
* {
|
|
26
|
-
* name: "virtualization-type",
|
|
27
|
-
* values: ["hvm"],
|
|
28
|
-
* },
|
|
29
|
-
* ],
|
|
30
|
-
* mostRecent: true,
|
|
31
|
-
* nameRegex: "^myami-\\d{3}",
|
|
32
|
-
* owners: ["self"],
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
/** @deprecated aws.getAmi has been deprecated in favor of aws.ec2.getAmi */
|
|
37
|
-
export declare function getAmi(args?: GetAmiArgs, opts?: pulumi.InvokeOptions): Promise<GetAmiResult>;
|
|
38
|
-
/**
|
|
39
|
-
* A collection of arguments for invoking getAmi.
|
|
40
|
-
*/
|
|
41
|
-
export interface GetAmiArgs {
|
|
42
|
-
/**
|
|
43
|
-
* Limit search to users with *explicit* launch permission on
|
|
44
|
-
* the image. Valid items are the numeric account ID or `self`.
|
|
45
|
-
*/
|
|
46
|
-
executableUsers?: string[];
|
|
47
|
-
/**
|
|
48
|
-
* One or more name/value pairs to filter off of. There are
|
|
49
|
-
* several valid keys, for a full reference, check out
|
|
50
|
-
* [describe-images in the AWS CLI reference][1].
|
|
51
|
-
*/
|
|
52
|
-
filters?: inputs.GetAmiFilter[];
|
|
53
|
-
/**
|
|
54
|
-
* If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is false.
|
|
55
|
-
*/
|
|
56
|
-
includeDeprecated?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* If more than one result is returned, use the most
|
|
59
|
-
* recent AMI.
|
|
60
|
-
*/
|
|
61
|
-
mostRecent?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Regex string to apply to the AMI list returned
|
|
64
|
-
* by AWS. This allows more advanced filtering not supported from the AWS API. This
|
|
65
|
-
* filtering is done locally on what AWS returns, and could have a performance
|
|
66
|
-
* impact if the result is large. Combine this with other
|
|
67
|
-
* options to narrow down the list AWS returns.
|
|
68
|
-
*
|
|
69
|
-
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
70
|
-
* this call will fail. Ensure that your search is specific enough to return
|
|
71
|
-
* a single AMI ID only, or use `mostRecent` to choose the most recent one. If
|
|
72
|
-
* you want to match multiple AMIs, use the `aws.ec2.getAmiIds` data source instead.
|
|
73
|
-
*/
|
|
74
|
-
nameRegex?: string;
|
|
75
|
-
/**
|
|
76
|
-
* List of AMI owners to limit search. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
|
|
77
|
-
*/
|
|
78
|
-
owners?: string[];
|
|
79
|
-
/**
|
|
80
|
-
* Any tags assigned to the image.
|
|
81
|
-
* * `tags.#.key` - Key name of the tag.
|
|
82
|
-
* * `tags.#.value` - Value of the tag.
|
|
83
|
-
*/
|
|
84
|
-
tags?: {
|
|
85
|
-
[key: string]: string;
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* A collection of values returned by getAmi.
|
|
90
|
-
*/
|
|
91
|
-
export interface GetAmiResult {
|
|
92
|
-
/**
|
|
93
|
-
* OS architecture of the AMI (ie: `i386` or `x8664`).
|
|
94
|
-
*/
|
|
95
|
-
readonly architecture: string;
|
|
96
|
-
/**
|
|
97
|
-
* ARN of the AMI.
|
|
98
|
-
*/
|
|
99
|
-
readonly arn: string;
|
|
100
|
-
/**
|
|
101
|
-
* Set of objects with block device mappings of the AMI.
|
|
102
|
-
*/
|
|
103
|
-
readonly blockDeviceMappings: outputs.GetAmiBlockDeviceMapping[];
|
|
104
|
-
/**
|
|
105
|
-
* Boot mode of the image.
|
|
106
|
-
*/
|
|
107
|
-
readonly bootMode: string;
|
|
108
|
-
/**
|
|
109
|
-
* Date and time the image was created.
|
|
110
|
-
*/
|
|
111
|
-
readonly creationDate: string;
|
|
112
|
-
/**
|
|
113
|
-
* Date and time when the image will be deprecated.
|
|
114
|
-
*/
|
|
115
|
-
readonly deprecationTime: string;
|
|
116
|
-
/**
|
|
117
|
-
* Description of the AMI that was provided during image
|
|
118
|
-
* creation.
|
|
119
|
-
*/
|
|
120
|
-
readonly description: string;
|
|
121
|
-
/**
|
|
122
|
-
* Whether enhanced networking with ENA is enabled.
|
|
123
|
-
*/
|
|
124
|
-
readonly enaSupport: boolean;
|
|
125
|
-
readonly executableUsers?: string[];
|
|
126
|
-
readonly filters?: outputs.GetAmiFilter[];
|
|
127
|
-
/**
|
|
128
|
-
* Hypervisor type of the image.
|
|
129
|
-
*/
|
|
130
|
-
readonly hypervisor: string;
|
|
131
|
-
/**
|
|
132
|
-
* The provider-assigned unique ID for this managed resource.
|
|
133
|
-
*/
|
|
134
|
-
readonly id: string;
|
|
135
|
-
/**
|
|
136
|
-
* ID of the AMI. Should be the same as the resource `id`.
|
|
137
|
-
*/
|
|
138
|
-
readonly imageId: string;
|
|
139
|
-
/**
|
|
140
|
-
* Location of the AMI.
|
|
141
|
-
*/
|
|
142
|
-
readonly imageLocation: string;
|
|
143
|
-
/**
|
|
144
|
-
* AWS account alias (for example, `amazon`, `self`) or
|
|
145
|
-
* the AWS account ID of the AMI owner.
|
|
146
|
-
*/
|
|
147
|
-
readonly imageOwnerAlias: string;
|
|
148
|
-
/**
|
|
149
|
-
* Type of image.
|
|
150
|
-
*/
|
|
151
|
-
readonly imageType: string;
|
|
152
|
-
/**
|
|
153
|
-
* Instance Metadata Service (IMDS) support mode for the image. Set to `v2.0` if instances ran from this image enforce IMDSv2.
|
|
154
|
-
*/
|
|
155
|
-
readonly imdsSupport: string;
|
|
156
|
-
readonly includeDeprecated?: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Kernel associated with the image, if any. Only applicable
|
|
159
|
-
* for machine images.
|
|
160
|
-
*/
|
|
161
|
-
readonly kernelId: string;
|
|
162
|
-
readonly mostRecent?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Name of the AMI that was provided during image creation.
|
|
165
|
-
*/
|
|
166
|
-
readonly name: string;
|
|
167
|
-
readonly nameRegex?: string;
|
|
168
|
-
/**
|
|
169
|
-
* AWS account ID of the image owner.
|
|
170
|
-
*/
|
|
171
|
-
readonly ownerId: string;
|
|
172
|
-
readonly owners?: string[];
|
|
173
|
-
/**
|
|
174
|
-
* Value is Windows for `Windows` AMIs; otherwise blank.
|
|
175
|
-
*/
|
|
176
|
-
readonly platform: string;
|
|
177
|
-
/**
|
|
178
|
-
* Platform details associated with the billing code of the AMI.
|
|
179
|
-
*/
|
|
180
|
-
readonly platformDetails: string;
|
|
181
|
-
/**
|
|
182
|
-
* Any product codes associated with the AMI.
|
|
183
|
-
* * `product_codes.#.product_code_id` - The product code.
|
|
184
|
-
* * `product_codes.#.product_code_type` - The type of product code.
|
|
185
|
-
*/
|
|
186
|
-
readonly productCodes: outputs.GetAmiProductCode[];
|
|
187
|
-
/**
|
|
188
|
-
* `true` if the image has public launch permissions.
|
|
189
|
-
*/
|
|
190
|
-
readonly public: boolean;
|
|
191
|
-
/**
|
|
192
|
-
* RAM disk associated with the image, if any. Only applicable
|
|
193
|
-
* for machine images.
|
|
194
|
-
*/
|
|
195
|
-
readonly ramdiskId: string;
|
|
196
|
-
/**
|
|
197
|
-
* Device name of the root device.
|
|
198
|
-
*/
|
|
199
|
-
readonly rootDeviceName: string;
|
|
200
|
-
/**
|
|
201
|
-
* Type of root device (ie: `ebs` or `instance-store`).
|
|
202
|
-
*/
|
|
203
|
-
readonly rootDeviceType: string;
|
|
204
|
-
/**
|
|
205
|
-
* Snapshot id associated with the root device, if any
|
|
206
|
-
* (only applies to `ebs` root devices).
|
|
207
|
-
*/
|
|
208
|
-
readonly rootSnapshotId: string;
|
|
209
|
-
/**
|
|
210
|
-
* Whether enhanced networking is enabled.
|
|
211
|
-
*/
|
|
212
|
-
readonly sriovNetSupport: string;
|
|
213
|
-
/**
|
|
214
|
-
* Current state of the AMI. If the state is `available`, the image
|
|
215
|
-
* is successfully registered and can be used to launch an instance.
|
|
216
|
-
*/
|
|
217
|
-
readonly state: string;
|
|
218
|
-
/**
|
|
219
|
-
* Describes a state change. Fields are `UNSET` if not available.
|
|
220
|
-
* * `state_reason.code` - The reason code for the state change.
|
|
221
|
-
* * `state_reason.message` - The message for the state change.
|
|
222
|
-
*/
|
|
223
|
-
readonly stateReason: {
|
|
224
|
-
[key: string]: string;
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* Any tags assigned to the image.
|
|
228
|
-
* * `tags.#.key` - Key name of the tag.
|
|
229
|
-
* * `tags.#.value` - Value of the tag.
|
|
230
|
-
*/
|
|
231
|
-
readonly tags: {
|
|
232
|
-
[key: string]: string;
|
|
233
|
-
};
|
|
234
|
-
/**
|
|
235
|
-
* If the image is configured for NitroTPM support, the value is `v2.0`.
|
|
236
|
-
*/
|
|
237
|
-
readonly tpmSupport: string;
|
|
238
|
-
/**
|
|
239
|
-
* Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
|
|
240
|
-
*/
|
|
241
|
-
readonly usageOperation: string;
|
|
242
|
-
/**
|
|
243
|
-
* Type of virtualization of the AMI (ie: `hvm` or
|
|
244
|
-
* `paravirtual`).
|
|
245
|
-
*/
|
|
246
|
-
readonly virtualizationType: string;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Use this data source to get the ID of a registered AMI for use in other
|
|
250
|
-
* resources.
|
|
251
|
-
*
|
|
252
|
-
* ## Example Usage
|
|
253
|
-
*
|
|
254
|
-
* ```typescript
|
|
255
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
256
|
-
* import * as aws from "@pulumi/aws";
|
|
257
|
-
*
|
|
258
|
-
* const example = aws.ec2.getAmi({
|
|
259
|
-
* executableUsers: ["self"],
|
|
260
|
-
* filters: [
|
|
261
|
-
* {
|
|
262
|
-
* name: "name",
|
|
263
|
-
* values: ["myami-*"],
|
|
264
|
-
* },
|
|
265
|
-
* {
|
|
266
|
-
* name: "root-device-type",
|
|
267
|
-
* values: ["ebs"],
|
|
268
|
-
* },
|
|
269
|
-
* {
|
|
270
|
-
* name: "virtualization-type",
|
|
271
|
-
* values: ["hvm"],
|
|
272
|
-
* },
|
|
273
|
-
* ],
|
|
274
|
-
* mostRecent: true,
|
|
275
|
-
* nameRegex: "^myami-\\d{3}",
|
|
276
|
-
* owners: ["self"],
|
|
277
|
-
* });
|
|
278
|
-
* ```
|
|
279
|
-
*/
|
|
280
|
-
/** @deprecated aws.getAmi has been deprecated in favor of aws.ec2.getAmi */
|
|
281
|
-
export declare function getAmiOutput(args?: GetAmiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAmiResult>;
|
|
282
|
-
/**
|
|
283
|
-
* A collection of arguments for invoking getAmi.
|
|
284
|
-
*/
|
|
285
|
-
export interface GetAmiOutputArgs {
|
|
286
|
-
/**
|
|
287
|
-
* Limit search to users with *explicit* launch permission on
|
|
288
|
-
* the image. Valid items are the numeric account ID or `self`.
|
|
289
|
-
*/
|
|
290
|
-
executableUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
291
|
-
/**
|
|
292
|
-
* One or more name/value pairs to filter off of. There are
|
|
293
|
-
* several valid keys, for a full reference, check out
|
|
294
|
-
* [describe-images in the AWS CLI reference][1].
|
|
295
|
-
*/
|
|
296
|
-
filters?: pulumi.Input<pulumi.Input<inputs.GetAmiFilterArgs>[]>;
|
|
297
|
-
/**
|
|
298
|
-
* If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is false.
|
|
299
|
-
*/
|
|
300
|
-
includeDeprecated?: pulumi.Input<boolean>;
|
|
301
|
-
/**
|
|
302
|
-
* If more than one result is returned, use the most
|
|
303
|
-
* recent AMI.
|
|
304
|
-
*/
|
|
305
|
-
mostRecent?: pulumi.Input<boolean>;
|
|
306
|
-
/**
|
|
307
|
-
* Regex string to apply to the AMI list returned
|
|
308
|
-
* by AWS. This allows more advanced filtering not supported from the AWS API. This
|
|
309
|
-
* filtering is done locally on what AWS returns, and could have a performance
|
|
310
|
-
* impact if the result is large. Combine this with other
|
|
311
|
-
* options to narrow down the list AWS returns.
|
|
312
|
-
*
|
|
313
|
-
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
314
|
-
* this call will fail. Ensure that your search is specific enough to return
|
|
315
|
-
* a single AMI ID only, or use `mostRecent` to choose the most recent one. If
|
|
316
|
-
* you want to match multiple AMIs, use the `aws.ec2.getAmiIds` data source instead.
|
|
317
|
-
*/
|
|
318
|
-
nameRegex?: pulumi.Input<string>;
|
|
319
|
-
/**
|
|
320
|
-
* List of AMI owners to limit search. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
|
|
321
|
-
*/
|
|
322
|
-
owners?: pulumi.Input<pulumi.Input<string>[]>;
|
|
323
|
-
/**
|
|
324
|
-
* Any tags assigned to the image.
|
|
325
|
-
* * `tags.#.key` - Key name of the tag.
|
|
326
|
-
* * `tags.#.value` - Value of the tag.
|
|
327
|
-
*/
|
|
328
|
-
tags?: pulumi.Input<{
|
|
329
|
-
[key: string]: pulumi.Input<string>;
|
|
330
|
-
}>;
|
|
331
|
-
}
|
package/getAmi.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
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.getAmiOutput = exports.getAmi = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to get the ID of a registered AMI for use in other
|
|
10
|
-
* resources.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as aws from "@pulumi/aws";
|
|
17
|
-
*
|
|
18
|
-
* const example = aws.ec2.getAmi({
|
|
19
|
-
* executableUsers: ["self"],
|
|
20
|
-
* filters: [
|
|
21
|
-
* {
|
|
22
|
-
* name: "name",
|
|
23
|
-
* values: ["myami-*"],
|
|
24
|
-
* },
|
|
25
|
-
* {
|
|
26
|
-
* name: "root-device-type",
|
|
27
|
-
* values: ["ebs"],
|
|
28
|
-
* },
|
|
29
|
-
* {
|
|
30
|
-
* name: "virtualization-type",
|
|
31
|
-
* values: ["hvm"],
|
|
32
|
-
* },
|
|
33
|
-
* ],
|
|
34
|
-
* mostRecent: true,
|
|
35
|
-
* nameRegex: "^myami-\\d{3}",
|
|
36
|
-
* owners: ["self"],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
/** @deprecated aws.getAmi has been deprecated in favor of aws.ec2.getAmi */
|
|
41
|
-
function getAmi(args, opts) {
|
|
42
|
-
pulumi.log.warn("getAmi is deprecated: aws.getAmi has been deprecated in favor of aws.ec2.getAmi");
|
|
43
|
-
args = args || {};
|
|
44
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
-
return pulumi.runtime.invoke("aws:index/getAmi:getAmi", {
|
|
46
|
-
"executableUsers": args.executableUsers,
|
|
47
|
-
"filters": args.filters,
|
|
48
|
-
"includeDeprecated": args.includeDeprecated,
|
|
49
|
-
"mostRecent": args.mostRecent,
|
|
50
|
-
"nameRegex": args.nameRegex,
|
|
51
|
-
"owners": args.owners,
|
|
52
|
-
"tags": args.tags,
|
|
53
|
-
}, opts);
|
|
54
|
-
}
|
|
55
|
-
exports.getAmi = getAmi;
|
|
56
|
-
/**
|
|
57
|
-
* Use this data source to get the ID of a registered AMI for use in other
|
|
58
|
-
* resources.
|
|
59
|
-
*
|
|
60
|
-
* ## Example Usage
|
|
61
|
-
*
|
|
62
|
-
* ```typescript
|
|
63
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
-
* import * as aws from "@pulumi/aws";
|
|
65
|
-
*
|
|
66
|
-
* const example = aws.ec2.getAmi({
|
|
67
|
-
* executableUsers: ["self"],
|
|
68
|
-
* filters: [
|
|
69
|
-
* {
|
|
70
|
-
* name: "name",
|
|
71
|
-
* values: ["myami-*"],
|
|
72
|
-
* },
|
|
73
|
-
* {
|
|
74
|
-
* name: "root-device-type",
|
|
75
|
-
* values: ["ebs"],
|
|
76
|
-
* },
|
|
77
|
-
* {
|
|
78
|
-
* name: "virtualization-type",
|
|
79
|
-
* values: ["hvm"],
|
|
80
|
-
* },
|
|
81
|
-
* ],
|
|
82
|
-
* mostRecent: true,
|
|
83
|
-
* nameRegex: "^myami-\\d{3}",
|
|
84
|
-
* owners: ["self"],
|
|
85
|
-
* });
|
|
86
|
-
* ```
|
|
87
|
-
*/
|
|
88
|
-
/** @deprecated aws.getAmi has been deprecated in favor of aws.ec2.getAmi */
|
|
89
|
-
function getAmiOutput(args, opts) {
|
|
90
|
-
return pulumi.output(args).apply((a) => getAmi(a, opts));
|
|
91
|
-
}
|
|
92
|
-
exports.getAmiOutput = getAmiOutput;
|
|
93
|
-
//# sourceMappingURL=getAmi.js.map
|
package/getAmi.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAmi.js","sourceRoot":"","sources":["../getAmi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,4EAA4E;AAC5E,SAAgB,MAAM,CAAC,IAAiB,EAAE,IAA2B;IACjE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAA;IAClG,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,yBAAyB,EAAE;QACpD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,wBAcC;AA+MD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,4EAA4E;AAC5E,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
|