@pulumi/aws 6.0.0-alpha.2 → 6.0.0-alpha.3
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/alb/targetGroupAttachment.d.ts +17 -10
- package/alb/targetGroupAttachment.js +2 -1
- package/alb/targetGroupAttachment.js.map +1 -1
- package/appconfig/environment.d.ts +1 -1
- package/appflow/flow.d.ts +98 -0
- package/appflow/flow.js +98 -0
- package/appflow/flow.js.map +1 -1
- package/applicationloadbalancing/targetGroupAttachment.d.ts +17 -10
- package/applicationloadbalancing/targetGroupAttachment.js +2 -1
- package/applicationloadbalancing/targetGroupAttachment.js.map +1 -1
- package/appsync/graphQLApi.d.ts +0 -134
- package/appsync/graphQLApi.js +0 -134
- package/appsync/graphQLApi.js.map +1 -1
- package/backup/regionSettings.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +2 -0
- package/batch/computeEnvironment.js +2 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/budgets/getBudget.d.ts +130 -0
- package/budgets/getBudget.js +51 -0
- package/budgets/getBudget.js.map +1 -0
- package/budgets/index.d.ts +3 -0
- package/budgets/index.js +4 -1
- package/budgets/index.js.map +1 -1
- package/chime/index.d.ts +9 -0
- package/chime/index.js +16 -1
- package/chime/index.js.map +1 -1
- package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
- package/chime/sdkvoiceGlobalSettings.js +75 -0
- package/chime/sdkvoiceGlobalSettings.js.map +1 -0
- package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
- package/chime/sdkvoiceSipMediaApplication.js +95 -0
- package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
- package/chime/sdkvoiceSipRule.d.ts +134 -0
- package/chime/sdkvoiceSipRule.js +99 -0
- package/chime/sdkvoiceSipRule.js.map +1 -0
- package/chime/voiceConnector.d.ts +44 -0
- package/chime/voiceConnector.js +6 -0
- package/chime/voiceConnector.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +256 -0
- package/cleanrooms/collaboration.js +123 -0
- package/cleanrooms/collaboration.js.map +1 -0
- package/cleanrooms/index.d.ts +3 -0
- package/cleanrooms/index.js +22 -0
- package/cleanrooms/index.js.map +1 -0
- package/cloudfront/cachePolicy.d.ts +22 -22
- package/cloudfront/cachePolicy.js +2 -2
- package/cloudwatch/eventTarget.d.ts +8 -2
- package/cloudwatch/eventTarget.js +8 -2
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cloudwatch/internetMonitor.d.ts +12 -0
- package/cloudwatch/internetMonitor.js +2 -0
- package/cloudwatch/internetMonitor.js.map +1 -1
- package/cloudwatch/metricStream.d.ts +94 -0
- package/cloudwatch/metricStream.js +94 -0
- package/cloudwatch/metricStream.js.map +1 -1
- package/codebuild/project.d.ts +2 -2
- package/codebuild/project.js +2 -2
- package/cognito/identityPool.d.ts +1 -1
- package/cognito/identityPool.js +1 -1
- package/cognito/index.d.ts +3 -0
- package/cognito/index.js +6 -1
- package/cognito/index.js.map +1 -1
- package/cognito/managedUserPoolClient.d.ts +394 -0
- package/cognito/managedUserPoolClient.js +170 -0
- package/cognito/managedUserPoolClient.js.map +1 -0
- package/cognito/userPool.d.ts +3 -3
- package/cognito/userPoolClient.d.ts +14 -14
- package/cognito/userPoolClient.js +1 -1
- package/config/vars.d.ts +5 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/cur/reportDefinition.d.ts +7 -4
- package/cur/reportDefinition.js +4 -1
- package/cur/reportDefinition.js.map +1 -1
- package/datasync/locationObjectStorage.d.ts +3 -3
- package/ec2/getInstances.d.ts +54 -0
- package/ec2/getInstances.js +54 -0
- package/ec2/getInstances.js.map +1 -1
- package/ec2/getVpcPeeringConnections.d.ts +34 -0
- package/ec2/getVpcPeeringConnections.js +34 -0
- package/ec2/getVpcPeeringConnections.js.map +1 -1
- package/ec2/instance.d.ts +61 -0
- package/ec2/instance.js +39 -0
- package/ec2/instance.js.map +1 -1
- package/ec2/managedPrefixListEntry.d.ts +8 -16
- package/ec2/managedPrefixListEntry.js +5 -13
- package/ec2/managedPrefixListEntry.js.map +1 -1
- package/ec2/peeringConnectionOptions.d.ts +6 -18
- package/ec2/peeringConnectionOptions.js.map +1 -1
- package/ec2/securityGroupRule.d.ts +6 -0
- package/ec2/securityGroupRule.js.map +1 -1
- package/ec2/spotInstanceRequest.d.ts +7 -7
- package/ec2/spotInstanceRequest.js +1 -1
- package/ec2transitgateway/connect.d.ts +3 -3
- package/ec2transitgateway/connectPeer.d.ts +16 -0
- package/ec2transitgateway/connectPeer.js +4 -0
- package/ec2transitgateway/connectPeer.js.map +1 -1
- package/ec2transitgateway/getConnectPeer.d.ts +8 -0
- package/ec2transitgateway/getConnectPeer.js.map +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
- package/ec2transitgateway/getVpcAttachments.js +32 -0
- package/ec2transitgateway/getVpcAttachments.js.map +1 -1
- package/ec2transitgateway/index.d.ts +3 -0
- package/ec2transitgateway/index.js +6 -1
- package/ec2transitgateway/index.js.map +1 -1
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
- package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
- package/ec2transitgateway/routeTableAssociation.js +2 -0
- package/ec2transitgateway/routeTableAssociation.js.map +1 -1
- package/ecr/getPullThroughCacheRule.d.ts +67 -0
- package/ecr/getPullThroughCacheRule.js +47 -0
- package/ecr/getPullThroughCacheRule.js.map +1 -0
- package/ecr/index.d.ts +3 -0
- package/ecr/index.js +4 -1
- package/ecr/index.js.map +1 -1
- package/eks/addon.d.ts +5 -10
- package/eks/addon.js +2 -7
- package/eks/addon.js.map +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +2 -4
- package/eks/cluster.js.map +1 -1
- package/eks/getAddonVersion.d.ts +4 -8
- package/eks/getAddonVersion.js +4 -8
- package/eks/getAddonVersion.js.map +1 -1
- package/eks/getCluster.d.ts +6 -12
- package/eks/getCluster.js +6 -12
- package/eks/getCluster.js.map +1 -1
- package/eks/nodeGroup.d.ts +24 -15
- package/eks/nodeGroup.js.map +1 -1
- package/elasticache/cluster.d.ts +6 -3
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/globalReplicationGroup.d.ts +6 -3
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +6 -3
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +3 -3
- package/elasticloadbalancingv2/targetGroupAttachment.d.ts +17 -10
- package/elasticloadbalancingv2/targetGroupAttachment.js +2 -1
- package/elasticloadbalancingv2/targetGroupAttachment.js.map +1 -1
- package/elb/loadBalancer.d.ts +3 -3
- package/finspace/index.d.ts +12 -0
- package/finspace/index.js +37 -0
- package/finspace/index.js.map +1 -0
- package/finspace/kxCluster.d.ts +340 -0
- package/finspace/kxCluster.js +129 -0
- package/finspace/kxCluster.js.map +1 -0
- package/finspace/kxDatabase.d.ts +165 -0
- package/finspace/kxDatabase.js +102 -0
- package/finspace/kxDatabase.js.map +1 -0
- package/finspace/kxEnvironment.d.ts +235 -0
- package/finspace/kxEnvironment.js +132 -0
- package/finspace/kxEnvironment.js.map +1 -0
- package/finspace/kxUser.d.ts +160 -0
- package/finspace/kxUser.js +112 -0
- package/finspace/kxUser.js.map +1 -0
- package/fis/experimentTemplate.d.ts +12 -0
- package/fis/experimentTemplate.js +2 -0
- package/fis/experimentTemplate.js.map +1 -1
- package/getArn.d.ts +2 -3
- package/getArn.js +1 -0
- package/getArn.js.map +1 -1
- package/getBillingServiceAccount.d.ts +67 -2
- package/getBillingServiceAccount.js +56 -3
- package/getBillingServiceAccount.js.map +1 -1
- package/getCallerIdentity.d.ts +37 -2
- package/getCallerIdentity.js +26 -3
- package/getCallerIdentity.js.map +1 -1
- package/getDefaultTags.d.ts +2 -15
- package/getDefaultTags.js +1 -1
- package/getDefaultTags.js.map +1 -1
- package/getIpRanges.d.ts +2 -3
- package/getIpRanges.js +1 -0
- package/getIpRanges.js.map +1 -1
- package/getPartition.d.ts +41 -2
- package/getPartition.js +30 -3
- package/getPartition.js.map +1 -1
- package/getRegion.d.ts +2 -3
- package/getRegion.js +1 -0
- package/getRegion.js.map +1 -1
- package/getRegions.d.ts +9 -1
- package/getRegions.js +1 -0
- package/getRegions.js.map +1 -1
- package/getService.d.ts +2 -3
- package/getService.js +1 -0
- package/getService.js.map +1 -1
- package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
- package/globalaccelerator/customRoutingAccelerator.js +100 -0
- package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
- package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
- package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
- package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
- package/globalaccelerator/customRoutingListener.d.ts +104 -0
- package/globalaccelerator/customRoutingListener.js +93 -0
- package/globalaccelerator/customRoutingListener.js.map +1 -0
- package/globalaccelerator/getAccelerator.d.ts +3 -9
- package/globalaccelerator/getAccelerator.js +1 -1
- package/globalaccelerator/getAccelerator.js.map +1 -1
- package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
- package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
- package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
- package/globalaccelerator/index.d.ts +12 -0
- package/globalaccelerator/index.js +19 -1
- package/globalaccelerator/index.js.map +1 -1
- package/glue/crawler.d.ts +21 -0
- package/glue/crawler.js +2 -0
- package/glue/crawler.js.map +1 -1
- package/glue/devEndpoint.d.ts +3 -3
- package/glue/workflow.d.ts +3 -3
- package/guardduty/getFindingIds.d.ts +66 -0
- package/guardduty/getFindingIds.js +49 -0
- package/guardduty/getFindingIds.js.map +1 -0
- package/guardduty/index.d.ts +3 -0
- package/guardduty/index.js +4 -1
- package/guardduty/index.js.map +1 -1
- package/iam/getPrincipalPolicySimulation.d.ts +167 -0
- package/iam/getPrincipalPolicySimulation.js +48 -0
- package/iam/getPrincipalPolicySimulation.js.map +1 -0
- package/iam/index.d.ts +3 -0
- package/iam/index.js +5 -2
- package/iam/index.js.map +1 -1
- package/index.d.ts +9 -4
- package/index.js +15 -8
- package/index.js.map +1 -1
- package/iot/getEndpoint.d.ts +50 -0
- package/iot/getEndpoint.js +50 -0
- package/iot/getEndpoint.js.map +1 -1
- package/kendra/querySuggestionsBlockList.d.ts +24 -24
- package/kendra/querySuggestionsBlockList.js +2 -2
- package/keyspaces/table.d.ts +12 -0
- package/keyspaces/table.js +2 -0
- package/keyspaces/table.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +0 -50
- package/kinesis/firehoseDeliveryStream.js +0 -50
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +6 -48
- package/lambda/eventSourceMapping.js +0 -42
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lambda/function.d.ts +51 -4
- package/lambda/function.js +36 -1
- package/lambda/function.js.map +1 -1
- package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
- package/lambda/provisionedConcurrencyConfig.js +2 -2
- package/lb/targetGroupAttachment.d.ts +17 -10
- package/lb/targetGroupAttachment.js +2 -1
- package/lb/targetGroupAttachment.js.map +1 -1
- package/msk/cluster.d.ts +108 -0
- package/msk/cluster.js +108 -0
- package/msk/cluster.js.map +1 -1
- package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
- package/opensearch/getServerlessAccessPolicy.js +52 -0
- package/opensearch/getServerlessAccessPolicy.js.map +1 -0
- package/opensearch/getServerlessCollection.d.ts +101 -0
- package/opensearch/getServerlessCollection.js +51 -0
- package/opensearch/getServerlessCollection.js.map +1 -0
- package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
- package/opensearch/getServerlessSecurityConfig.js +50 -0
- package/opensearch/getServerlessSecurityConfig.js.map +1 -0
- package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
- package/opensearch/getServerlessSecurityPolicy.js +50 -0
- package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
- package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
- package/opensearch/getServerlessVpcEndpoint.js +47 -0
- package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
- package/opensearch/index.d.ts +30 -0
- package/opensearch/index.js +41 -1
- package/opensearch/index.js.map +1 -1
- package/opensearch/serverlessAccessPolicy.d.ts +138 -0
- package/opensearch/serverlessAccessPolicy.js +106 -0
- package/opensearch/serverlessAccessPolicy.js.map +1 -0
- package/opensearch/serverlessCollection.d.ts +167 -0
- package/opensearch/serverlessCollection.js +104 -0
- package/opensearch/serverlessCollection.js.map +1 -0
- package/opensearch/serverlessSecurityConfig.d.ts +113 -0
- package/opensearch/serverlessSecurityConfig.js +76 -0
- package/opensearch/serverlessSecurityConfig.js.map +1 -0
- package/opensearch/serverlessSecurityPolicy.d.ts +148 -0
- package/opensearch/serverlessSecurityPolicy.js +116 -0
- package/opensearch/serverlessSecurityPolicy.js.map +1 -0
- package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
- package/opensearch/serverlessVpcEndpoint.js +91 -0
- package/opensearch/serverlessVpcEndpoint.js.map +1 -0
- package/organizations/getPolicies.d.ts +45 -0
- package/organizations/getPolicies.js +29 -0
- package/organizations/getPolicies.js.map +1 -0
- package/organizations/getPoliciesForTarget.d.ts +54 -0
- package/organizations/getPoliciesForTarget.js +30 -0
- package/organizations/getPoliciesForTarget.js.map +1 -0
- package/organizations/index.d.ts +9 -0
- package/organizations/index.js +12 -1
- package/organizations/index.js.map +1 -1
- package/organizations/resourcePolicy.d.ts +137 -0
- package/organizations/resourcePolicy.js +109 -0
- package/organizations/resourcePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pinpoint/smsChannel.d.ts +18 -18
- package/pinpoint/smsChannel.js +2 -2
- package/pipes/pipe.d.ts +52 -19
- package/pipes/pipe.js +25 -8
- package/pipes/pipe.js.map +1 -1
- package/provider.d.ts +10 -0
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/quicksight/dataSet.d.ts +2 -2
- package/quicksight/dataSet.js +0 -3
- package/quicksight/dataSet.js.map +1 -1
- package/quicksight/getTheme.d.ts +133 -0
- package/quicksight/getTheme.js +51 -0
- package/quicksight/getTheme.js.map +1 -0
- package/quicksight/index.d.ts +6 -0
- package/quicksight/index.js +9 -1
- package/quicksight/index.js.map +1 -1
- package/quicksight/refreshSchedule.d.ts +44 -0
- package/quicksight/refreshSchedule.js +44 -0
- package/quicksight/refreshSchedule.js.map +1 -1
- package/quicksight/theme.d.ts +211 -0
- package/quicksight/theme.js +97 -0
- package/quicksight/theme.js.map +1 -0
- package/rds/eventSubscription.d.ts +3 -3
- package/rds/getInstance.d.ts +1 -1
- package/rds/instance.d.ts +3 -3
- package/rds/proxy.d.ts +3 -3
- package/redshift/cluster.d.ts +8 -0
- package/redshift/cluster.js +2 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/getCluster.d.ts +5 -1
- package/redshift/getCluster.js.map +1 -1
- package/s3/bucketNotification.d.ts +15 -3
- package/s3/bucketNotification.js +12 -0
- package/s3/bucketNotification.js.map +1 -1
- package/servicecatalog/getProduct.d.ts +13 -13
- package/servicecatalog/getProduct.js +4 -4
- package/ses/activeReceiptRuleSet.d.ts +8 -0
- package/ses/activeReceiptRuleSet.js +8 -0
- package/ses/activeReceiptRuleSet.js.map +1 -1
- package/sesv2/emailIdentity.d.ts +15 -3
- package/sesv2/emailIdentity.js.map +1 -1
- package/sesv2/getEmailIdentity.d.ts +97 -0
- package/sesv2/getEmailIdentity.js +50 -0
- package/sesv2/getEmailIdentity.js.map +1 -0
- package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
- package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
- package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
- package/sesv2/index.d.ts +6 -0
- package/sesv2/index.js +7 -1
- package/sesv2/index.js.map +1 -1
- package/sfn/alias.d.ts +136 -0
- package/sfn/alias.js +103 -0
- package/sfn/alias.js.map +1 -0
- package/sfn/getAlias.d.ts +97 -0
- package/sfn/getAlias.js +53 -0
- package/sfn/getAlias.js.map +1 -0
- package/sfn/getStateMachine.d.ts +5 -0
- package/sfn/getStateMachine.js.map +1 -1
- package/sfn/getStateMachineVersions.d.ts +65 -0
- package/sfn/getStateMachineVersions.js +49 -0
- package/sfn/getStateMachineVersions.js.map +1 -0
- package/sfn/index.d.ts +9 -0
- package/sfn/index.js +12 -1
- package/sfn/index.js.map +1 -1
- package/sfn/stateMachine.d.ts +45 -0
- package/sfn/stateMachine.js +35 -0
- package/sfn/stateMachine.js.map +1 -1
- package/ssm/patchBaseline.d.ts +6 -0
- package/ssm/patchBaseline.js.map +1 -1
- package/timestreamwrite/table.d.ts +30 -0
- package/timestreamwrite/table.js +20 -0
- package/timestreamwrite/table.js.map +1 -1
- package/transfer/agreement.d.ts +170 -0
- package/transfer/agreement.js +110 -0
- package/transfer/agreement.js.map +1 -0
- package/transfer/certificate.d.ts +172 -0
- package/transfer/certificate.js +103 -0
- package/transfer/certificate.js.map +1 -0
- package/transfer/connector.d.ts +152 -0
- package/transfer/connector.js +104 -0
- package/transfer/connector.js.map +1 -0
- package/transfer/index.d.ts +12 -0
- package/transfer/index.js +21 -1
- package/transfer/index.js.map +1 -1
- package/transfer/profile.d.ts +117 -0
- package/transfer/profile.js +78 -0
- package/transfer/profile.js.map +1 -0
- package/types/input.d.ts +9207 -97395
- package/types/output.d.ts +9845 -97697
- package/vpc/securityGroupEgressRule.d.ts +3 -3
- package/vpc/securityGroupEgressRule.js +4 -1
- package/vpc/securityGroupEgressRule.js.map +1 -1
- package/vpc/securityGroupIngressRule.d.ts +3 -3
- package/vpc/securityGroupIngressRule.js +4 -1
- package/vpc/securityGroupIngressRule.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +0 -49
- package/wafv2/ruleGroup.js +0 -49
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAcl.d.ts +6 -246
- package/wafv2/webAcl.js +0 -240
- package/wafv2/webAcl.js.map +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
- package/wafv2/webAclLoggingConfiguration.js +5 -5
|
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
8
9
|
*
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -20,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
21
|
* port: 80,
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
23
|
-
*
|
|
24
|
+
* ### Lambda Target
|
|
24
25
|
*
|
|
25
26
|
* ```typescript
|
|
26
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -64,7 +65,7 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
64
65
|
*/
|
|
65
66
|
static isInstance(obj: any): obj is TargetGroupAttachment;
|
|
66
67
|
/**
|
|
67
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
68
|
+
* 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`.
|
|
68
69
|
*/
|
|
69
70
|
readonly availabilityZone: pulumi.Output<string | undefined>;
|
|
70
71
|
/**
|
|
@@ -72,11 +73,13 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
72
73
|
*/
|
|
73
74
|
readonly port: pulumi.Output<number | undefined>;
|
|
74
75
|
/**
|
|
75
|
-
* The ARN of the target group with which to register targets
|
|
76
|
+
* The ARN of the target group with which to register targets.
|
|
76
77
|
*/
|
|
77
78
|
readonly targetGroupArn: pulumi.Output<string>;
|
|
78
79
|
/**
|
|
79
|
-
* 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
|
|
80
|
+
* 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.
|
|
81
|
+
*
|
|
82
|
+
* The following arguments are optional:
|
|
80
83
|
*/
|
|
81
84
|
readonly targetId: pulumi.Output<string>;
|
|
82
85
|
/**
|
|
@@ -93,7 +96,7 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
93
96
|
*/
|
|
94
97
|
export interface TargetGroupAttachmentState {
|
|
95
98
|
/**
|
|
96
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
99
|
+
* 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`.
|
|
97
100
|
*/
|
|
98
101
|
availabilityZone?: pulumi.Input<string>;
|
|
99
102
|
/**
|
|
@@ -101,11 +104,13 @@ export interface TargetGroupAttachmentState {
|
|
|
101
104
|
*/
|
|
102
105
|
port?: pulumi.Input<number>;
|
|
103
106
|
/**
|
|
104
|
-
* The ARN of the target group with which to register targets
|
|
107
|
+
* The ARN of the target group with which to register targets.
|
|
105
108
|
*/
|
|
106
109
|
targetGroupArn?: pulumi.Input<string>;
|
|
107
110
|
/**
|
|
108
|
-
* 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
|
|
111
|
+
* 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.
|
|
112
|
+
*
|
|
113
|
+
* The following arguments are optional:
|
|
109
114
|
*/
|
|
110
115
|
targetId?: pulumi.Input<string>;
|
|
111
116
|
}
|
|
@@ -114,7 +119,7 @@ export interface TargetGroupAttachmentState {
|
|
|
114
119
|
*/
|
|
115
120
|
export interface TargetGroupAttachmentArgs {
|
|
116
121
|
/**
|
|
117
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
122
|
+
* 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`.
|
|
118
123
|
*/
|
|
119
124
|
availabilityZone?: pulumi.Input<string>;
|
|
120
125
|
/**
|
|
@@ -122,11 +127,13 @@ export interface TargetGroupAttachmentArgs {
|
|
|
122
127
|
*/
|
|
123
128
|
port?: pulumi.Input<number>;
|
|
124
129
|
/**
|
|
125
|
-
* The ARN of the target group with which to register targets
|
|
130
|
+
* The ARN of the target group with which to register targets.
|
|
126
131
|
*/
|
|
127
132
|
targetGroupArn: pulumi.Input<string>;
|
|
128
133
|
/**
|
|
129
|
-
* 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
|
|
134
|
+
* 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.
|
|
135
|
+
*
|
|
136
|
+
* The following arguments are optional:
|
|
130
137
|
*/
|
|
131
138
|
targetId: pulumi.Input<string>;
|
|
132
139
|
}
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
* ### Basic Usage
|
|
14
15
|
*
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -26,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
26
27
|
* port: 80,
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
29
|
-
*
|
|
30
|
+
* ### Lambda Target
|
|
30
31
|
*
|
|
31
32
|
* ```typescript
|
|
32
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targetGroupAttachment.js","sourceRoot":"","sources":["../../alb/targetGroupAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"targetGroupAttachment.js","sourceRoot":"","sources":["../../alb/targetGroupAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA6BD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAA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,EAAE,CAAC,EAAE,CAAC;QACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAjFL,sDAkFC;AApEG,gBAAgB;AACO,kCAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -64,7 +64,7 @@ export declare class Environment extends pulumi.CustomResource {
|
|
|
64
64
|
/**
|
|
65
65
|
* Description of the environment. Can be at most 1024 characters.
|
|
66
66
|
*/
|
|
67
|
-
readonly description: pulumi.Output<string
|
|
67
|
+
readonly description: pulumi.Output<string>;
|
|
68
68
|
/**
|
|
69
69
|
* AppConfig environment ID.
|
|
70
70
|
*/
|
package/appflow/flow.d.ts
CHANGED
|
@@ -4,6 +4,104 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides an AppFlow flow resource.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const exampleSourceBucketV2 = new aws.s3.BucketV2("exampleSourceBucketV2", {});
|
|
14
|
+
* const exampleSourcePolicyDocument = aws.iam.getPolicyDocument({
|
|
15
|
+
* statements: [{
|
|
16
|
+
* sid: "AllowAppFlowSourceActions",
|
|
17
|
+
* effect: "Allow",
|
|
18
|
+
* principals: [{
|
|
19
|
+
* type: "Service",
|
|
20
|
+
* identifiers: ["appflow.amazonaws.com"],
|
|
21
|
+
* }],
|
|
22
|
+
* actions: [
|
|
23
|
+
* "s3:ListBucket",
|
|
24
|
+
* "s3:GetObject",
|
|
25
|
+
* ],
|
|
26
|
+
* resources: [
|
|
27
|
+
* "arn:aws:s3:::example_source",
|
|
28
|
+
* "arn:aws:s3:::example_source/*",
|
|
29
|
+
* ],
|
|
30
|
+
* }],
|
|
31
|
+
* });
|
|
32
|
+
* const exampleSourceBucketPolicy = new aws.s3.BucketPolicy("exampleSourceBucketPolicy", {
|
|
33
|
+
* bucket: exampleSourceBucketV2.id,
|
|
34
|
+
* policy: exampleSourcePolicyDocument.then(exampleSourcePolicyDocument => exampleSourcePolicyDocument.json),
|
|
35
|
+
* });
|
|
36
|
+
* const exampleBucketObjectv2 = new aws.s3.BucketObjectv2("exampleBucketObjectv2", {
|
|
37
|
+
* bucket: exampleSourceBucketV2.id,
|
|
38
|
+
* key: "example_source.csv",
|
|
39
|
+
* source: new pulumi.asset.FileAsset("example_source.csv"),
|
|
40
|
+
* });
|
|
41
|
+
* const exampleDestinationBucketV2 = new aws.s3.BucketV2("exampleDestinationBucketV2", {});
|
|
42
|
+
* const exampleDestinationPolicyDocument = aws.iam.getPolicyDocument({
|
|
43
|
+
* statements: [{
|
|
44
|
+
* sid: "AllowAppFlowDestinationActions",
|
|
45
|
+
* effect: "Allow",
|
|
46
|
+
* principals: [{
|
|
47
|
+
* type: "Service",
|
|
48
|
+
* identifiers: ["appflow.amazonaws.com"],
|
|
49
|
+
* }],
|
|
50
|
+
* actions: [
|
|
51
|
+
* "s3:PutObject",
|
|
52
|
+
* "s3:AbortMultipartUpload",
|
|
53
|
+
* "s3:ListMultipartUploadParts",
|
|
54
|
+
* "s3:ListBucketMultipartUploads",
|
|
55
|
+
* "s3:GetBucketAcl",
|
|
56
|
+
* "s3:PutObjectAcl",
|
|
57
|
+
* ],
|
|
58
|
+
* resources: [
|
|
59
|
+
* "arn:aws:s3:::example_destination",
|
|
60
|
+
* "arn:aws:s3:::example_destination/*",
|
|
61
|
+
* ],
|
|
62
|
+
* }],
|
|
63
|
+
* });
|
|
64
|
+
* const exampleDestinationBucketPolicy = new aws.s3.BucketPolicy("exampleDestinationBucketPolicy", {
|
|
65
|
+
* bucket: exampleDestinationBucketV2.id,
|
|
66
|
+
* policy: exampleDestinationPolicyDocument.then(exampleDestinationPolicyDocument => exampleDestinationPolicyDocument.json),
|
|
67
|
+
* });
|
|
68
|
+
* const exampleFlow = new aws.appflow.Flow("exampleFlow", {
|
|
69
|
+
* sourceFlowConfig: {
|
|
70
|
+
* connectorType: "S3",
|
|
71
|
+
* sourceConnectorProperties: {
|
|
72
|
+
* s3: {
|
|
73
|
+
* bucketName: exampleSourceBucketPolicy.bucket,
|
|
74
|
+
* bucketPrefix: "example",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* destinationFlowConfigs: [{
|
|
79
|
+
* connectorType: "S3",
|
|
80
|
+
* destinationConnectorProperties: {
|
|
81
|
+
* s3: {
|
|
82
|
+
* bucketName: exampleDestinationBucketPolicy.bucket,
|
|
83
|
+
* s3OutputFormatConfig: {
|
|
84
|
+
* prefixConfig: {
|
|
85
|
+
* prefixType: "PATH",
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* }],
|
|
91
|
+
* tasks: [{
|
|
92
|
+
* sourceFields: ["exampleField"],
|
|
93
|
+
* destinationField: "exampleField",
|
|
94
|
+
* taskType: "Map",
|
|
95
|
+
* connectorOperators: [{
|
|
96
|
+
* s3: "NO_OP",
|
|
97
|
+
* }],
|
|
98
|
+
* }],
|
|
99
|
+
* triggerConfig: {
|
|
100
|
+
* triggerType: "OnDemand",
|
|
101
|
+
* },
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
7
105
|
* ## Import
|
|
8
106
|
*
|
|
9
107
|
* AppFlow flows can be imported using the `arn`, e.g.
|
package/appflow/flow.js
CHANGED
|
@@ -8,6 +8,104 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides an AppFlow flow resource.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const exampleSourceBucketV2 = new aws.s3.BucketV2("exampleSourceBucketV2", {});
|
|
18
|
+
* const exampleSourcePolicyDocument = aws.iam.getPolicyDocument({
|
|
19
|
+
* statements: [{
|
|
20
|
+
* sid: "AllowAppFlowSourceActions",
|
|
21
|
+
* effect: "Allow",
|
|
22
|
+
* principals: [{
|
|
23
|
+
* type: "Service",
|
|
24
|
+
* identifiers: ["appflow.amazonaws.com"],
|
|
25
|
+
* }],
|
|
26
|
+
* actions: [
|
|
27
|
+
* "s3:ListBucket",
|
|
28
|
+
* "s3:GetObject",
|
|
29
|
+
* ],
|
|
30
|
+
* resources: [
|
|
31
|
+
* "arn:aws:s3:::example_source",
|
|
32
|
+
* "arn:aws:s3:::example_source/*",
|
|
33
|
+
* ],
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* const exampleSourceBucketPolicy = new aws.s3.BucketPolicy("exampleSourceBucketPolicy", {
|
|
37
|
+
* bucket: exampleSourceBucketV2.id,
|
|
38
|
+
* policy: exampleSourcePolicyDocument.then(exampleSourcePolicyDocument => exampleSourcePolicyDocument.json),
|
|
39
|
+
* });
|
|
40
|
+
* const exampleBucketObjectv2 = new aws.s3.BucketObjectv2("exampleBucketObjectv2", {
|
|
41
|
+
* bucket: exampleSourceBucketV2.id,
|
|
42
|
+
* key: "example_source.csv",
|
|
43
|
+
* source: new pulumi.asset.FileAsset("example_source.csv"),
|
|
44
|
+
* });
|
|
45
|
+
* const exampleDestinationBucketV2 = new aws.s3.BucketV2("exampleDestinationBucketV2", {});
|
|
46
|
+
* const exampleDestinationPolicyDocument = aws.iam.getPolicyDocument({
|
|
47
|
+
* statements: [{
|
|
48
|
+
* sid: "AllowAppFlowDestinationActions",
|
|
49
|
+
* effect: "Allow",
|
|
50
|
+
* principals: [{
|
|
51
|
+
* type: "Service",
|
|
52
|
+
* identifiers: ["appflow.amazonaws.com"],
|
|
53
|
+
* }],
|
|
54
|
+
* actions: [
|
|
55
|
+
* "s3:PutObject",
|
|
56
|
+
* "s3:AbortMultipartUpload",
|
|
57
|
+
* "s3:ListMultipartUploadParts",
|
|
58
|
+
* "s3:ListBucketMultipartUploads",
|
|
59
|
+
* "s3:GetBucketAcl",
|
|
60
|
+
* "s3:PutObjectAcl",
|
|
61
|
+
* ],
|
|
62
|
+
* resources: [
|
|
63
|
+
* "arn:aws:s3:::example_destination",
|
|
64
|
+
* "arn:aws:s3:::example_destination/*",
|
|
65
|
+
* ],
|
|
66
|
+
* }],
|
|
67
|
+
* });
|
|
68
|
+
* const exampleDestinationBucketPolicy = new aws.s3.BucketPolicy("exampleDestinationBucketPolicy", {
|
|
69
|
+
* bucket: exampleDestinationBucketV2.id,
|
|
70
|
+
* policy: exampleDestinationPolicyDocument.then(exampleDestinationPolicyDocument => exampleDestinationPolicyDocument.json),
|
|
71
|
+
* });
|
|
72
|
+
* const exampleFlow = new aws.appflow.Flow("exampleFlow", {
|
|
73
|
+
* sourceFlowConfig: {
|
|
74
|
+
* connectorType: "S3",
|
|
75
|
+
* sourceConnectorProperties: {
|
|
76
|
+
* s3: {
|
|
77
|
+
* bucketName: exampleSourceBucketPolicy.bucket,
|
|
78
|
+
* bucketPrefix: "example",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* destinationFlowConfigs: [{
|
|
83
|
+
* connectorType: "S3",
|
|
84
|
+
* destinationConnectorProperties: {
|
|
85
|
+
* s3: {
|
|
86
|
+
* bucketName: exampleDestinationBucketPolicy.bucket,
|
|
87
|
+
* s3OutputFormatConfig: {
|
|
88
|
+
* prefixConfig: {
|
|
89
|
+
* prefixType: "PATH",
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* }],
|
|
95
|
+
* tasks: [{
|
|
96
|
+
* sourceFields: ["exampleField"],
|
|
97
|
+
* destinationField: "exampleField",
|
|
98
|
+
* taskType: "Map",
|
|
99
|
+
* connectorOperators: [{
|
|
100
|
+
* s3: "NO_OP",
|
|
101
|
+
* }],
|
|
102
|
+
* }],
|
|
103
|
+
* triggerConfig: {
|
|
104
|
+
* triggerType: "OnDemand",
|
|
105
|
+
* },
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
11
109
|
* ## Import
|
|
12
110
|
*
|
|
13
111
|
* AppFlow flows can be imported using the `arn`, e.g.
|
package/appflow/flow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../appflow/flow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../appflow/flow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAA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AAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAvHL,oBAwHC;AA1GG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
|
|
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
8
9
|
*
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -20,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
21
|
* port: 80,
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
23
|
-
*
|
|
24
|
+
* ### Lambda Target
|
|
24
25
|
*
|
|
25
26
|
* ```typescript
|
|
26
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -66,7 +67,7 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
66
67
|
*/
|
|
67
68
|
static isInstance(obj: any): obj is TargetGroupAttachment;
|
|
68
69
|
/**
|
|
69
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
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`.
|
|
70
71
|
*/
|
|
71
72
|
readonly availabilityZone: pulumi.Output<string | undefined>;
|
|
72
73
|
/**
|
|
@@ -74,11 +75,13 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
74
75
|
*/
|
|
75
76
|
readonly port: pulumi.Output<number | undefined>;
|
|
76
77
|
/**
|
|
77
|
-
* The ARN of the target group with which to register targets
|
|
78
|
+
* The ARN of the target group with which to register targets.
|
|
78
79
|
*/
|
|
79
80
|
readonly targetGroupArn: pulumi.Output<string>;
|
|
80
81
|
/**
|
|
81
|
-
* 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
|
|
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:
|
|
82
85
|
*/
|
|
83
86
|
readonly targetId: pulumi.Output<string>;
|
|
84
87
|
/**
|
|
@@ -96,7 +99,7 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
96
99
|
*/
|
|
97
100
|
export interface TargetGroupAttachmentState {
|
|
98
101
|
/**
|
|
99
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
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`.
|
|
100
103
|
*/
|
|
101
104
|
availabilityZone?: pulumi.Input<string>;
|
|
102
105
|
/**
|
|
@@ -104,11 +107,13 @@ export interface TargetGroupAttachmentState {
|
|
|
104
107
|
*/
|
|
105
108
|
port?: pulumi.Input<number>;
|
|
106
109
|
/**
|
|
107
|
-
* The ARN of the target group with which to register targets
|
|
110
|
+
* The ARN of the target group with which to register targets.
|
|
108
111
|
*/
|
|
109
112
|
targetGroupArn?: pulumi.Input<string>;
|
|
110
113
|
/**
|
|
111
|
-
* 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
|
|
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:
|
|
112
117
|
*/
|
|
113
118
|
targetId?: pulumi.Input<string>;
|
|
114
119
|
}
|
|
@@ -117,7 +122,7 @@ export interface TargetGroupAttachmentState {
|
|
|
117
122
|
*/
|
|
118
123
|
export interface TargetGroupAttachmentArgs {
|
|
119
124
|
/**
|
|
120
|
-
* The Availability Zone where the IP address of the target is to be registered. If the private
|
|
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`.
|
|
121
126
|
*/
|
|
122
127
|
availabilityZone?: pulumi.Input<string>;
|
|
123
128
|
/**
|
|
@@ -125,11 +130,13 @@ export interface TargetGroupAttachmentArgs {
|
|
|
125
130
|
*/
|
|
126
131
|
port?: pulumi.Input<number>;
|
|
127
132
|
/**
|
|
128
|
-
* The ARN of the target group with which to register targets
|
|
133
|
+
* The ARN of the target group with which to register targets.
|
|
129
134
|
*/
|
|
130
135
|
targetGroupArn: pulumi.Input<string>;
|
|
131
136
|
/**
|
|
132
|
-
* 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
|
|
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:
|
|
133
140
|
*/
|
|
134
141
|
targetId: pulumi.Input<string>;
|
|
135
142
|
}
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **Note:** `aws.alb.TargetGroupAttachment` is known as `aws.lb.TargetGroupAttachment`. The functionality is identical.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
* ### Basic Usage
|
|
14
15
|
*
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -26,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
26
27
|
* port: 80,
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
29
|
-
*
|
|
30
|
+
* ### Lambda Target
|
|
30
31
|
*
|
|
31
32
|
* ```typescript
|
|
32
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targetGroupAttachment.js","sourceRoot":"","sources":["../../applicationloadbalancing/targetGroupAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"targetGroupAttachment.js","sourceRoot":"","sources":["../../applicationloadbalancing/targetGroupAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uJAAuJ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MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAnFL,sDAoFC;AArEG,gBAAgB;AACO,kCAAY,GAAG,0EAA0E,CAAC"}
|
package/appsync/graphQLApi.d.ts
CHANGED
|
@@ -1,140 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Provides an AppSync GraphQL API.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
* ### API Key Authentication
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as aws from "@pulumi/aws";
|
|
13
|
-
*
|
|
14
|
-
* const example = new aws.appsync.GraphQLApi("example", {authenticationType: "API_KEY"});
|
|
15
|
-
* ```
|
|
16
|
-
* ### AWS IAM Authentication
|
|
17
|
-
*
|
|
18
|
-
* ```typescript
|
|
19
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
-
* import * as aws from "@pulumi/aws";
|
|
21
|
-
*
|
|
22
|
-
* const example = new aws.appsync.GraphQLApi("example", {authenticationType: "AWS_IAM"});
|
|
23
|
-
* ```
|
|
24
|
-
* ### AWS Cognito User Pool Authentication
|
|
25
|
-
*
|
|
26
|
-
* ```typescript
|
|
27
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
-
* import * as aws from "@pulumi/aws";
|
|
29
|
-
*
|
|
30
|
-
* const example = new aws.appsync.GraphQLApi("example", {
|
|
31
|
-
* authenticationType: "AMAZON_COGNITO_USER_POOLS",
|
|
32
|
-
* userPoolConfig: {
|
|
33
|
-
* awsRegion: data.aws_region.current.name,
|
|
34
|
-
* defaultAction: "DENY",
|
|
35
|
-
* userPoolId: aws_cognito_user_pool.example.id,
|
|
36
|
-
* },
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
* ### OpenID Connect Authentication
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as aws from "@pulumi/aws";
|
|
44
|
-
*
|
|
45
|
-
* const example = new aws.appsync.GraphQLApi("example", {
|
|
46
|
-
* authenticationType: "OPENID_CONNECT",
|
|
47
|
-
* openidConnectConfig: {
|
|
48
|
-
* issuer: "https://example.com",
|
|
49
|
-
* },
|
|
50
|
-
* });
|
|
51
|
-
* ```
|
|
52
|
-
* ### AWS Lambda Authorizer Authentication
|
|
53
|
-
*
|
|
54
|
-
* ```typescript
|
|
55
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
-
* import * as aws from "@pulumi/aws";
|
|
57
|
-
*
|
|
58
|
-
* const example = new aws.appsync.GraphQLApi("example", {
|
|
59
|
-
* authenticationType: "AWS_LAMBDA",
|
|
60
|
-
* lambdaAuthorizerConfig: {
|
|
61
|
-
* authorizerUri: "arn:aws:lambda:us-east-1:123456789012:function:custom_lambda_authorizer",
|
|
62
|
-
* },
|
|
63
|
-
* });
|
|
64
|
-
* const appsyncLambdaAuthorizer = new aws.lambda.Permission("appsyncLambdaAuthorizer", {
|
|
65
|
-
* action: "lambda:InvokeFunction",
|
|
66
|
-
* "function": "custom_lambda_authorizer",
|
|
67
|
-
* principal: "appsync.amazonaws.com",
|
|
68
|
-
* sourceArn: example.arn,
|
|
69
|
-
* });
|
|
70
|
-
* ```
|
|
71
|
-
* ### With Multiple Authentication Providers
|
|
72
|
-
*
|
|
73
|
-
* ```typescript
|
|
74
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
-
* import * as aws from "@pulumi/aws";
|
|
76
|
-
*
|
|
77
|
-
* const example = new aws.appsync.GraphQLApi("example", {
|
|
78
|
-
* additionalAuthenticationProviders: [{
|
|
79
|
-
* authenticationType: "AWS_IAM",
|
|
80
|
-
* }],
|
|
81
|
-
* authenticationType: "API_KEY",
|
|
82
|
-
* });
|
|
83
|
-
* ```
|
|
84
|
-
* ### With Schema
|
|
85
|
-
*
|
|
86
|
-
* ```typescript
|
|
87
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
-
* import * as aws from "@pulumi/aws";
|
|
89
|
-
*
|
|
90
|
-
* const example = new aws.appsync.GraphQLApi("example", {
|
|
91
|
-
* authenticationType: "AWS_IAM",
|
|
92
|
-
* schema: `schema {
|
|
93
|
-
* query: Query
|
|
94
|
-
* }
|
|
95
|
-
* type Query {
|
|
96
|
-
* test: Int
|
|
97
|
-
* }
|
|
98
|
-
*
|
|
99
|
-
* `,
|
|
100
|
-
* });
|
|
101
|
-
* ```
|
|
102
|
-
* ### Enabling Logging
|
|
103
|
-
*
|
|
104
|
-
* ```typescript
|
|
105
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
106
|
-
* import * as aws from "@pulumi/aws";
|
|
107
|
-
*
|
|
108
|
-
* const assumeRole = aws.iam.getPolicyDocument({
|
|
109
|
-
* statements: [{
|
|
110
|
-
* effect: "Allow",
|
|
111
|
-
* principals: [{
|
|
112
|
-
* type: "Service",
|
|
113
|
-
* identifiers: ["appsync.amazonaws.com"],
|
|
114
|
-
* }],
|
|
115
|
-
* actions: ["sts:AssumeRole"],
|
|
116
|
-
* }],
|
|
117
|
-
* });
|
|
118
|
-
* const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json)});
|
|
119
|
-
* const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("exampleRolePolicyAttachment", {
|
|
120
|
-
* policyArn: "arn:aws:iam::aws:policy/service-role/AWSAppSyncPushToCloudWatchLogs",
|
|
121
|
-
* role: exampleRole.name,
|
|
122
|
-
* });
|
|
123
|
-
* // ... other configuration ...
|
|
124
|
-
* const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {logConfig: {
|
|
125
|
-
* cloudwatchLogsRoleArn: exampleRole.arn,
|
|
126
|
-
* fieldLogLevel: "ERROR",
|
|
127
|
-
* }});
|
|
128
|
-
* ```
|
|
129
|
-
*
|
|
130
|
-
* ## Import
|
|
131
|
-
*
|
|
132
|
-
* AppSync GraphQL API can be imported using the GraphQL API ID, e.g.,
|
|
133
|
-
*
|
|
134
|
-
* ```sh
|
|
135
|
-
* $ pulumi import aws:appsync/graphQLApi:GraphQLApi example 0123456789
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
4
|
export declare class GraphQLApi extends pulumi.CustomResource {
|
|
139
5
|
/**
|
|
140
6
|
* Get an existing GraphQLApi resource's state with the given name, ID, and optional extra
|