@pulumi/aws 6.0.0-alpha.2 → 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/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/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/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/cloudtrail/index.d.ts +0 -3
- package/cloudtrail/index.js +1 -4
- package/cloudtrail/index.js.map +1 -1
- 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/fleet.d.ts +5 -5
- package/ec2/fleet.js +6 -6
- package/ec2/fleet.js.map +1 -1
- 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/index.d.ts +0 -3
- package/ec2/index.js +2 -7
- package/ec2/index.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/securityGroup.d.ts +14 -0
- package/ec2/securityGroup.js +14 -0
- package/ec2/securityGroup.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/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/fms/policy.d.ts +2 -0
- package/fms/policy.js +2 -0
- package/fms/policy.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/{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/getPrincipalPolicySimulation.d.ts +167 -0
- package/iam/getPrincipalPolicySimulation.js +48 -0
- package/iam/getPrincipalPolicySimulation.js.map +1 -0
- package/iam/index.d.ts +6 -3
- package/iam/index.js +8 -5
- package/iam/index.js.map +1 -1
- package/iam/virtualMfaDevice.d.ts +22 -2
- package/iam/virtualMfaDevice.js +8 -0
- package/iam/virtualMfaDevice.js.map +1 -1
- package/index.d.ts +9 -24
- package/index.js +15 -30
- 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/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/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 +39 -0
- package/kinesis/firehoseDeliveryStream.js +39 -0
- 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 +262 -0
- package/opensearch/serverlessSecurityPolicy.js +230 -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 +0 -9
- package/rds/instance.js.map +1 -1
- 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/securityhub/standardsControl.d.ts +3 -3
- 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/ses/index.d.ts +0 -3
- package/ses/index.js +1 -6
- package/ses/index.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/getParameter.d.ts +1 -0
- package/ssm/getParameter.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 +11137 -100596
- package/types/output.d.ts +32173 -121499
- package/utils.d.ts +0 -1
- package/utils.js +0 -6
- package/utils.js.map +1 -1
- 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/getIpSet.d.ts +1 -1
- package/wafv2/ipSet.d.ts +3 -3
- package/wafv2/regexPatternSet.d.ts +3 -3
- 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
- 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 -135
- package/applicationloadbalancing/targetGroupAttachment.js +0 -114
- 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 -135
- package/elasticloadbalancingv2/targetGroupAttachment.js +0 -114
- 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
|
@@ -34,6 +34,24 @@ import * as outputs from "../types/output";
|
|
|
34
34
|
* },
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
|
+
* ### Customer-defined Partition Key
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as aws from "@pulumi/aws";
|
|
42
|
+
*
|
|
43
|
+
* const example = new aws.timestreamwrite.Table("example", {
|
|
44
|
+
* databaseName: aws_timestreamwrite_database.example.database_name,
|
|
45
|
+
* tableName: "example",
|
|
46
|
+
* schema: {
|
|
47
|
+
* compositePartitionKey: {
|
|
48
|
+
* enforcementInRecord: "REQUIRED",
|
|
49
|
+
* name: "attr1",
|
|
50
|
+
* type: "DIMENSION",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
37
55
|
*
|
|
38
56
|
* ## Import
|
|
39
57
|
*
|
|
@@ -75,6 +93,10 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
75
93
|
* The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
|
|
76
94
|
*/
|
|
77
95
|
readonly retentionProperties: pulumi.Output<outputs.timestreamwrite.TableRetentionProperties>;
|
|
96
|
+
/**
|
|
97
|
+
* The schema of the table. See Schema below for more details.
|
|
98
|
+
*/
|
|
99
|
+
readonly schema: pulumi.Output<outputs.timestreamwrite.TableSchema>;
|
|
78
100
|
/**
|
|
79
101
|
* The name of the Timestream table.
|
|
80
102
|
*/
|
|
@@ -120,6 +142,10 @@ export interface TableState {
|
|
|
120
142
|
* The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
|
|
121
143
|
*/
|
|
122
144
|
retentionProperties?: pulumi.Input<inputs.timestreamwrite.TableRetentionProperties>;
|
|
145
|
+
/**
|
|
146
|
+
* The schema of the table. See Schema below for more details.
|
|
147
|
+
*/
|
|
148
|
+
schema?: pulumi.Input<inputs.timestreamwrite.TableSchema>;
|
|
123
149
|
/**
|
|
124
150
|
* The name of the Timestream table.
|
|
125
151
|
*/
|
|
@@ -153,6 +179,10 @@ export interface TableArgs {
|
|
|
153
179
|
* The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
|
|
154
180
|
*/
|
|
155
181
|
retentionProperties?: pulumi.Input<inputs.timestreamwrite.TableRetentionProperties>;
|
|
182
|
+
/**
|
|
183
|
+
* The schema of the table. See Schema below for more details.
|
|
184
|
+
*/
|
|
185
|
+
schema?: pulumi.Input<inputs.timestreamwrite.TableSchema>;
|
|
156
186
|
/**
|
|
157
187
|
* The name of the Timestream table.
|
|
158
188
|
*/
|
package/timestreamwrite/table.js
CHANGED
|
@@ -38,6 +38,24 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* },
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
|
+
* ### Customer-defined Partition Key
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as aws from "@pulumi/aws";
|
|
46
|
+
*
|
|
47
|
+
* const example = new aws.timestreamwrite.Table("example", {
|
|
48
|
+
* databaseName: aws_timestreamwrite_database.example.database_name,
|
|
49
|
+
* tableName: "example",
|
|
50
|
+
* schema: {
|
|
51
|
+
* compositePartitionKey: {
|
|
52
|
+
* enforcementInRecord: "REQUIRED",
|
|
53
|
+
* name: "attr1",
|
|
54
|
+
* type: "DIMENSION",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
41
59
|
*
|
|
42
60
|
* ## Import
|
|
43
61
|
*
|
|
@@ -79,6 +97,7 @@ class Table extends pulumi.CustomResource {
|
|
|
79
97
|
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
80
98
|
resourceInputs["magneticStoreWriteProperties"] = state ? state.magneticStoreWriteProperties : undefined;
|
|
81
99
|
resourceInputs["retentionProperties"] = state ? state.retentionProperties : undefined;
|
|
100
|
+
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
82
101
|
resourceInputs["tableName"] = state ? state.tableName : undefined;
|
|
83
102
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
84
103
|
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
@@ -94,6 +113,7 @@ class Table extends pulumi.CustomResource {
|
|
|
94
113
|
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
95
114
|
resourceInputs["magneticStoreWriteProperties"] = args ? args.magneticStoreWriteProperties : undefined;
|
|
96
115
|
resourceInputs["retentionProperties"] = args ? args.retentionProperties : undefined;
|
|
116
|
+
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
97
117
|
resourceInputs["tableName"] = args ? args.tableName : undefined;
|
|
98
118
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
99
119
|
resourceInputs["arn"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../timestreamwrite/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../timestreamwrite/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC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CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArGL,sBAsGC;AAxFG,gBAAgB;AACO,kBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a AWS Transfer AS2 Agreement resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Basic
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = new aws.transfer.Agreement("example", {
|
|
13
|
+
* accessRole: aws_iam_role.test.arn,
|
|
14
|
+
* baseDirectory: "/DOC-EXAMPLE-BUCKET/home/mydirectory",
|
|
15
|
+
* description: "example",
|
|
16
|
+
* localProfileId: aws_transfer_profile.local.profile_id,
|
|
17
|
+
* partnerProfileId: aws_transfer_profile.partner.profile_id,
|
|
18
|
+
* serverId: aws_transfer_server.test.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Transfer AS2 Agreement can be imported using the `server_id/agreement_id`, e.g.,
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:transfer/agreement:Agreement example s-4221a88afd5f4362a/a-4221a88afd5f4362a
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Agreement extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Agreement resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgreementState, opts?: pulumi.CustomResourceOptions): Agreement;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Agreement. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Agreement;
|
|
46
|
+
/**
|
|
47
|
+
* The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
|
|
48
|
+
*/
|
|
49
|
+
readonly accessRole: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The unique identifier for the AS2 agreement
|
|
52
|
+
*/
|
|
53
|
+
readonly agreementId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The landing directory for the files transferred by using the AS2 protocol.
|
|
56
|
+
*/
|
|
57
|
+
readonly baseDirectory: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The Optional description of the transdfer.
|
|
60
|
+
*/
|
|
61
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The unique identifier for the AS2 local profile.
|
|
64
|
+
*/
|
|
65
|
+
readonly localProfileId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The unique identifier for the AS2 partner profile.
|
|
68
|
+
*/
|
|
69
|
+
readonly partnerProfileId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The unique server identifier for the server instance. This is the specific server the agreement uses.
|
|
72
|
+
*/
|
|
73
|
+
readonly serverId: pulumi.Output<string>;
|
|
74
|
+
readonly status: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
77
|
+
*/
|
|
78
|
+
readonly tags: pulumi.Output<{
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
} | undefined>;
|
|
81
|
+
readonly tagsAll: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a Agreement resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: AgreementArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering Agreement resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface AgreementState {
|
|
97
|
+
/**
|
|
98
|
+
* The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
|
|
99
|
+
*/
|
|
100
|
+
accessRole?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The unique identifier for the AS2 agreement
|
|
103
|
+
*/
|
|
104
|
+
agreementId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The landing directory for the files transferred by using the AS2 protocol.
|
|
107
|
+
*/
|
|
108
|
+
baseDirectory?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The Optional description of the transdfer.
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The unique identifier for the AS2 local profile.
|
|
115
|
+
*/
|
|
116
|
+
localProfileId?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The unique identifier for the AS2 partner profile.
|
|
119
|
+
*/
|
|
120
|
+
partnerProfileId?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The unique server identifier for the server instance. This is the specific server the agreement uses.
|
|
123
|
+
*/
|
|
124
|
+
serverId?: pulumi.Input<string>;
|
|
125
|
+
status?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
128
|
+
*/
|
|
129
|
+
tags?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
tagsAll?: pulumi.Input<{
|
|
133
|
+
[key: string]: pulumi.Input<string>;
|
|
134
|
+
}>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a Agreement resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface AgreementArgs {
|
|
140
|
+
/**
|
|
141
|
+
* The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
|
|
142
|
+
*/
|
|
143
|
+
accessRole: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The landing directory for the files transferred by using the AS2 protocol.
|
|
146
|
+
*/
|
|
147
|
+
baseDirectory: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The Optional description of the transdfer.
|
|
150
|
+
*/
|
|
151
|
+
description?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The unique identifier for the AS2 local profile.
|
|
154
|
+
*/
|
|
155
|
+
localProfileId: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The unique identifier for the AS2 partner profile.
|
|
158
|
+
*/
|
|
159
|
+
partnerProfileId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The unique server identifier for the server instance. This is the specific server the agreement uses.
|
|
162
|
+
*/
|
|
163
|
+
serverId: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
166
|
+
*/
|
|
167
|
+
tags?: pulumi.Input<{
|
|
168
|
+
[key: string]: pulumi.Input<string>;
|
|
169
|
+
}>;
|
|
170
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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.Agreement = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a AWS Transfer AS2 Agreement resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.transfer.Agreement("example", {
|
|
19
|
+
* accessRole: aws_iam_role.test.arn,
|
|
20
|
+
* baseDirectory: "/DOC-EXAMPLE-BUCKET/home/mydirectory",
|
|
21
|
+
* description: "example",
|
|
22
|
+
* localProfileId: aws_transfer_profile.local.profile_id,
|
|
23
|
+
* partnerProfileId: aws_transfer_profile.partner.profile_id,
|
|
24
|
+
* serverId: aws_transfer_server.test.id,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Transfer AS2 Agreement can be imported using the `server_id/agreement_id`, e.g.,
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:transfer/agreement:Agreement example s-4221a88afd5f4362a/a-4221a88afd5f4362a
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Agreement extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Agreement resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Agreement(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Agreement. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Agreement.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["accessRole"] = state ? state.accessRole : undefined;
|
|
65
|
+
resourceInputs["agreementId"] = state ? state.agreementId : undefined;
|
|
66
|
+
resourceInputs["baseDirectory"] = state ? state.baseDirectory : undefined;
|
|
67
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
68
|
+
resourceInputs["localProfileId"] = state ? state.localProfileId : undefined;
|
|
69
|
+
resourceInputs["partnerProfileId"] = state ? state.partnerProfileId : undefined;
|
|
70
|
+
resourceInputs["serverId"] = state ? state.serverId : undefined;
|
|
71
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
72
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
73
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.accessRole === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'accessRole'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.baseDirectory === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'baseDirectory'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.localProfileId === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'localProfileId'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.partnerProfileId === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'partnerProfileId'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.serverId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'serverId'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["accessRole"] = args ? args.accessRole : undefined;
|
|
93
|
+
resourceInputs["baseDirectory"] = args ? args.baseDirectory : undefined;
|
|
94
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
95
|
+
resourceInputs["localProfileId"] = args ? args.localProfileId : undefined;
|
|
96
|
+
resourceInputs["partnerProfileId"] = args ? args.partnerProfileId : undefined;
|
|
97
|
+
resourceInputs["serverId"] = args ? args.serverId : undefined;
|
|
98
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
99
|
+
resourceInputs["agreementId"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(Agreement.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.Agreement = Agreement;
|
|
108
|
+
/** @internal */
|
|
109
|
+
Agreement.__pulumiType = 'aws:transfer/agreement:Agreement';
|
|
110
|
+
//# sourceMappingURL=agreement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agreement.js","sourceRoot":"","sources":["../../transfer/agreement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAA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
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
* import * as fs from "fs";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.transfer.Certificate("example", {
|
|
14
|
+
* certificate: fs.readFileSync(`${path.module}/example.com/example.crt`),
|
|
15
|
+
* certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
|
|
16
|
+
* privateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
|
|
17
|
+
* description: "example",
|
|
18
|
+
* usage: "SIGNING",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Transfer AS2 Certificate can be imported using the `certificate_id`, e.g.,
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:transfer/certificate:Certificate example c-4221a88afd5f4362a
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Certificate extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Certificate;
|
|
46
|
+
/**
|
|
47
|
+
* An date when the certificate becomes active
|
|
48
|
+
*/
|
|
49
|
+
readonly activeDate: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The valid certificate file required for the transfer.
|
|
52
|
+
*/
|
|
53
|
+
readonly certificate: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The optional list of certificate that make up the chain for the certificate that is being imported.
|
|
56
|
+
*/
|
|
57
|
+
readonly certificateChain: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier for the AS2 certificate
|
|
60
|
+
*/
|
|
61
|
+
readonly certificateId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* A short description that helps identify the certificate.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* An date when the certificate becomes inactive
|
|
68
|
+
*/
|
|
69
|
+
readonly inactiveDate: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The private key associated with the certificate being imported.
|
|
72
|
+
*/
|
|
73
|
+
readonly privateKey: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
76
|
+
*/
|
|
77
|
+
readonly tags: pulumi.Output<{
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
readonly tagsAll: pulumi.Output<{
|
|
81
|
+
[key: string]: string;
|
|
82
|
+
}>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
|
|
85
|
+
*/
|
|
86
|
+
readonly usage: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a Certificate 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
|
+
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering Certificate resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface CertificateState {
|
|
100
|
+
/**
|
|
101
|
+
* An date when the certificate becomes active
|
|
102
|
+
*/
|
|
103
|
+
activeDate?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The valid certificate file required for the transfer.
|
|
106
|
+
*/
|
|
107
|
+
certificate?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The optional list of certificate that make up the chain for the certificate that is being imported.
|
|
110
|
+
*/
|
|
111
|
+
certificateChain?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The unique identifier for the AS2 certificate
|
|
114
|
+
*/
|
|
115
|
+
certificateId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* A short description that helps identify the certificate.
|
|
118
|
+
*/
|
|
119
|
+
description?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* An date when the certificate becomes inactive
|
|
122
|
+
*/
|
|
123
|
+
inactiveDate?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The private key associated with the certificate being imported.
|
|
126
|
+
*/
|
|
127
|
+
privateKey?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
130
|
+
*/
|
|
131
|
+
tags?: pulumi.Input<{
|
|
132
|
+
[key: string]: pulumi.Input<string>;
|
|
133
|
+
}>;
|
|
134
|
+
tagsAll?: pulumi.Input<{
|
|
135
|
+
[key: string]: pulumi.Input<string>;
|
|
136
|
+
}>;
|
|
137
|
+
/**
|
|
138
|
+
* Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
|
|
139
|
+
*/
|
|
140
|
+
usage?: pulumi.Input<string>;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* The set of arguments for constructing a Certificate resource.
|
|
144
|
+
*/
|
|
145
|
+
export interface CertificateArgs {
|
|
146
|
+
/**
|
|
147
|
+
* The valid certificate file required for the transfer.
|
|
148
|
+
*/
|
|
149
|
+
certificate: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The optional list of certificate that make up the chain for the certificate that is being imported.
|
|
152
|
+
*/
|
|
153
|
+
certificateChain?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* A short description that helps identify the certificate.
|
|
156
|
+
*/
|
|
157
|
+
description?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The private key associated with the certificate being imported.
|
|
160
|
+
*/
|
|
161
|
+
privateKey?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
164
|
+
*/
|
|
165
|
+
tags?: pulumi.Input<{
|
|
166
|
+
[key: string]: pulumi.Input<string>;
|
|
167
|
+
}>;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
|
|
170
|
+
*/
|
|
171
|
+
usage: pulumi.Input<string>;
|
|
172
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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.Certificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a AWS Transfer AS2 Certificate resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
* import * as fs from "fs";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.transfer.Certificate("example", {
|
|
20
|
+
* certificate: fs.readFileSync(`${path.module}/example.com/example.crt`),
|
|
21
|
+
* certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
|
|
22
|
+
* privateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
|
|
23
|
+
* description: "example",
|
|
24
|
+
* usage: "SIGNING",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Transfer AS2 Certificate can be imported using the `certificate_id`, e.g.,
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:transfer/certificate:Certificate example c-4221a88afd5f4362a
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Certificate extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Certificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Certificate.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["activeDate"] = state ? state.activeDate : undefined;
|
|
65
|
+
resourceInputs["certificate"] = state ? state.certificate : undefined;
|
|
66
|
+
resourceInputs["certificateChain"] = state ? state.certificateChain : undefined;
|
|
67
|
+
resourceInputs["certificateId"] = state ? state.certificateId : undefined;
|
|
68
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
69
|
+
resourceInputs["inactiveDate"] = state ? state.inactiveDate : undefined;
|
|
70
|
+
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
71
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
72
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
73
|
+
resourceInputs["usage"] = state ? state.usage : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.certificate === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'certificate'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.usage === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'usage'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["certificate"] = (args === null || args === void 0 ? void 0 : args.certificate) ? pulumi.secret(args.certificate) : undefined;
|
|
84
|
+
resourceInputs["certificateChain"] = (args === null || args === void 0 ? void 0 : args.certificateChain) ? pulumi.secret(args.certificateChain) : undefined;
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
|
|
87
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
88
|
+
resourceInputs["usage"] = args ? args.usage : undefined;
|
|
89
|
+
resourceInputs["activeDate"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["certificateId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["inactiveDate"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
const secretOpts = { additionalSecretOutputs: ["certificate", "certificateChain", "privateKey"] };
|
|
96
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
97
|
+
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.Certificate = Certificate;
|
|
101
|
+
/** @internal */
|
|
102
|
+
Certificate.__pulumiType = 'aws:transfer/certificate:Certificate';
|
|
103
|
+
//# sourceMappingURL=certificate.js.map
|