@pulumi/aws 4.31.0 → 4.33.0
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/acm/getCertificate.d.ts +2 -2
- package/alb/loadBalancer.d.ts +2 -2
- package/alb/loadBalancer.js +2 -2
- package/alb/targetGroup.d.ts +3 -3
- package/appconfig/application.d.ts +5 -5
- package/appconfig/configurationProfile.d.ts +5 -5
- package/appconfig/deployment.d.ts +5 -5
- package/appconfig/deploymentStrategy.d.ts +5 -5
- package/appconfig/environment.d.ts +5 -5
- package/applicationloadbalancing/loadBalancer.d.ts +2 -2
- package/applicationloadbalancing/loadBalancer.js +2 -2
- package/applicationloadbalancing/targetGroup.d.ts +3 -3
- package/appstream/fleet.d.ts +1 -1
- package/appstream/fleet.js +1 -1
- package/appstream/imageBuilder.d.ts +5 -5
- package/appsync/graphQLApi.d.ts +55 -24
- package/appsync/graphQLApi.js +42 -21
- package/appsync/graphQLApi.js.map +1 -1
- package/autoscaling/getAmiIds.d.ts +4 -4
- package/autoscaling/getAmiIds.js +4 -4
- package/backup/regionSettings.d.ts +25 -0
- package/backup/regionSettings.js +9 -0
- package/backup/regionSettings.js.map +1 -1
- package/cfg/organizationConformancePack.d.ts +1 -1
- package/cfg/organizationConformancePack.js +1 -1
- package/chime/voiceConnectorTerminationCredentials.d.ts +1 -1
- package/chime/voiceConnectorTerminationCredentials.js +1 -1
- package/cloudcontrol/getResource.d.ts +3 -0
- package/cloudcontrol/getResource.js.map +1 -1
- package/cloudcontrol/resource.d.ts +3 -3
- package/cloudfront/getOriginRequestPolicy.d.ts +1 -1
- package/cloudfront/originRequestPolicy.d.ts +3 -3
- package/cloudwatch/eventTarget.d.ts +4 -0
- package/cloudwatch/eventTarget.js +4 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
- package/codecommit/approvalRuleTemplateAssociation.js +82 -0
- package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
- package/codecommit/index.d.ts +1 -0
- package/codecommit/index.js +5 -0
- package/codecommit/index.js.map +1 -1
- package/connect/botAssociation.d.ts +136 -0
- package/connect/botAssociation.js +134 -0
- package/connect/botAssociation.js.map +1 -0
- package/connect/contactFlow.d.ts +5 -5
- package/connect/getBotAssociation.d.ts +59 -0
- package/connect/getBotAssociation.js +43 -0
- package/connect/getBotAssociation.js.map +1 -0
- package/connect/getHoursOfOperation.d.ts +122 -0
- package/connect/getHoursOfOperation.js +56 -0
- package/connect/getHoursOfOperation.js.map +1 -0
- package/connect/getLambdaFunctionAssociation.d.ts +55 -0
- package/connect/getLambdaFunctionAssociation.js +40 -0
- package/connect/getLambdaFunctionAssociation.js.map +1 -0
- package/connect/hoursOfOperation.d.ts +201 -0
- package/connect/hoursOfOperation.js +128 -0
- package/connect/hoursOfOperation.js.map +1 -0
- package/connect/index.d.ts +6 -0
- package/connect/index.js +18 -0
- package/connect/index.js.map +1 -1
- package/connect/lambdaFunctionAssociation.d.ts +84 -0
- package/connect/lambdaFunctionAssociation.js +83 -0
- package/connect/lambdaFunctionAssociation.js.map +1 -0
- package/detective/graph.d.ts +103 -0
- package/detective/graph.js +81 -0
- package/detective/graph.js.map +1 -0
- package/detective/index.d.ts +1 -0
- package/detective/index.js +33 -0
- package/detective/index.js.map +1 -0
- package/dms/endpoint.d.ts +24 -0
- package/dms/endpoint.js +4 -0
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationInstance.d.ts +3 -3
- package/docdb/cluster.d.ts +3 -3
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/table.d.ts +60 -12
- package/dynamodb/table.js +8 -6
- package/dynamodb/table.js.map +1 -1
- package/ebs/snapshot.d.ts +3 -3
- package/ebs/snapshotCopy.d.ts +3 -3
- package/ebs/volume.d.ts +9 -0
- package/ebs/volume.js.map +1 -1
- package/ec2/capacityReservation.d.ts +9 -0
- package/ec2/capacityReservation.js.map +1 -1
- package/ec2/carrierGateway.d.ts +9 -0
- package/ec2/carrierGateway.js.map +1 -1
- package/ec2/dedicatedHost.d.ts +9 -0
- package/ec2/dedicatedHost.js.map +1 -1
- package/ec2/egressOnlyInternetGateway.d.ts +9 -0
- package/ec2/egressOnlyInternetGateway.js.map +1 -1
- package/ec2/eip.d.ts +9 -0
- package/ec2/eip.js.map +1 -1
- package/ec2/fleet.d.ts +9 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +5 -0
- package/ec2/index.js.map +1 -1
- package/ec2/keyPair.d.ts +9 -0
- package/ec2/keyPair.js.map +1 -1
- package/ec2/localGatewayRouteTableVpcAssociation.d.ts +9 -0
- package/ec2/localGatewayRouteTableVpcAssociation.js.map +1 -1
- package/ec2/managedPrefixList.d.ts +9 -0
- package/ec2/managedPrefixList.js.map +1 -1
- package/ec2/subnetCidrReservation.d.ts +116 -0
- package/ec2/subnetCidrReservation.js +92 -0
- package/ec2/subnetCidrReservation.js.map +1 -0
- package/ec2/trafficMirrorFilter.d.ts +9 -0
- package/ec2/trafficMirrorFilter.js.map +1 -1
- package/ec2/trafficMirrorSession.d.ts +9 -0
- package/ec2/trafficMirrorSession.js.map +1 -1
- package/ec2/trafficMirrorTarget.d.ts +9 -0
- package/ec2/trafficMirrorTarget.js.map +1 -1
- package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +9 -0
- package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +1 -1
- package/ec2/vpc.d.ts +28 -16
- package/ec2/vpc.js +1 -1
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +5 -5
- package/ec2/vpcIpamPool.d.ts +9 -9
- package/ec2/vpcIpamPool.js +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +10 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js +1 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcPeeringConnection.d.ts +0 -6
- package/ec2/vpcPeeringConnection.js +1 -1
- package/ec2/vpcPeeringConnection.js.map +1 -1
- package/ec2/vpcPeeringConnectionAccepter.d.ts +0 -6
- package/ec2/vpcPeeringConnectionAccepter.js +1 -1
- package/ec2/vpcPeeringConnectionAccepter.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +9 -0
- package/ec2clientvpn/endpoint.js.map +1 -1
- package/ec2transitgateway/peeringAttachment.d.ts +9 -0
- package/ec2transitgateway/peeringAttachment.js.map +1 -1
- package/ec2transitgateway/routeTable.d.ts +9 -0
- package/ec2transitgateway/routeTable.js.map +1 -1
- package/ec2transitgateway/transitGateway.d.ts +9 -0
- package/ec2transitgateway/transitGateway.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +9 -0
- package/ec2transitgateway/vpcAttachment.js.map +1 -1
- package/ec2transitgateway/vpcAttachmentAccepter.d.ts +9 -0
- package/ec2transitgateway/vpcAttachmentAccepter.js.map +1 -1
- package/ecr/index.d.ts +2 -0
- package/ecr/index.js +10 -0
- package/ecr/index.js.map +1 -1
- package/ecr/pullThroughCacheRule.d.ts +94 -0
- package/ecr/pullThroughCacheRule.js +87 -0
- package/ecr/pullThroughCacheRule.js.map +1 -0
- package/ecr/registryScanningConfiguration.d.ts +125 -0
- package/ecr/registryScanningConfiguration.js +114 -0
- package/ecr/registryScanningConfiguration.js.map +1 -0
- package/ecr/repository.d.ts +9 -0
- package/ecr/repository.js.map +1 -1
- package/ecrpublic/index.d.ts +1 -0
- package/ecrpublic/index.js +5 -0
- package/ecrpublic/index.js.map +1 -1
- package/ecrpublic/repositoryPolicy.d.ts +113 -0
- package/ecrpublic/repositoryPolicy.js +115 -0
- package/ecrpublic/repositoryPolicy.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +17 -0
- package/ecs/accountSettingDefault.js +17 -0
- package/ecs/accountSettingDefault.js.map +1 -1
- package/ecs/capacityProvider.d.ts +9 -0
- package/ecs/capacityProvider.js.map +1 -1
- package/ecs/cluster.d.ts +9 -0
- package/ecs/cluster.js.map +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/taskDefinition.d.ts +58 -18
- package/ecs/taskDefinition.js +48 -18
- package/ecs/taskDefinition.js.map +1 -1
- package/ecs/taskSet.d.ts +264 -0
- package/ecs/taskSet.js +107 -0
- package/ecs/taskSet.js.map +1 -0
- package/efs/accessPoint.d.ts +9 -0
- package/efs/accessPoint.js.map +1 -1
- package/efs/fileSystem.d.ts +9 -0
- package/efs/fileSystem.js.map +1 -1
- package/eks/fargateProfile.d.ts +9 -0
- package/eks/fargateProfile.js.map +1 -1
- package/eks/identityProviderConfig.d.ts +9 -0
- package/eks/identityProviderConfig.js.map +1 -1
- package/elasticache/cluster.d.ts +9 -0
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +21 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticbeanstalk/application.d.ts +9 -0
- package/elasticbeanstalk/application.js.map +1 -1
- package/elasticbeanstalk/applicationVersion.d.ts +9 -0
- package/elasticbeanstalk/applicationVersion.js.map +1 -1
- package/elasticbeanstalk/environment.d.ts +9 -0
- package/elasticbeanstalk/environment.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +9 -0
- package/elasticloadbalancing/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.js +2 -2
- package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
- package/elasticsearch/domain.d.ts +12 -0
- package/elasticsearch/domain.js +2 -0
- package/elasticsearch/domain.js.map +1 -1
- package/elasticsearch/getDomain.d.ts +4 -0
- package/elasticsearch/getDomain.js.map +1 -1
- package/elb/loadBalancer.d.ts +9 -0
- package/elb/loadBalancer.js.map +1 -1
- package/emr/cluster.d.ts +2 -2
- package/emr/index.d.ts +2 -0
- package/emr/index.js +10 -0
- package/emr/index.js.map +1 -1
- package/emr/studio.d.ts +246 -0
- package/emr/studio.js +131 -0
- package/emr/studio.js.map +1 -0
- package/emr/studioSessionMapping.d.ts +121 -0
- package/emr/studioSessionMapping.js +93 -0
- package/emr/studioSessionMapping.js.map +1 -0
- package/fsx/backup.d.ts +55 -12
- package/fsx/backup.js +34 -4
- package/fsx/backup.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +5 -5
- package/fsx/ontapStorageVirtualMachine.d.ts +5 -5
- package/fsx/ontapVolume.d.ts +5 -5
- package/getAutoscalingGroups.d.ts +4 -4
- package/getAutoscalingGroups.js +4 -4
- package/glue/connection.d.ts +5 -5
- package/iam/role.d.ts +6 -6
- package/iam/serviceLinkedRole.d.ts +36 -0
- package/iam/serviceLinkedRole.js +4 -0
- package/iam/serviceLinkedRole.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingType.d.ts +5 -5
- package/kinesis/analyticsApplication.d.ts +9 -0
- package/kinesis/analyticsApplication.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +9 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kinesis/getStream.d.ts +5 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +31 -6
- package/kinesis/stream.js +5 -3
- package/kinesis/stream.js.map +1 -1
- package/kinesis/videoStream.d.ts +9 -0
- package/kinesis/videoStream.js.map +1 -1
- package/kinesisanalyticsv2/application.d.ts +9 -0
- package/kinesisanalyticsv2/application.js.map +1 -1
- package/kms/key.d.ts +9 -0
- package/kms/key.js.map +1 -1
- package/kms/replicaExternalKey.d.ts +9 -0
- package/kms/replicaExternalKey.js.map +1 -1
- package/kms/replicaKey.d.ts +9 -0
- package/kms/replicaKey.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +40 -0
- package/lambda/eventSourceMapping.js +30 -0
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/loadBalancer.d.ts +2 -2
- package/lb/loadBalancer.js +2 -2
- package/lb/targetGroup.d.ts +3 -3
- package/lightsail/instance.d.ts +38 -2
- package/lightsail/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/dataSource.d.ts +5 -5
- package/quicksight/user.d.ts +4 -3
- package/quicksight/user.js +1 -0
- package/quicksight/user.js.map +1 -1
- package/route53/hostedZoneDnsSec.d.ts +2 -0
- package/route53/hostedZoneDnsSec.js +2 -0
- package/route53/hostedZoneDnsSec.js.map +1 -1
- package/route53recoveryreadiness/cell.d.ts +5 -5
- package/route53recoveryreadiness/readinessCheck.d.ts +5 -5
- package/route53recoveryreadiness/recoveryGroup.d.ts +5 -5
- package/route53recoveryreadiness/resourceSet.d.ts +5 -5
- package/s3/accessPoint.d.ts +45 -13
- package/s3/accessPoint.js +32 -0
- package/s3/accessPoint.js.map +1 -1
- package/s3/accountPublicAccessBlock.d.ts +3 -3
- package/s3/bucket.d.ts +1 -1
- package/s3/bucket.js +1 -1
- package/s3/bucketObject.d.ts +5 -5
- package/s3/bucketPolicy.d.ts +22 -24
- package/s3/bucketPolicy.js +19 -21
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/bucketReplicationConfig.d.ts +2 -2
- package/s3/bucketReplicationConfig.js +2 -2
- package/s3/objectCopy.d.ts +3 -6
- package/s3/objectCopy.js.map +1 -1
- package/s3control/multiRegionAccessPoint.d.ts +9 -0
- package/s3control/multiRegionAccessPoint.js.map +1 -1
- package/sagemaker/appImageConfig.d.ts +5 -5
- package/sagemaker/codeRepository.d.ts +5 -5
- package/sagemaker/deviceFleet.d.ts +5 -5
- package/sagemaker/endpoint.d.ts +3 -3
- package/sagemaker/flowDefinition.d.ts +5 -5
- package/sagemaker/humanTaskUI.d.ts +5 -5
- package/sagemaker/studioLifecycleConfig.d.ts +5 -5
- package/sagemaker/workteam.d.ts +5 -5
- package/schemas/discoverer.d.ts +9 -0
- package/schemas/discoverer.js.map +1 -1
- package/schemas/registry.d.ts +9 -0
- package/schemas/registry.js.map +1 -1
- package/schemas/schema.d.ts +9 -0
- package/schemas/schema.js.map +1 -1
- package/secretsmanager/secret.d.ts +3 -3
- package/secretsmanager/secretPolicy.d.ts +3 -3
- package/securityhub/organizationConfiguration.d.ts +22 -0
- package/securityhub/organizationConfiguration.js +22 -0
- package/securityhub/organizationConfiguration.js.map +1 -1
- package/servicequotas/getServiceQuota.d.ts +6 -6
- package/shield/protectionGroup.d.ts +5 -5
- package/sns/topic.d.ts +4 -6
- package/sns/topic.js +4 -6
- package/sns/topic.js.map +1 -1
- package/sqs/queue.d.ts +25 -0
- package/sqs/queue.js +15 -0
- package/sqs/queue.js.map +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +5 -5
- package/storagegateway/nfsFileShare.d.ts +3 -3
- package/storagegateway/smbFileShare.d.ts +3 -3
- package/timestreamwrite/database.d.ts +9 -0
- package/timestreamwrite/database.js.map +1 -1
- package/timestreamwrite/table.d.ts +9 -0
- package/timestreamwrite/table.js.map +1 -1
- package/transfer/server.d.ts +35 -3
- package/transfer/server.js +13 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +307 -20
- package/types/output.d.ts +372 -17
- package/xray/group.d.ts +9 -0
- package/xray/group.js.map +1 -1
package/emr/index.js
CHANGED
|
@@ -21,12 +21,16 @@ __exportStar(require("./instanceFleet"), exports);
|
|
|
21
21
|
__exportStar(require("./instanceGroup"), exports);
|
|
22
22
|
__exportStar(require("./managedScalingPolicy"), exports);
|
|
23
23
|
__exportStar(require("./securityConfiguration"), exports);
|
|
24
|
+
__exportStar(require("./studio"), exports);
|
|
25
|
+
__exportStar(require("./studioSessionMapping"), exports);
|
|
24
26
|
// Import resources to register:
|
|
25
27
|
const cluster_1 = require("./cluster");
|
|
26
28
|
const instanceFleet_1 = require("./instanceFleet");
|
|
27
29
|
const instanceGroup_1 = require("./instanceGroup");
|
|
28
30
|
const managedScalingPolicy_1 = require("./managedScalingPolicy");
|
|
29
31
|
const securityConfiguration_1 = require("./securityConfiguration");
|
|
32
|
+
const studio_1 = require("./studio");
|
|
33
|
+
const studioSessionMapping_1 = require("./studioSessionMapping");
|
|
30
34
|
const _module = {
|
|
31
35
|
version: utilities.getVersion(),
|
|
32
36
|
construct: (name, type, urn) => {
|
|
@@ -41,6 +45,10 @@ const _module = {
|
|
|
41
45
|
return new managedScalingPolicy_1.ManagedScalingPolicy(name, undefined, { urn });
|
|
42
46
|
case "aws:emr/securityConfiguration:SecurityConfiguration":
|
|
43
47
|
return new securityConfiguration_1.SecurityConfiguration(name, undefined, { urn });
|
|
48
|
+
case "aws:emr/studio:Studio":
|
|
49
|
+
return new studio_1.Studio(name, undefined, { urn });
|
|
50
|
+
case "aws:emr/studioSessionMapping:StudioSessionMapping":
|
|
51
|
+
return new studioSessionMapping_1.StudioSessionMapping(name, undefined, { urn });
|
|
44
52
|
default:
|
|
45
53
|
throw new Error(`unknown resource type ${type}`);
|
|
46
54
|
}
|
|
@@ -51,4 +59,6 @@ pulumi.runtime.registerResourceModule("aws", "emr/instanceFleet", _module);
|
|
|
51
59
|
pulumi.runtime.registerResourceModule("aws", "emr/instanceGroup", _module);
|
|
52
60
|
pulumi.runtime.registerResourceModule("aws", "emr/managedScalingPolicy", _module);
|
|
53
61
|
pulumi.runtime.registerResourceModule("aws", "emr/securityConfiguration", _module);
|
|
62
|
+
pulumi.runtime.registerResourceModule("aws", "emr/studio", _module);
|
|
63
|
+
pulumi.runtime.registerResourceModule("aws", "emr/studioSessionMapping", _module);
|
|
54
64
|
//# sourceMappingURL=index.js.map
|
package/emr/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../emr/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,4CAA0B;AAC1B,qDAAmC;AACnC,kDAAgC;AAChC,kDAAgC;AAChC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KAAK,mDAAmD;gBACpD,OAAO,IAAI,2CAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACnE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
package/emr/studio.d.ts
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Elastic MapReduce Studio.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.emr.Studio("example", {
|
|
12
|
+
* authMode: "SSO",
|
|
13
|
+
* defaultS3Location: `s3://${aws_s3_bucket.test.bucket}/test`,
|
|
14
|
+
* engineSecurityGroupId: aws_security_group.test.id,
|
|
15
|
+
* serviceRole: aws_iam_role.test.arn,
|
|
16
|
+
* subnetIds: [aws_subnet.test.id],
|
|
17
|
+
* userRole: aws_iam_role.test.arn,
|
|
18
|
+
* vpcId: aws_vpc.test.id,
|
|
19
|
+
* workspaceSecurityGroupId: aws_security_group.test.id,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* EMR studios can be imported using the `id`, e.g.,
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:emr/studio:Studio studio es-123456ABCDEF
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class Studio extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Studio resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StudioState, opts?: pulumi.CustomResourceOptions): Studio;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of Studio. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is Studio;
|
|
47
|
+
readonly arn: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO. Valid values are `SSO` or `IAM`.
|
|
50
|
+
*/
|
|
51
|
+
readonly authMode: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
|
54
|
+
*/
|
|
55
|
+
readonly defaultS3Location: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* A detailed description of the Amazon EMR Studio.
|
|
58
|
+
*/
|
|
59
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by `vpcId`.
|
|
62
|
+
*/
|
|
63
|
+
readonly engineSecurityGroupId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
|
|
66
|
+
*/
|
|
67
|
+
readonly idpAuthUrl: pulumi.Output<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.
|
|
70
|
+
*/
|
|
71
|
+
readonly idpRelayStateParameterName: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* A descriptive name for the Amazon EMR Studio.
|
|
74
|
+
*/
|
|
75
|
+
readonly name: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
|
|
78
|
+
*/
|
|
79
|
+
readonly serviceRole: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by `vpcId`. Studio users can create a Workspace in any of the specified subnets.
|
|
82
|
+
*/
|
|
83
|
+
readonly subnetIds: pulumi.Output<string[]>;
|
|
84
|
+
/**
|
|
85
|
+
* list of tags to apply to the EMR Cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
86
|
+
*/
|
|
87
|
+
readonly tags: pulumi.Output<{
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
} | undefined>;
|
|
90
|
+
readonly tagsAll: pulumi.Output<{
|
|
91
|
+
[key: string]: string;
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* The unique access URL of the Amazon EMR Studio.
|
|
95
|
+
*/
|
|
96
|
+
readonly url: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* - The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a User Role when you use Amazon Web Services SSO authentication. The permissions attached to the User Role can be scoped down for each user or group using session policies.
|
|
99
|
+
*/
|
|
100
|
+
readonly userRole: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
|
103
|
+
*/
|
|
104
|
+
readonly vpcId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by `vpcId`.
|
|
107
|
+
*/
|
|
108
|
+
readonly workspaceSecurityGroupId: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a Studio resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: StudioArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering Studio resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface StudioState {
|
|
122
|
+
arn?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO. Valid values are `SSO` or `IAM`.
|
|
125
|
+
*/
|
|
126
|
+
authMode?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
|
129
|
+
*/
|
|
130
|
+
defaultS3Location?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* A detailed description of the Amazon EMR Studio.
|
|
133
|
+
*/
|
|
134
|
+
description?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by `vpcId`.
|
|
137
|
+
*/
|
|
138
|
+
engineSecurityGroupId?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
|
|
141
|
+
*/
|
|
142
|
+
idpAuthUrl?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.
|
|
145
|
+
*/
|
|
146
|
+
idpRelayStateParameterName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* A descriptive name for the Amazon EMR Studio.
|
|
149
|
+
*/
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
|
|
153
|
+
*/
|
|
154
|
+
serviceRole?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by `vpcId`. Studio users can create a Workspace in any of the specified subnets.
|
|
157
|
+
*/
|
|
158
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
|
+
/**
|
|
160
|
+
* list of tags to apply to the EMR Cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
161
|
+
*/
|
|
162
|
+
tags?: pulumi.Input<{
|
|
163
|
+
[key: string]: pulumi.Input<string>;
|
|
164
|
+
}>;
|
|
165
|
+
tagsAll?: pulumi.Input<{
|
|
166
|
+
[key: string]: pulumi.Input<string>;
|
|
167
|
+
}>;
|
|
168
|
+
/**
|
|
169
|
+
* The unique access URL of the Amazon EMR Studio.
|
|
170
|
+
*/
|
|
171
|
+
url?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* - The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a User Role when you use Amazon Web Services SSO authentication. The permissions attached to the User Role can be scoped down for each user or group using session policies.
|
|
174
|
+
*/
|
|
175
|
+
userRole?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
|
178
|
+
*/
|
|
179
|
+
vpcId?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by `vpcId`.
|
|
182
|
+
*/
|
|
183
|
+
workspaceSecurityGroupId?: pulumi.Input<string>;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* The set of arguments for constructing a Studio resource.
|
|
187
|
+
*/
|
|
188
|
+
export interface StudioArgs {
|
|
189
|
+
/**
|
|
190
|
+
* Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO. Valid values are `SSO` or `IAM`.
|
|
191
|
+
*/
|
|
192
|
+
authMode: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
|
195
|
+
*/
|
|
196
|
+
defaultS3Location: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* A detailed description of the Amazon EMR Studio.
|
|
199
|
+
*/
|
|
200
|
+
description?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by `vpcId`.
|
|
203
|
+
*/
|
|
204
|
+
engineSecurityGroupId: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
|
|
207
|
+
*/
|
|
208
|
+
idpAuthUrl?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.
|
|
211
|
+
*/
|
|
212
|
+
idpRelayStateParameterName?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* A descriptive name for the Amazon EMR Studio.
|
|
215
|
+
*/
|
|
216
|
+
name?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
|
|
219
|
+
*/
|
|
220
|
+
serviceRole: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by `vpcId`. Studio users can create a Workspace in any of the specified subnets.
|
|
223
|
+
*/
|
|
224
|
+
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
225
|
+
/**
|
|
226
|
+
* list of tags to apply to the EMR Cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
227
|
+
*/
|
|
228
|
+
tags?: pulumi.Input<{
|
|
229
|
+
[key: string]: pulumi.Input<string>;
|
|
230
|
+
}>;
|
|
231
|
+
tagsAll?: pulumi.Input<{
|
|
232
|
+
[key: string]: pulumi.Input<string>;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* - The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a User Role when you use Amazon Web Services SSO authentication. The permissions attached to the User Role can be scoped down for each user or group using session policies.
|
|
236
|
+
*/
|
|
237
|
+
userRole?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
|
240
|
+
*/
|
|
241
|
+
vpcId: pulumi.Input<string>;
|
|
242
|
+
/**
|
|
243
|
+
* The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by `vpcId`.
|
|
244
|
+
*/
|
|
245
|
+
workspaceSecurityGroupId: pulumi.Input<string>;
|
|
246
|
+
}
|
package/emr/studio.js
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
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.Studio = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Elastic MapReduce Studio.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.emr.Studio("example", {
|
|
18
|
+
* authMode: "SSO",
|
|
19
|
+
* defaultS3Location: `s3://${aws_s3_bucket.test.bucket}/test`,
|
|
20
|
+
* engineSecurityGroupId: aws_security_group.test.id,
|
|
21
|
+
* serviceRole: aws_iam_role.test.arn,
|
|
22
|
+
* subnetIds: [aws_subnet.test.id],
|
|
23
|
+
* userRole: aws_iam_role.test.arn,
|
|
24
|
+
* vpcId: aws_vpc.test.id,
|
|
25
|
+
* workspaceSecurityGroupId: aws_security_group.test.id,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* EMR studios can be imported using the `id`, e.g.,
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import aws:emr/studio:Studio studio es-123456ABCDEF
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class Studio extends pulumi.CustomResource {
|
|
38
|
+
constructor(name, argsOrState, opts) {
|
|
39
|
+
let inputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (opts.id) {
|
|
42
|
+
const state = argsOrState;
|
|
43
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
44
|
+
inputs["authMode"] = state ? state.authMode : undefined;
|
|
45
|
+
inputs["defaultS3Location"] = state ? state.defaultS3Location : undefined;
|
|
46
|
+
inputs["description"] = state ? state.description : undefined;
|
|
47
|
+
inputs["engineSecurityGroupId"] = state ? state.engineSecurityGroupId : undefined;
|
|
48
|
+
inputs["idpAuthUrl"] = state ? state.idpAuthUrl : undefined;
|
|
49
|
+
inputs["idpRelayStateParameterName"] = state ? state.idpRelayStateParameterName : undefined;
|
|
50
|
+
inputs["name"] = state ? state.name : undefined;
|
|
51
|
+
inputs["serviceRole"] = state ? state.serviceRole : undefined;
|
|
52
|
+
inputs["subnetIds"] = state ? state.subnetIds : undefined;
|
|
53
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
54
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
55
|
+
inputs["url"] = state ? state.url : undefined;
|
|
56
|
+
inputs["userRole"] = state ? state.userRole : undefined;
|
|
57
|
+
inputs["vpcId"] = state ? state.vpcId : undefined;
|
|
58
|
+
inputs["workspaceSecurityGroupId"] = state ? state.workspaceSecurityGroupId : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.authMode === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'authMode'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.defaultS3Location === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'defaultS3Location'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.engineSecurityGroupId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'engineSecurityGroupId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.serviceRole === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'serviceRole'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.subnetIds === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'subnetIds'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'vpcId'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.workspaceSecurityGroupId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'workspaceSecurityGroupId'");
|
|
82
|
+
}
|
|
83
|
+
inputs["authMode"] = args ? args.authMode : undefined;
|
|
84
|
+
inputs["defaultS3Location"] = args ? args.defaultS3Location : undefined;
|
|
85
|
+
inputs["description"] = args ? args.description : undefined;
|
|
86
|
+
inputs["engineSecurityGroupId"] = args ? args.engineSecurityGroupId : undefined;
|
|
87
|
+
inputs["idpAuthUrl"] = args ? args.idpAuthUrl : undefined;
|
|
88
|
+
inputs["idpRelayStateParameterName"] = args ? args.idpRelayStateParameterName : undefined;
|
|
89
|
+
inputs["name"] = args ? args.name : undefined;
|
|
90
|
+
inputs["serviceRole"] = args ? args.serviceRole : undefined;
|
|
91
|
+
inputs["subnetIds"] = args ? args.subnetIds : undefined;
|
|
92
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
93
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
94
|
+
inputs["userRole"] = args ? args.userRole : undefined;
|
|
95
|
+
inputs["vpcId"] = args ? args.vpcId : undefined;
|
|
96
|
+
inputs["workspaceSecurityGroupId"] = args ? args.workspaceSecurityGroupId : undefined;
|
|
97
|
+
inputs["arn"] = undefined /*out*/;
|
|
98
|
+
inputs["url"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
if (!opts.version) {
|
|
101
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
102
|
+
}
|
|
103
|
+
super(Studio.__pulumiType, name, inputs, opts);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Get an existing Studio resource's state with the given name, ID, and optional extra
|
|
107
|
+
* properties used to qualify the lookup.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resulting resource.
|
|
110
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
111
|
+
* @param state Any extra arguments used during the lookup.
|
|
112
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
113
|
+
*/
|
|
114
|
+
static get(name, id, state, opts) {
|
|
115
|
+
return new Studio(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Returns true if the given object is an instance of Studio. This is designed to work even
|
|
119
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
120
|
+
*/
|
|
121
|
+
static isInstance(obj) {
|
|
122
|
+
if (obj === undefined || obj === null) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
return obj['__pulumiType'] === Studio.__pulumiType;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.Studio = Studio;
|
|
129
|
+
/** @internal */
|
|
130
|
+
Studio.__pulumiType = 'aws:emr/studio:Studio';
|
|
131
|
+
//# sourceMappingURL=studio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studio.js","sourceRoot":"","sources":["../../emr/studio.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA+F7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC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|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.emr.StudioSessionMapping("example", {
|
|
12
|
+
* studioId: aws_emr_studio.example.id,
|
|
13
|
+
* identityType: "USER",
|
|
14
|
+
* identityId: "example",
|
|
15
|
+
* sessionPolicyArn: aws_iam_policy.example.arn,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* EMR studio session mappings can be imported using the `id`, e.g., `studio-id:identity-type:identity-id`
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import aws:emr/studioSessionMapping:StudioSessionMapping example es-xxxxx:USER:xxxxx-xxx-xxx
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class StudioSessionMapping extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing StudioSessionMapping resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StudioSessionMappingState, opts?: pulumi.CustomResourceOptions): StudioSessionMapping;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of StudioSessionMapping. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is StudioSessionMapping;
|
|
43
|
+
/**
|
|
44
|
+
* The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.
|
|
45
|
+
*/
|
|
46
|
+
readonly identityId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the user or group from the Amazon Web Services SSO Identity Store.
|
|
49
|
+
*/
|
|
50
|
+
readonly identityName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies whether the identity to map to the Amazon EMR Studio is a `USER` or a `GROUP`.
|
|
53
|
+
*/
|
|
54
|
+
readonly identityType: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role.
|
|
57
|
+
*/
|
|
58
|
+
readonly sessionPolicyArn: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
|
61
|
+
*/
|
|
62
|
+
readonly studioId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a StudioSessionMapping resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: StudioSessionMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering StudioSessionMapping resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface StudioSessionMappingState {
|
|
76
|
+
/**
|
|
77
|
+
* The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.
|
|
78
|
+
*/
|
|
79
|
+
identityId?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the user or group from the Amazon Web Services SSO Identity Store.
|
|
82
|
+
*/
|
|
83
|
+
identityName?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies whether the identity to map to the Amazon EMR Studio is a `USER` or a `GROUP`.
|
|
86
|
+
*/
|
|
87
|
+
identityType?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role.
|
|
90
|
+
*/
|
|
91
|
+
sessionPolicyArn?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
|
94
|
+
*/
|
|
95
|
+
studioId?: pulumi.Input<string>;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The set of arguments for constructing a StudioSessionMapping resource.
|
|
99
|
+
*/
|
|
100
|
+
export interface StudioSessionMappingArgs {
|
|
101
|
+
/**
|
|
102
|
+
* The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.
|
|
103
|
+
*/
|
|
104
|
+
identityId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the user or group from the Amazon Web Services SSO Identity Store.
|
|
107
|
+
*/
|
|
108
|
+
identityName?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Specifies whether the identity to map to the Amazon EMR Studio is a `USER` or a `GROUP`.
|
|
111
|
+
*/
|
|
112
|
+
identityType: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role.
|
|
115
|
+
*/
|
|
116
|
+
sessionPolicyArn: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
|
119
|
+
*/
|
|
120
|
+
studioId: pulumi.Input<string>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.StudioSessionMapping = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Elastic MapReduce Studio Session Mapping.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.emr.StudioSessionMapping("example", {
|
|
18
|
+
* studioId: aws_emr_studio.example.id,
|
|
19
|
+
* identityType: "USER",
|
|
20
|
+
* identityId: "example",
|
|
21
|
+
* sessionPolicyArn: aws_iam_policy.example.arn,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* EMR studio session mappings can be imported using the `id`, e.g., `studio-id:identity-type:identity-id`
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:emr/studioSessionMapping:StudioSessionMapping example es-xxxxx:USER:xxxxx-xxx-xxx
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class StudioSessionMapping extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let inputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
inputs["identityId"] = state ? state.identityId : undefined;
|
|
40
|
+
inputs["identityName"] = state ? state.identityName : undefined;
|
|
41
|
+
inputs["identityType"] = state ? state.identityType : undefined;
|
|
42
|
+
inputs["sessionPolicyArn"] = state ? state.sessionPolicyArn : undefined;
|
|
43
|
+
inputs["studioId"] = state ? state.studioId : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.identityType === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'identityType'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.sessionPolicyArn === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'sessionPolicyArn'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.studioId === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'studioId'");
|
|
55
|
+
}
|
|
56
|
+
inputs["identityId"] = args ? args.identityId : undefined;
|
|
57
|
+
inputs["identityName"] = args ? args.identityName : undefined;
|
|
58
|
+
inputs["identityType"] = args ? args.identityType : undefined;
|
|
59
|
+
inputs["sessionPolicyArn"] = args ? args.sessionPolicyArn : undefined;
|
|
60
|
+
inputs["studioId"] = args ? args.studioId : undefined;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(StudioSessionMapping.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing StudioSessionMapping resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new StudioSessionMapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of StudioSessionMapping. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === StudioSessionMapping.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.StudioSessionMapping = StudioSessionMapping;
|
|
91
|
+
/** @internal */
|
|
92
|
+
StudioSessionMapping.__pulumiType = 'aws:emr/studioSessionMapping:StudioSessionMapping';
|
|
93
|
+
//# sourceMappingURL=studioSessionMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studioSessionMapping.js","sourceRoot":"","sources":["../../emr/studioSessionMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAyD3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,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