@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
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS OpenSearch Serverless Security Policy. See AWS documentation for [encryption policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html#serverless-encryption-policies) and [network policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html#serverless-network-policies).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Encryption Security Policy
|
|
8
|
+
* ### Applies to a single collection
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
15
|
+
* name: "example",
|
|
16
|
+
* type: "encryption",
|
|
17
|
+
* description: "encryption security policy for example-collection",
|
|
18
|
+
* policy: JSON.stringify({
|
|
19
|
+
* Rules: [{
|
|
20
|
+
* Resource: ["collection/example-collection"],
|
|
21
|
+
* ResourceType: "collection",
|
|
22
|
+
* }],
|
|
23
|
+
* AWSOwnedKey: true,
|
|
24
|
+
* }),
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
* ### Applies to multiple collections
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as aws from "@pulumi/aws";
|
|
32
|
+
*
|
|
33
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
34
|
+
* name: "example",
|
|
35
|
+
* type: "encryption",
|
|
36
|
+
* description: "encryption security policy for collections that begin with \"example\"",
|
|
37
|
+
* policy: JSON.stringify({
|
|
38
|
+
* Rules: [{
|
|
39
|
+
* Resource: ["collection/example*"],
|
|
40
|
+
* ResourceType: "collection",
|
|
41
|
+
* }],
|
|
42
|
+
* AWSOwnedKey: true,
|
|
43
|
+
* }),
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
* ### Using a customer managed key
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
53
|
+
* name: "example",
|
|
54
|
+
* type: "encryption",
|
|
55
|
+
* description: "encryption security policy using customer KMS key",
|
|
56
|
+
* policy: JSON.stringify({
|
|
57
|
+
* Rules: [{
|
|
58
|
+
* Resource: ["collection/customer-managed-key-collection"],
|
|
59
|
+
* ResourceType: "collection",
|
|
60
|
+
* }],
|
|
61
|
+
* AWSOwnedKey: false,
|
|
62
|
+
* KmsARN: "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36",
|
|
63
|
+
* }),
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
* ### Network Security Policy
|
|
67
|
+
* ### Allow public access to the collection endpoint and the Dashboards endpoint
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as aws from "@pulumi/aws";
|
|
72
|
+
*
|
|
73
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
74
|
+
* name: "example",
|
|
75
|
+
* type: "network",
|
|
76
|
+
* description: "Public access",
|
|
77
|
+
* policy: JSON.stringify([{
|
|
78
|
+
* Description: "Public access to collection and Dashboards endpoint for example collection",
|
|
79
|
+
* Rules: [
|
|
80
|
+
* {
|
|
81
|
+
* ResourceType: "collection",
|
|
82
|
+
* Resource: ["collection/example-collection"],
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* ResourceType: "dashboard",
|
|
86
|
+
* Resource: ["collection/example-collection"],
|
|
87
|
+
* },
|
|
88
|
+
* ],
|
|
89
|
+
* AllowFromPublic: true,
|
|
90
|
+
* }]),
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
* ### Allow VPC access to the collection endpoint and the Dashboards endpoint
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as aws from "@pulumi/aws";
|
|
98
|
+
*
|
|
99
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
100
|
+
* name: "example",
|
|
101
|
+
* type: "network",
|
|
102
|
+
* description: "VPC access",
|
|
103
|
+
* policy: JSON.stringify([{
|
|
104
|
+
* Description: "VPC access to collection and Dashboards endpoint for example collection",
|
|
105
|
+
* Rules: [
|
|
106
|
+
* {
|
|
107
|
+
* ResourceType: "collection",
|
|
108
|
+
* Resource: ["collection/example-collection"],
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* ResourceType: "dashboard",
|
|
112
|
+
* Resource: ["collection/example-collection"],
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* AllowFromPublic: false,
|
|
116
|
+
* SourceVPCEs: ["vpce-050f79086ee71ac05"],
|
|
117
|
+
* }]),
|
|
118
|
+
* });
|
|
119
|
+
* ```
|
|
120
|
+
* ### Mixed access for different collections
|
|
121
|
+
*
|
|
122
|
+
* ```typescript
|
|
123
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
124
|
+
* import * as aws from "@pulumi/aws";
|
|
125
|
+
*
|
|
126
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
127
|
+
* name: "example",
|
|
128
|
+
* type: "network",
|
|
129
|
+
* description: "Mixed access for marketing and sales",
|
|
130
|
+
* policy: JSON.stringify([
|
|
131
|
+
* {
|
|
132
|
+
* Description: "Marketing access",
|
|
133
|
+
* Rules: [
|
|
134
|
+
* {
|
|
135
|
+
* ResourceType: "collection",
|
|
136
|
+
* Resource: ["collection/marketing*"],
|
|
137
|
+
* },
|
|
138
|
+
* {
|
|
139
|
+
* ResourceType: "dashboard",
|
|
140
|
+
* Resource: ["collection/marketing*"],
|
|
141
|
+
* },
|
|
142
|
+
* ],
|
|
143
|
+
* AllowFromPublic: false,
|
|
144
|
+
* SourceVPCEs: ["vpce-050f79086ee71ac05"],
|
|
145
|
+
* },
|
|
146
|
+
* {
|
|
147
|
+
* Description: "Sales access",
|
|
148
|
+
* Rules: [{
|
|
149
|
+
* ResourceType: "collection",
|
|
150
|
+
* Resource: ["collection/finance"],
|
|
151
|
+
* }],
|
|
152
|
+
* AllowFromPublic: true,
|
|
153
|
+
* },
|
|
154
|
+
* ]),
|
|
155
|
+
* });
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* ## Import
|
|
159
|
+
*
|
|
160
|
+
* OpenSearchServerless Security Policy can be imported using the `name` and `type` arguments separated by a slash (`/`), e.g.,
|
|
161
|
+
*
|
|
162
|
+
* ```sh
|
|
163
|
+
* $ pulumi import aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy example example/encryption
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
export declare class ServerlessSecurityPolicy extends pulumi.CustomResource {
|
|
167
|
+
/**
|
|
168
|
+
* Get an existing ServerlessSecurityPolicy resource's state with the given name, ID, and optional extra
|
|
169
|
+
* properties used to qualify the lookup.
|
|
170
|
+
*
|
|
171
|
+
* @param name The _unique_ name of the resulting resource.
|
|
172
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
173
|
+
* @param state Any extra arguments used during the lookup.
|
|
174
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
175
|
+
*/
|
|
176
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessSecurityPolicyState, opts?: pulumi.CustomResourceOptions): ServerlessSecurityPolicy;
|
|
177
|
+
/**
|
|
178
|
+
* Returns true if the given object is an instance of ServerlessSecurityPolicy. This is designed to work even
|
|
179
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
180
|
+
*/
|
|
181
|
+
static isInstance(obj: any): obj is ServerlessSecurityPolicy;
|
|
182
|
+
/**
|
|
183
|
+
* Description of the policy. Typically used to store information about the permissions defined in the policy.
|
|
184
|
+
*/
|
|
185
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Name of the policy.
|
|
188
|
+
*/
|
|
189
|
+
readonly name: pulumi.Output<string>;
|
|
190
|
+
/**
|
|
191
|
+
* JSON policy document to use as the content for the new policy
|
|
192
|
+
*/
|
|
193
|
+
readonly policy: pulumi.Output<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Version of the policy.
|
|
196
|
+
*/
|
|
197
|
+
readonly policyVersion: pulumi.Output<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Type of security policy. One of `encryption` or `network`.
|
|
200
|
+
*
|
|
201
|
+
* The following arguments are optional:
|
|
202
|
+
*/
|
|
203
|
+
readonly type: pulumi.Output<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Create a ServerlessSecurityPolicy resource with the given unique name, arguments, and options.
|
|
206
|
+
*
|
|
207
|
+
* @param name The _unique_ name of the resource.
|
|
208
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
209
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
210
|
+
*/
|
|
211
|
+
constructor(name: string, args: ServerlessSecurityPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Input properties used for looking up and filtering ServerlessSecurityPolicy resources.
|
|
215
|
+
*/
|
|
216
|
+
export interface ServerlessSecurityPolicyState {
|
|
217
|
+
/**
|
|
218
|
+
* Description of the policy. Typically used to store information about the permissions defined in the policy.
|
|
219
|
+
*/
|
|
220
|
+
description?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Name of the policy.
|
|
223
|
+
*/
|
|
224
|
+
name?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* JSON policy document to use as the content for the new policy
|
|
227
|
+
*/
|
|
228
|
+
policy?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Version of the policy.
|
|
231
|
+
*/
|
|
232
|
+
policyVersion?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Type of security policy. One of `encryption` or `network`.
|
|
235
|
+
*
|
|
236
|
+
* The following arguments are optional:
|
|
237
|
+
*/
|
|
238
|
+
type?: pulumi.Input<string>;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The set of arguments for constructing a ServerlessSecurityPolicy resource.
|
|
242
|
+
*/
|
|
243
|
+
export interface ServerlessSecurityPolicyArgs {
|
|
244
|
+
/**
|
|
245
|
+
* Description of the policy. Typically used to store information about the permissions defined in the policy.
|
|
246
|
+
*/
|
|
247
|
+
description?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* Name of the policy.
|
|
250
|
+
*/
|
|
251
|
+
name: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* JSON policy document to use as the content for the new policy
|
|
254
|
+
*/
|
|
255
|
+
policy: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Type of security policy. One of `encryption` or `network`.
|
|
258
|
+
*
|
|
259
|
+
* The following arguments are optional:
|
|
260
|
+
*/
|
|
261
|
+
type: pulumi.Input<string>;
|
|
262
|
+
}
|
|
@@ -0,0 +1,230 @@
|
|
|
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.ServerlessSecurityPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS OpenSearch Serverless Security Policy. See AWS documentation for [encryption policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html#serverless-encryption-policies) and [network policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html#serverless-network-policies).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Encryption Security Policy
|
|
14
|
+
* ### Applies to a single collection
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
21
|
+
* name: "example",
|
|
22
|
+
* type: "encryption",
|
|
23
|
+
* description: "encryption security policy for example-collection",
|
|
24
|
+
* policy: JSON.stringify({
|
|
25
|
+
* Rules: [{
|
|
26
|
+
* Resource: ["collection/example-collection"],
|
|
27
|
+
* ResourceType: "collection",
|
|
28
|
+
* }],
|
|
29
|
+
* AWSOwnedKey: true,
|
|
30
|
+
* }),
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
* ### Applies to multiple collections
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as aws from "@pulumi/aws";
|
|
38
|
+
*
|
|
39
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
40
|
+
* name: "example",
|
|
41
|
+
* type: "encryption",
|
|
42
|
+
* description: "encryption security policy for collections that begin with \"example\"",
|
|
43
|
+
* policy: JSON.stringify({
|
|
44
|
+
* Rules: [{
|
|
45
|
+
* Resource: ["collection/example*"],
|
|
46
|
+
* ResourceType: "collection",
|
|
47
|
+
* }],
|
|
48
|
+
* AWSOwnedKey: true,
|
|
49
|
+
* }),
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
* ### Using a customer managed key
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as aws from "@pulumi/aws";
|
|
57
|
+
*
|
|
58
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
59
|
+
* name: "example",
|
|
60
|
+
* type: "encryption",
|
|
61
|
+
* description: "encryption security policy using customer KMS key",
|
|
62
|
+
* policy: JSON.stringify({
|
|
63
|
+
* Rules: [{
|
|
64
|
+
* Resource: ["collection/customer-managed-key-collection"],
|
|
65
|
+
* ResourceType: "collection",
|
|
66
|
+
* }],
|
|
67
|
+
* AWSOwnedKey: false,
|
|
68
|
+
* KmsARN: "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36",
|
|
69
|
+
* }),
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
* ### Network Security Policy
|
|
73
|
+
* ### Allow public access to the collection endpoint and the Dashboards endpoint
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as aws from "@pulumi/aws";
|
|
78
|
+
*
|
|
79
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
80
|
+
* name: "example",
|
|
81
|
+
* type: "network",
|
|
82
|
+
* description: "Public access",
|
|
83
|
+
* policy: JSON.stringify([{
|
|
84
|
+
* Description: "Public access to collection and Dashboards endpoint for example collection",
|
|
85
|
+
* Rules: [
|
|
86
|
+
* {
|
|
87
|
+
* ResourceType: "collection",
|
|
88
|
+
* Resource: ["collection/example-collection"],
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* ResourceType: "dashboard",
|
|
92
|
+
* Resource: ["collection/example-collection"],
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* AllowFromPublic: true,
|
|
96
|
+
* }]),
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
* ### Allow VPC access to the collection endpoint and the Dashboards endpoint
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as aws from "@pulumi/aws";
|
|
104
|
+
*
|
|
105
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
106
|
+
* name: "example",
|
|
107
|
+
* type: "network",
|
|
108
|
+
* description: "VPC access",
|
|
109
|
+
* policy: JSON.stringify([{
|
|
110
|
+
* Description: "VPC access to collection and Dashboards endpoint for example collection",
|
|
111
|
+
* Rules: [
|
|
112
|
+
* {
|
|
113
|
+
* ResourceType: "collection",
|
|
114
|
+
* Resource: ["collection/example-collection"],
|
|
115
|
+
* },
|
|
116
|
+
* {
|
|
117
|
+
* ResourceType: "dashboard",
|
|
118
|
+
* Resource: ["collection/example-collection"],
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* AllowFromPublic: false,
|
|
122
|
+
* SourceVPCEs: ["vpce-050f79086ee71ac05"],
|
|
123
|
+
* }]),
|
|
124
|
+
* });
|
|
125
|
+
* ```
|
|
126
|
+
* ### Mixed access for different collections
|
|
127
|
+
*
|
|
128
|
+
* ```typescript
|
|
129
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
130
|
+
* import * as aws from "@pulumi/aws";
|
|
131
|
+
*
|
|
132
|
+
* const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
|
|
133
|
+
* name: "example",
|
|
134
|
+
* type: "network",
|
|
135
|
+
* description: "Mixed access for marketing and sales",
|
|
136
|
+
* policy: JSON.stringify([
|
|
137
|
+
* {
|
|
138
|
+
* Description: "Marketing access",
|
|
139
|
+
* Rules: [
|
|
140
|
+
* {
|
|
141
|
+
* ResourceType: "collection",
|
|
142
|
+
* Resource: ["collection/marketing*"],
|
|
143
|
+
* },
|
|
144
|
+
* {
|
|
145
|
+
* ResourceType: "dashboard",
|
|
146
|
+
* Resource: ["collection/marketing*"],
|
|
147
|
+
* },
|
|
148
|
+
* ],
|
|
149
|
+
* AllowFromPublic: false,
|
|
150
|
+
* SourceVPCEs: ["vpce-050f79086ee71ac05"],
|
|
151
|
+
* },
|
|
152
|
+
* {
|
|
153
|
+
* Description: "Sales access",
|
|
154
|
+
* Rules: [{
|
|
155
|
+
* ResourceType: "collection",
|
|
156
|
+
* Resource: ["collection/finance"],
|
|
157
|
+
* }],
|
|
158
|
+
* AllowFromPublic: true,
|
|
159
|
+
* },
|
|
160
|
+
* ]),
|
|
161
|
+
* });
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
164
|
+
* ## Import
|
|
165
|
+
*
|
|
166
|
+
* OpenSearchServerless Security Policy can be imported using the `name` and `type` arguments separated by a slash (`/`), e.g.,
|
|
167
|
+
*
|
|
168
|
+
* ```sh
|
|
169
|
+
* $ pulumi import aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy example example/encryption
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
class ServerlessSecurityPolicy extends pulumi.CustomResource {
|
|
173
|
+
/**
|
|
174
|
+
* Get an existing ServerlessSecurityPolicy resource's state with the given name, ID, and optional extra
|
|
175
|
+
* properties used to qualify the lookup.
|
|
176
|
+
*
|
|
177
|
+
* @param name The _unique_ name of the resulting resource.
|
|
178
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
179
|
+
* @param state Any extra arguments used during the lookup.
|
|
180
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
181
|
+
*/
|
|
182
|
+
static get(name, id, state, opts) {
|
|
183
|
+
return new ServerlessSecurityPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Returns true if the given object is an instance of ServerlessSecurityPolicy. This is designed to work even
|
|
187
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
188
|
+
*/
|
|
189
|
+
static isInstance(obj) {
|
|
190
|
+
if (obj === undefined || obj === null) {
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
return obj['__pulumiType'] === ServerlessSecurityPolicy.__pulumiType;
|
|
194
|
+
}
|
|
195
|
+
constructor(name, argsOrState, opts) {
|
|
196
|
+
let resourceInputs = {};
|
|
197
|
+
opts = opts || {};
|
|
198
|
+
if (opts.id) {
|
|
199
|
+
const state = argsOrState;
|
|
200
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
201
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
202
|
+
resourceInputs["policy"] = state ? state.policy : undefined;
|
|
203
|
+
resourceInputs["policyVersion"] = state ? state.policyVersion : undefined;
|
|
204
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
205
|
+
}
|
|
206
|
+
else {
|
|
207
|
+
const args = argsOrState;
|
|
208
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
209
|
+
throw new Error("Missing required property 'name'");
|
|
210
|
+
}
|
|
211
|
+
if ((!args || args.policy === undefined) && !opts.urn) {
|
|
212
|
+
throw new Error("Missing required property 'policy'");
|
|
213
|
+
}
|
|
214
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
215
|
+
throw new Error("Missing required property 'type'");
|
|
216
|
+
}
|
|
217
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
218
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
219
|
+
resourceInputs["policy"] = args ? args.policy : undefined;
|
|
220
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
221
|
+
resourceInputs["policyVersion"] = undefined /*out*/;
|
|
222
|
+
}
|
|
223
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
224
|
+
super(ServerlessSecurityPolicy.__pulumiType, name, resourceInputs, opts);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.ServerlessSecurityPolicy = ServerlessSecurityPolicy;
|
|
228
|
+
/** @internal */
|
|
229
|
+
ServerlessSecurityPolicy.__pulumiType = 'aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy';
|
|
230
|
+
//# sourceMappingURL=serverlessSecurityPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverlessSecurityPolicy.js","sourceRoot":"","sources":["../../opensearch/serverlessSecurityPolicy.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for managing an AWS OpenSearchServerless VPC Endpoint.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.opensearch.ServerlessVpcEndpoint("example", {
|
|
15
|
+
* name: "myendpoint",
|
|
16
|
+
* subnetIds: [aws_subnet.example.id],
|
|
17
|
+
* vpcId: aws_vpc.example.id,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* OpenSearchServerless Vpc Endpointa can be imported using the `id`, e.g.,
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import aws:opensearch/serverlessVpcEndpoint:ServerlessVpcEndpoint example vpce-8012925589
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class ServerlessVpcEndpoint extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ServerlessVpcEndpoint resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessVpcEndpointState, opts?: pulumi.CustomResourceOptions): ServerlessVpcEndpoint;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ServerlessVpcEndpoint. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is ServerlessVpcEndpoint;
|
|
45
|
+
/**
|
|
46
|
+
* Name of the interface endpoint.
|
|
47
|
+
*/
|
|
48
|
+
readonly name: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
|
|
51
|
+
*/
|
|
52
|
+
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
53
|
+
/**
|
|
54
|
+
* One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
|
|
55
|
+
*/
|
|
56
|
+
readonly subnetIds: pulumi.Output<string[]>;
|
|
57
|
+
readonly timeouts: pulumi.Output<outputs.opensearch.ServerlessVpcEndpointTimeouts | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* ID of the VPC from which you'll access OpenSearch Serverless.
|
|
60
|
+
*
|
|
61
|
+
* The following arguments are optional:
|
|
62
|
+
*/
|
|
63
|
+
readonly vpcId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Create a ServerlessVpcEndpoint resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name: string, args: ServerlessVpcEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Input properties used for looking up and filtering ServerlessVpcEndpoint resources.
|
|
75
|
+
*/
|
|
76
|
+
export interface ServerlessVpcEndpointState {
|
|
77
|
+
/**
|
|
78
|
+
* Name of the interface endpoint.
|
|
79
|
+
*/
|
|
80
|
+
name?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
|
|
83
|
+
*/
|
|
84
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
|
|
87
|
+
*/
|
|
88
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
89
|
+
timeouts?: pulumi.Input<inputs.opensearch.ServerlessVpcEndpointTimeouts>;
|
|
90
|
+
/**
|
|
91
|
+
* ID of the VPC from which you'll access OpenSearch Serverless.
|
|
92
|
+
*
|
|
93
|
+
* The following arguments are optional:
|
|
94
|
+
*/
|
|
95
|
+
vpcId?: pulumi.Input<string>;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The set of arguments for constructing a ServerlessVpcEndpoint resource.
|
|
99
|
+
*/
|
|
100
|
+
export interface ServerlessVpcEndpointArgs {
|
|
101
|
+
/**
|
|
102
|
+
* Name of the interface endpoint.
|
|
103
|
+
*/
|
|
104
|
+
name: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
|
|
107
|
+
*/
|
|
108
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
|
|
111
|
+
*/
|
|
112
|
+
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
|
+
timeouts?: pulumi.Input<inputs.opensearch.ServerlessVpcEndpointTimeouts>;
|
|
114
|
+
/**
|
|
115
|
+
* ID of the VPC from which you'll access OpenSearch Serverless.
|
|
116
|
+
*
|
|
117
|
+
* The following arguments are optional:
|
|
118
|
+
*/
|
|
119
|
+
vpcId: pulumi.Input<string>;
|
|
120
|
+
}
|