@pulumi/aws 6.18.0 → 6.18.2
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/accessanalyzer/analyzer.d.ts +3 -3
- package/alb/getTargetGroup.d.ts +4 -1
- package/alb/getTargetGroup.js +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/targetGroup.d.ts +15 -3
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/amp/getWorkspace.d.ts +4 -0
- package/amp/getWorkspace.js.map +1 -1
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/scraper.d.ts +133 -0
- package/amp/scraper.js +77 -0
- package/amp/scraper.js.map +1 -0
- package/amp/workspace.d.ts +27 -0
- package/amp/workspace.js +17 -0
- package/amp/workspace.js.map +1 -1
- package/apigateway/methodResponse.d.ts +79 -25
- package/apigateway/methodResponse.js +55 -1
- package/apigateway/methodResponse.js.map +1 -1
- package/appstream/fleet.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +37 -0
- package/batch/computeEnvironment.js +27 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/batch/getComputeEnvironment.d.ts +5 -0
- package/batch/getComputeEnvironment.js.map +1 -1
- package/batch/jobDefinition.d.ts +37 -5
- package/batch/jobDefinition.js +6 -0
- package/batch/jobDefinition.js.map +1 -1
- package/cfg/rule.d.ts +6 -6
- package/cloud9/environmentEC2.d.ts +14 -5
- package/cloud9/environmentEC2.js +7 -1
- package/cloud9/environmentEC2.js.map +1 -1
- package/cloudtrail/getServiceAccount.d.ts +4 -0
- package/cloudtrail/getServiceAccount.js +4 -0
- package/cloudtrail/getServiceAccount.js.map +1 -1
- package/codebuild/project.d.ts +6 -6
- package/codepipeline/pipeline.d.ts +29 -2
- package/codepipeline/pipeline.js +9 -2
- package/codepipeline/pipeline.js.map +1 -1
- package/dms/endpoint.d.ts +12 -6
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationTask.d.ts +7 -7
- package/dms/replicationTask.js +1 -1
- package/docdb/clusterInstance.d.ts +3 -3
- package/docdb/elasticCluster.d.ts +23 -0
- package/docdb/elasticCluster.js +14 -0
- package/docdb/elasticCluster.js.map +1 -1
- package/ebs/fastSnapshotRestore.d.ts +97 -0
- package/ebs/fastSnapshotRestore.js +85 -0
- package/ebs/fastSnapshotRestore.js.map +1 -0
- package/ebs/index.d.ts +3 -0
- package/ebs/index.js +6 -1
- package/ebs/index.js.map +1 -1
- package/ec2/instance.d.ts +1 -1
- package/ec2/instance.js +1 -1
- package/ec2/managedPrefixListEntry.d.ts +3 -3
- package/ec2/networkAclAssociation.d.ts +8 -0
- package/ec2/networkAclAssociation.js +8 -0
- package/ec2/networkAclAssociation.js.map +1 -1
- package/ec2/route.d.ts +1 -3
- package/ec2/route.js +1 -3
- package/ec2/route.js.map +1 -1
- package/ec2/securityGroup.d.ts +27 -16
- package/ec2/securityGroup.js +27 -16
- package/ec2/securityGroup.js.map +1 -1
- package/ec2transitgateway/getAttachments.d.ts +44 -0
- package/ec2transitgateway/getAttachments.js +44 -0
- package/ec2transitgateway/getAttachments.js.map +1 -1
- package/ecr/getImage.d.ts +4 -0
- package/ecr/getImage.js.map +1 -1
- package/efs/fileSystem.d.ts +12 -0
- package/efs/fileSystem.js +2 -0
- package/efs/fileSystem.js.map +1 -1
- package/efs/getFileSystem.d.ts +1 -0
- package/efs/getFileSystem.js.map +1 -1
- package/efs/replicationConfiguration.d.ts +21 -5
- package/efs/replicationConfiguration.js +17 -1
- package/efs/replicationConfiguration.js.map +1 -1
- package/eks/accessEntry.d.ts +179 -0
- package/eks/accessEntry.js +102 -0
- package/eks/accessEntry.js.map +1 -0
- package/eks/accessPolicyAssociation.d.ts +130 -0
- package/eks/accessPolicyAssociation.js +99 -0
- package/eks/accessPolicyAssociation.js.map +1 -0
- package/eks/cluster.d.ts +31 -0
- package/eks/cluster.js +21 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getAccessEntry.d.ts +111 -0
- package/eks/getAccessEntry.js +53 -0
- package/eks/getAccessEntry.js.map +1 -0
- package/eks/getCluster.d.ts +4 -0
- package/eks/getCluster.js.map +1 -1
- package/eks/index.d.ts +9 -0
- package/eks/index.js +14 -1
- package/eks/index.js.map +1 -1
- package/elasticache/index.d.ts +3 -0
- package/elasticache/index.js +6 -1
- package/elasticache/index.js.map +1 -1
- package/elasticache/serverlessCache.d.ts +343 -0
- package/elasticache/serverlessCache.js +157 -0
- package/elasticache/serverlessCache.js.map +1 -0
- package/finspace/kxCluster.d.ts +3 -0
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDataview.d.ts +0 -19
- package/finspace/kxDataview.js +0 -19
- package/finspace/kxDataview.js.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +9 -1
- package/fsx/getOntapFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +32 -8
- package/fsx/ontapFileSystem.js +4 -3
- package/fsx/ontapFileSystem.js.map +1 -1
- package/imagebuilder/index.d.ts +3 -0
- package/imagebuilder/index.js +6 -1
- package/imagebuilder/index.js.map +1 -1
- package/imagebuilder/workflow.d.ts +245 -0
- package/imagebuilder/workflow.js +134 -0
- package/imagebuilder/workflow.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kinesis/index.d.ts +3 -0
- package/kinesis/index.js +6 -1
- package/kinesis/index.js.map +1 -1
- package/kinesis/resourcePolicy.d.ts +102 -0
- package/kinesis/resourcePolicy.js +99 -0
- package/kinesis/resourcePolicy.js.map +1 -0
- package/kms/key.d.ts +12 -0
- package/kms/key.js +2 -0
- package/kms/key.js.map +1 -1
- package/lakeformation/resource.d.ts +33 -12
- package/lakeformation/resource.js +6 -1
- package/lakeformation/resource.js.map +1 -1
- package/lambda/function.d.ts +15 -1
- package/lambda/function.js +5 -1
- package/lambda/function.js.map +1 -1
- package/lambda/functionUrl.d.ts +2 -2
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lambda/getFunctionUrl.d.ts +1 -1
- package/lambda/lambdaMixins.d.ts +1 -1
- package/lb/getTargetGroup.d.ts +4 -1
- package/lb/getTargetGroup.js +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/targetGroup.d.ts +15 -3
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/lb/trustStore.d.ts +3 -3
- package/lb/trustStoreRevocation.d.ts +3 -3
- package/lex/index.d.ts +3 -0
- package/lex/index.js +6 -1
- package/lex/index.js.map +1 -1
- package/lex/v2modelsBotVersion.d.ts +3 -3
- package/lex/v2modelsIntent.d.ts +263 -0
- package/lex/v2modelsIntent.js +105 -0
- package/lex/v2modelsIntent.js.map +1 -0
- package/mq/getBrokerEngineTypes.d.ts +69 -0
- package/mq/getBrokerEngineTypes.js +50 -0
- package/mq/getBrokerEngineTypes.js.map +1 -0
- package/mq/index.d.ts +3 -0
- package/mq/index.js +4 -1
- package/mq/index.js.map +1 -1
- package/msk/getBootstrapBrokers.d.ts +77 -0
- package/msk/getBootstrapBrokers.js +25 -0
- package/msk/getBootstrapBrokers.js.map +1 -0
- package/msk/index.d.ts +3 -0
- package/msk/index.js +4 -1
- package/msk/index.js.map +1 -1
- package/neptune/cluster.d.ts +12 -0
- package/neptune/cluster.js +2 -0
- package/neptune/cluster.js.map +1 -1
- package/neptune/clusterInstance.d.ts +8 -0
- package/neptune/clusterInstance.js +2 -0
- package/neptune/clusterInstance.js.map +1 -1
- package/networkfirewall/firewall.d.ts +9 -28
- package/networkfirewall/firewall.js +0 -19
- package/networkfirewall/firewall.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +1 -0
- package/networkfirewall/firewallPolicy.js +1 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkfirewall/getFirewall.d.ts +3 -3
- package/package.json +1 -2
- package/package.json.bak +0 -1
- package/rds/optionGroup.d.ts +3 -3
- package/rds/parameterGroup.d.ts +6 -6
- package/redshiftserverless/workgroup.d.ts +12 -0
- package/redshiftserverless/workgroup.js +2 -0
- package/redshiftserverless/workgroup.js.map +1 -1
- package/route53/getResolverEndpoint.d.ts +2 -0
- package/route53/getResolverEndpoint.js.map +1 -1
- package/route53/resolverEndpoint.d.ts +28 -0
- package/route53/resolverEndpoint.js +8 -0
- package/route53/resolverEndpoint.js.map +1 -1
- package/s3/bucket.d.ts +2 -0
- package/s3/bucket.js +2 -0
- package/s3/bucket.js.map +1 -1
- package/s3/bucketAclV2.d.ts +3 -3
- package/s3/bucketObjectLockConfigurationV2.d.ts +4 -42
- package/s3/bucketObjectLockConfigurationV2.js +4 -42
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
- package/s3/bucketV2.d.ts +2 -0
- package/s3/bucketV2.js +2 -0
- package/s3/bucketV2.js.map +1 -1
- package/secretsmanager/getRandomPassword.d.ts +0 -8
- package/secretsmanager/getRandomPassword.js +0 -1
- package/secretsmanager/getRandomPassword.js.map +1 -1
- package/secretsmanager/getSecret.d.ts +20 -0
- package/secretsmanager/getSecret.js +1 -0
- package/secretsmanager/getSecret.js.map +1 -1
- package/secretsmanager/getSecretVersion.d.ts +4 -0
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/secretRotation.d.ts +12 -0
- package/secretsmanager/secretRotation.js +2 -0
- package/secretsmanager/secretRotation.js.map +1 -1
- package/securitylake/awsLogSource.d.ts +76 -0
- package/securitylake/awsLogSource.js +75 -0
- package/securitylake/awsLogSource.js.map +1 -0
- package/securitylake/index.d.ts +3 -0
- package/securitylake/index.js +6 -1
- package/securitylake/index.js.map +1 -1
- package/ses/configurationSet.d.ts +11 -0
- package/ses/configurationSet.js +11 -0
- package/ses/configurationSet.js.map +1 -1
- package/shield/applicationLayerAutomaticResponse.d.ts +3 -1
- package/shield/applicationLayerAutomaticResponse.js +3 -1
- package/shield/applicationLayerAutomaticResponse.js.map +1 -1
- package/sqs/queue.d.ts +11 -3
- package/sqs/queue.js +11 -3
- package/sqs/queue.js.map +1 -1
- package/ssoadmin/applicationAccessScope.d.ts +91 -0
- package/ssoadmin/applicationAccessScope.js +72 -0
- package/ssoadmin/applicationAccessScope.js.map +1 -0
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/transfer/server.d.ts +3 -3
- package/types/enums/ec2/index.d.ts +9 -0
- package/types/enums/ec2/index.js +9 -0
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.js +1 -0
- package/types/enums/index.js.map +1 -1
- package/types/enums/lambda/index.d.ts +32 -0
- package/types/enums/lambda/index.js +32 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +10969 -293
- package/types/output.d.ts +11010 -296
- package/verifiedaccess/endpoint.d.ts +12 -0
- package/verifiedaccess/endpoint.js +2 -0
- package/verifiedaccess/endpoint.js.map +1 -1
- package/verifiedaccess/group.d.ts +9 -0
- package/verifiedaccess/group.js.map +1 -1
- package/verifiedpermissions/getPolicyStore.d.ts +76 -0
- package/verifiedpermissions/getPolicyStore.js +49 -0
- package/verifiedpermissions/getPolicyStore.js.map +1 -0
- package/verifiedpermissions/index.d.ts +12 -0
- package/verifiedpermissions/index.js +35 -0
- package/verifiedpermissions/index.js.map +1 -0
- package/verifiedpermissions/policyStore.d.ts +97 -0
- package/verifiedpermissions/policyStore.js +74 -0
- package/verifiedpermissions/policyStore.js.map +1 -0
- package/verifiedpermissions/policyTemplate.d.ts +118 -0
- package/verifiedpermissions/policyTemplate.js +87 -0
- package/verifiedpermissions/policyTemplate.js.map +1 -0
- package/verifiedpermissions/schema.d.ts +79 -0
- package/verifiedpermissions/schema.js +65 -0
- package/verifiedpermissions/schema.js.map +1 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Access Entry Policy Association for an EKS Cluster.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.eks.AccessPolicyAssociation("example", {
|
|
14
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
15
|
+
* policyArn: "arn:aws:eks::aws:cluster-access-policy/AmazonEKSViewPolicy",
|
|
16
|
+
* principalArn: aws_iam_user.example.arn,
|
|
17
|
+
* accessScope: {
|
|
18
|
+
* type: "namespace",
|
|
19
|
+
* namespaces: ["example-namespace"],
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Using `pulumi import`, import EKS access entry using the `cluster_name` `policy_arn` and `principal_arn` separated by a colon (`:`). For example:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:eks/accessPolicyAssociation:AccessPolicyAssociation my_eks_access_entry my_cluster_name:my_policy_arn:my_principal_arn
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class AccessPolicyAssociation extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing AccessPolicyAssociation resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessPolicyAssociationState, opts?: pulumi.CustomResourceOptions): AccessPolicyAssociation;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of AccessPolicyAssociation. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is AccessPolicyAssociation;
|
|
48
|
+
/**
|
|
49
|
+
* The configuration block to determine the scope of the access.
|
|
50
|
+
*/
|
|
51
|
+
readonly accessScope: pulumi.Output<outputs.eks.AccessPolicyAssociationAccessScope>;
|
|
52
|
+
/**
|
|
53
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the policy was associated.
|
|
54
|
+
*/
|
|
55
|
+
readonly associatedAt: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]+$`).
|
|
58
|
+
*/
|
|
59
|
+
readonly clusterName: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the policy was updated.
|
|
62
|
+
*/
|
|
63
|
+
readonly modifiedAt: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The ARN of the access policy that you're associating.
|
|
66
|
+
*/
|
|
67
|
+
readonly policyArn: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The IAM Princial ARN which requires Authentication access to the EKS cluster.
|
|
70
|
+
*/
|
|
71
|
+
readonly principalArn: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Create a AccessPolicyAssociation resource with the given unique name, arguments, and options.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resource.
|
|
76
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
+
*/
|
|
79
|
+
constructor(name: string, args: AccessPolicyAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Input properties used for looking up and filtering AccessPolicyAssociation resources.
|
|
83
|
+
*/
|
|
84
|
+
export interface AccessPolicyAssociationState {
|
|
85
|
+
/**
|
|
86
|
+
* The configuration block to determine the scope of the access.
|
|
87
|
+
*/
|
|
88
|
+
accessScope?: pulumi.Input<inputs.eks.AccessPolicyAssociationAccessScope>;
|
|
89
|
+
/**
|
|
90
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the policy was associated.
|
|
91
|
+
*/
|
|
92
|
+
associatedAt?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]+$`).
|
|
95
|
+
*/
|
|
96
|
+
clusterName?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the policy was updated.
|
|
99
|
+
*/
|
|
100
|
+
modifiedAt?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The ARN of the access policy that you're associating.
|
|
103
|
+
*/
|
|
104
|
+
policyArn?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The IAM Princial ARN which requires Authentication access to the EKS cluster.
|
|
107
|
+
*/
|
|
108
|
+
principalArn?: pulumi.Input<string>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a AccessPolicyAssociation resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface AccessPolicyAssociationArgs {
|
|
114
|
+
/**
|
|
115
|
+
* The configuration block to determine the scope of the access.
|
|
116
|
+
*/
|
|
117
|
+
accessScope: pulumi.Input<inputs.eks.AccessPolicyAssociationAccessScope>;
|
|
118
|
+
/**
|
|
119
|
+
* Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]+$`).
|
|
120
|
+
*/
|
|
121
|
+
clusterName: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The ARN of the access policy that you're associating.
|
|
124
|
+
*/
|
|
125
|
+
policyArn: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The IAM Princial ARN which requires Authentication access to the EKS cluster.
|
|
128
|
+
*/
|
|
129
|
+
principalArn: pulumi.Input<string>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.AccessPolicyAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Access Entry Policy Association for an EKS Cluster.
|
|
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.eks.AccessPolicyAssociation("example", {
|
|
18
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
19
|
+
* policyArn: "arn:aws:eks::aws:cluster-access-policy/AmazonEKSViewPolicy",
|
|
20
|
+
* principalArn: aws_iam_user.example.arn,
|
|
21
|
+
* accessScope: {
|
|
22
|
+
* type: "namespace",
|
|
23
|
+
* namespaces: ["example-namespace"],
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Using `pulumi import`, import EKS access entry using the `cluster_name` `policy_arn` and `principal_arn` separated by a colon (`:`). For example:
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:eks/accessPolicyAssociation:AccessPolicyAssociation my_eks_access_entry my_cluster_name:my_policy_arn:my_principal_arn
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class AccessPolicyAssociation extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing AccessPolicyAssociation resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new AccessPolicyAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of AccessPolicyAssociation. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === AccessPolicyAssociation.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["accessScope"] = state ? state.accessScope : undefined;
|
|
65
|
+
resourceInputs["associatedAt"] = state ? state.associatedAt : undefined;
|
|
66
|
+
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
67
|
+
resourceInputs["modifiedAt"] = state ? state.modifiedAt : undefined;
|
|
68
|
+
resourceInputs["policyArn"] = state ? state.policyArn : undefined;
|
|
69
|
+
resourceInputs["principalArn"] = state ? state.principalArn : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if ((!args || args.accessScope === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'accessScope'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.clusterName === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'clusterName'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.policyArn === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'policyArn'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.principalArn === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'principalArn'");
|
|
84
|
+
}
|
|
85
|
+
resourceInputs["accessScope"] = args ? args.accessScope : undefined;
|
|
86
|
+
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
87
|
+
resourceInputs["policyArn"] = args ? args.policyArn : undefined;
|
|
88
|
+
resourceInputs["principalArn"] = args ? args.principalArn : undefined;
|
|
89
|
+
resourceInputs["associatedAt"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["modifiedAt"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(AccessPolicyAssociation.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.AccessPolicyAssociation = AccessPolicyAssociation;
|
|
97
|
+
/** @internal */
|
|
98
|
+
AccessPolicyAssociation.__pulumiType = 'aws:eks/accessPolicyAssociation:AccessPolicyAssociation';
|
|
99
|
+
//# sourceMappingURL=accessPolicyAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA/FL,0DAgGC;AAlFG,gBAAgB;AACO,oCAAY,GAAG,yDAAyD,CAAC"}
|
package/eks/cluster.d.ts
CHANGED
|
@@ -103,6 +103,25 @@ import * as outputs from "../types/output";
|
|
|
103
103
|
* },
|
|
104
104
|
* });
|
|
105
105
|
* ```
|
|
106
|
+
* ### EKS Cluster with Access Config
|
|
107
|
+
*
|
|
108
|
+
* ```typescript
|
|
109
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
110
|
+
* import * as aws from "@pulumi/aws";
|
|
111
|
+
*
|
|
112
|
+
* const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: data.aws_iam_policy_document.example_assume_role_policy.json});
|
|
113
|
+
* const exampleCluster = new aws.eks.Cluster("exampleCluster", {
|
|
114
|
+
* roleArn: exampleRole.arn,
|
|
115
|
+
* vpcConfig: {
|
|
116
|
+
* endpointPrivateAccess: true,
|
|
117
|
+
* endpointPublicAccess: false,
|
|
118
|
+
* },
|
|
119
|
+
* accessConfig: {
|
|
120
|
+
* authenticationMode: "CONFIG_MAP",
|
|
121
|
+
* bootstrapClusterCreatorAdminPermissions: true,
|
|
122
|
+
* },
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
106
125
|
*
|
|
107
126
|
* After adding inline IAM Policies (e.g., `aws.iam.RolePolicy` resource) or attaching IAM Policies (e.g., `aws.iam.Policy` resource and `aws.iam.RolePolicyAttachment` resource) with the desired permissions to the IAM Role, annotate the Kubernetes service account (e.g., `kubernetesServiceAccount` resource) and recreate any pods.
|
|
108
127
|
*
|
|
@@ -130,6 +149,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
130
149
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
131
150
|
*/
|
|
132
151
|
static isInstance(obj: any): obj is Cluster;
|
|
152
|
+
/**
|
|
153
|
+
* Configuration block for the access config associated with your cluster, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
|
|
154
|
+
*/
|
|
155
|
+
readonly accessConfig: pulumi.Output<outputs.eks.ClusterAccessConfig>;
|
|
133
156
|
/**
|
|
134
157
|
* ARN of the cluster.
|
|
135
158
|
*/
|
|
@@ -226,6 +249,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
226
249
|
* Input properties used for looking up and filtering Cluster resources.
|
|
227
250
|
*/
|
|
228
251
|
export interface ClusterState {
|
|
252
|
+
/**
|
|
253
|
+
* Configuration block for the access config associated with your cluster, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
|
|
254
|
+
*/
|
|
255
|
+
accessConfig?: pulumi.Input<inputs.eks.ClusterAccessConfig>;
|
|
229
256
|
/**
|
|
230
257
|
* ARN of the cluster.
|
|
231
258
|
*/
|
|
@@ -314,6 +341,10 @@ export interface ClusterState {
|
|
|
314
341
|
* The set of arguments for constructing a Cluster resource.
|
|
315
342
|
*/
|
|
316
343
|
export interface ClusterArgs {
|
|
344
|
+
/**
|
|
345
|
+
* Configuration block for the access config associated with your cluster, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
|
|
346
|
+
*/
|
|
347
|
+
accessConfig?: pulumi.Input<inputs.eks.ClusterAccessConfig>;
|
|
317
348
|
defaultAddonsToRemoves?: pulumi.Input<pulumi.Input<string>[]>;
|
|
318
349
|
/**
|
|
319
350
|
* List of the desired control plane logging to enable. For more information, see [Amazon EKS Control Plane Logging](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html).
|
package/eks/cluster.js
CHANGED
|
@@ -107,6 +107,25 @@ const utilities = require("../utilities");
|
|
|
107
107
|
* },
|
|
108
108
|
* });
|
|
109
109
|
* ```
|
|
110
|
+
* ### EKS Cluster with Access Config
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as aws from "@pulumi/aws";
|
|
115
|
+
*
|
|
116
|
+
* const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: data.aws_iam_policy_document.example_assume_role_policy.json});
|
|
117
|
+
* const exampleCluster = new aws.eks.Cluster("exampleCluster", {
|
|
118
|
+
* roleArn: exampleRole.arn,
|
|
119
|
+
* vpcConfig: {
|
|
120
|
+
* endpointPrivateAccess: true,
|
|
121
|
+
* endpointPublicAccess: false,
|
|
122
|
+
* },
|
|
123
|
+
* accessConfig: {
|
|
124
|
+
* authenticationMode: "CONFIG_MAP",
|
|
125
|
+
* bootstrapClusterCreatorAdminPermissions: true,
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
128
|
+
* ```
|
|
110
129
|
*
|
|
111
130
|
* After adding inline IAM Policies (e.g., `aws.iam.RolePolicy` resource) or attaching IAM Policies (e.g., `aws.iam.Policy` resource and `aws.iam.RolePolicyAttachment` resource) with the desired permissions to the IAM Role, annotate the Kubernetes service account (e.g., `kubernetesServiceAccount` resource) and recreate any pods.
|
|
112
131
|
*
|
|
@@ -146,6 +165,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
146
165
|
opts = opts || {};
|
|
147
166
|
if (opts.id) {
|
|
148
167
|
const state = argsOrState;
|
|
168
|
+
resourceInputs["accessConfig"] = state ? state.accessConfig : undefined;
|
|
149
169
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
150
170
|
resourceInputs["certificateAuthorities"] = state ? state.certificateAuthorities : undefined;
|
|
151
171
|
resourceInputs["certificateAuthority"] = state ? state.certificateAuthority : undefined;
|
|
@@ -175,6 +195,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
175
195
|
if ((!args || args.vpcConfig === undefined) && !opts.urn) {
|
|
176
196
|
throw new Error("Missing required property 'vpcConfig'");
|
|
177
197
|
}
|
|
198
|
+
resourceInputs["accessConfig"] = args ? args.accessConfig : undefined;
|
|
178
199
|
resourceInputs["defaultAddonsToRemoves"] = args ? args.defaultAddonsToRemoves : undefined;
|
|
179
200
|
resourceInputs["enabledClusterLogTypes"] = args ? args.enabledClusterLogTypes : undefined;
|
|
180
201
|
resourceInputs["encryptionConfig"] = args ? args.encryptionConfig : undefined;
|
package/eks/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../eks/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../eks/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmIG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC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AAO,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApLL,0BAqLC;AAvKG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Access Entry Configurations for an EKS Cluster.
|
|
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 = aws.eks.getAccessEntry({
|
|
12
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
13
|
+
* principalArn: aws_iam_role.example.arn,
|
|
14
|
+
* });
|
|
15
|
+
* export const eksAccessEntryOutputs = aws_eks_access_entry.example;
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAccessEntry(args: GetAccessEntryArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessEntryResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getAccessEntry.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAccessEntryArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]+$`).
|
|
25
|
+
*/
|
|
26
|
+
clusterName: string;
|
|
27
|
+
/**
|
|
28
|
+
* The IAM Princial ARN which requires Authentication access to the EKS cluster.
|
|
29
|
+
*/
|
|
30
|
+
principalArn: string;
|
|
31
|
+
tags?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getAccessEntry.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetAccessEntryResult {
|
|
39
|
+
/**
|
|
40
|
+
* Amazon Resource Name (ARN) of the Access Entry.
|
|
41
|
+
*/
|
|
42
|
+
readonly accessEntryArn: string;
|
|
43
|
+
readonly clusterName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the EKS add-on was created.
|
|
46
|
+
*/
|
|
47
|
+
readonly createdAt: string;
|
|
48
|
+
/**
|
|
49
|
+
* The provider-assigned unique ID for this managed resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* List of string which can optionally specify the Kubernetes groups the user would belong to when creating an access entry.
|
|
54
|
+
*/
|
|
55
|
+
readonly kubernetesGroups: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the EKS add-on was updated.
|
|
58
|
+
*/
|
|
59
|
+
readonly modifiedAt: string;
|
|
60
|
+
readonly principalArn: string;
|
|
61
|
+
readonly tags?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* (Optional) Key-value map of resource tags, including those inherited from the provider `defaultTags` configuration block.
|
|
66
|
+
*/
|
|
67
|
+
readonly tagsAll: {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Defaults to STANDARD which provides the standard workflow. EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX types disallow users to input a username or groups, and prevent associations.
|
|
72
|
+
*/
|
|
73
|
+
readonly type: string;
|
|
74
|
+
/**
|
|
75
|
+
* Defaults to principal ARN if user is principal else defaults to assume-role/session-name is role is used.
|
|
76
|
+
*/
|
|
77
|
+
readonly userName: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Access Entry Configurations for an EKS Cluster.
|
|
81
|
+
*
|
|
82
|
+
* ## Example Usage
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as aws from "@pulumi/aws";
|
|
87
|
+
*
|
|
88
|
+
* const example = aws.eks.getAccessEntry({
|
|
89
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
90
|
+
* principalArn: aws_iam_role.example.arn,
|
|
91
|
+
* });
|
|
92
|
+
* export const eksAccessEntryOutputs = aws_eks_access_entry.example;
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function getAccessEntryOutput(args: GetAccessEntryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessEntryResult>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getAccessEntry.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetAccessEntryOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (`^[0-9A-Za-z][A-Za-z0-9\-_]+$`).
|
|
102
|
+
*/
|
|
103
|
+
clusterName: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The IAM Princial ARN which requires Authentication access to the EKS cluster.
|
|
106
|
+
*/
|
|
107
|
+
principalArn: pulumi.Input<string>;
|
|
108
|
+
tags?: pulumi.Input<{
|
|
109
|
+
[key: string]: pulumi.Input<string>;
|
|
110
|
+
}>;
|
|
111
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getAccessEntryOutput = exports.getAccessEntry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Access Entry Configurations for an EKS Cluster.
|
|
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 = aws.eks.getAccessEntry({
|
|
18
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
19
|
+
* principalArn: aws_iam_role.example.arn,
|
|
20
|
+
* });
|
|
21
|
+
* export const eksAccessEntryOutputs = aws_eks_access_entry.example;
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAccessEntry(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("aws:eks/getAccessEntry:getAccessEntry", {
|
|
27
|
+
"clusterName": args.clusterName,
|
|
28
|
+
"principalArn": args.principalArn,
|
|
29
|
+
"tags": args.tags,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getAccessEntry = getAccessEntry;
|
|
33
|
+
/**
|
|
34
|
+
* Access Entry Configurations for an EKS Cluster.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = aws.eks.getAccessEntry({
|
|
43
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
44
|
+
* principalArn: aws_iam_role.example.arn,
|
|
45
|
+
* });
|
|
46
|
+
* export const eksAccessEntryOutputs = aws_eks_access_entry.example;
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function getAccessEntryOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply((a) => getAccessEntry(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getAccessEntryOutput = getAccessEntryOutput;
|
|
53
|
+
//# sourceMappingURL=getAccessEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccessEntry.js","sourceRoot":"","sources":["../../eks/getAccessEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAyDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/eks/getCluster.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export interface GetClusterArgs {
|
|
|
41
41
|
* A collection of values returned by getCluster.
|
|
42
42
|
*/
|
|
43
43
|
export interface GetClusterResult {
|
|
44
|
+
/**
|
|
45
|
+
* Configuration block for access config.
|
|
46
|
+
*/
|
|
47
|
+
readonly accessConfigs: outputs.eks.GetClusterAccessConfig[];
|
|
44
48
|
/**
|
|
45
49
|
* ARN of the cluster.
|
|
46
50
|
*/
|
package/eks/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../eks/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../eks/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AA0FD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/eks/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export { AccessEntryArgs, AccessEntryState } from "./accessEntry";
|
|
2
|
+
export type AccessEntry = import("./accessEntry").AccessEntry;
|
|
3
|
+
export declare const AccessEntry: typeof import("./accessEntry").AccessEntry;
|
|
4
|
+
export { AccessPolicyAssociationArgs, AccessPolicyAssociationState } from "./accessPolicyAssociation";
|
|
5
|
+
export type AccessPolicyAssociation = import("./accessPolicyAssociation").AccessPolicyAssociation;
|
|
6
|
+
export declare const AccessPolicyAssociation: typeof import("./accessPolicyAssociation").AccessPolicyAssociation;
|
|
1
7
|
export { AddonArgs, AddonState } from "./addon";
|
|
2
8
|
export type Addon = import("./addon").Addon;
|
|
3
9
|
export declare const Addon: typeof import("./addon").Addon;
|
|
@@ -7,6 +13,9 @@ export declare const Cluster: typeof import("./cluster").Cluster;
|
|
|
7
13
|
export { FargateProfileArgs, FargateProfileState } from "./fargateProfile";
|
|
8
14
|
export type FargateProfile = import("./fargateProfile").FargateProfile;
|
|
9
15
|
export declare const FargateProfile: typeof import("./fargateProfile").FargateProfile;
|
|
16
|
+
export { GetAccessEntryArgs, GetAccessEntryResult, GetAccessEntryOutputArgs } from "./getAccessEntry";
|
|
17
|
+
export declare const getAccessEntry: typeof import("./getAccessEntry").getAccessEntry;
|
|
18
|
+
export declare const getAccessEntryOutput: typeof import("./getAccessEntry").getAccessEntryOutput;
|
|
10
19
|
export { GetAddonArgs, GetAddonResult, GetAddonOutputArgs } from "./getAddon";
|
|
11
20
|
export declare const getAddon: typeof import("./getAddon").getAddon;
|
|
12
21
|
export declare const getAddonOutput: typeof import("./getAddon").getAddonOutput;
|
package/eks/index.js
CHANGED
|
@@ -2,15 +2,22 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.PodIdentityAssociation = exports.NodeGroup = exports.IdentityProviderConfig = exports.getNodeGroupsOutput = exports.getNodeGroups = exports.getNodeGroupOutput = exports.getNodeGroup = exports.getClustersOutput = exports.getClusters = exports.getClusterAuthOutput = exports.getClusterAuth = exports.getClusterOutput = exports.getCluster = exports.getAddonVersionOutput = exports.getAddonVersion = exports.getAddonOutput = exports.getAddon = exports.FargateProfile = exports.Cluster = exports.Addon = void 0;
|
|
5
|
+
exports.PodIdentityAssociation = exports.NodeGroup = exports.IdentityProviderConfig = exports.getNodeGroupsOutput = exports.getNodeGroups = exports.getNodeGroupOutput = exports.getNodeGroup = exports.getClustersOutput = exports.getClusters = exports.getClusterAuthOutput = exports.getClusterAuth = exports.getClusterOutput = exports.getCluster = exports.getAddonVersionOutput = exports.getAddonVersion = exports.getAddonOutput = exports.getAddon = exports.getAccessEntryOutput = exports.getAccessEntry = exports.FargateProfile = exports.Cluster = exports.Addon = exports.AccessPolicyAssociation = exports.AccessEntry = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.AccessEntry = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AccessEntry"], () => require("./accessEntry"));
|
|
10
|
+
exports.AccessPolicyAssociation = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["AccessPolicyAssociation"], () => require("./accessPolicyAssociation"));
|
|
8
12
|
exports.Addon = null;
|
|
9
13
|
utilities.lazyLoad(exports, ["Addon"], () => require("./addon"));
|
|
10
14
|
exports.Cluster = null;
|
|
11
15
|
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
12
16
|
exports.FargateProfile = null;
|
|
13
17
|
utilities.lazyLoad(exports, ["FargateProfile"], () => require("./fargateProfile"));
|
|
18
|
+
exports.getAccessEntry = null;
|
|
19
|
+
exports.getAccessEntryOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getAccessEntry", "getAccessEntryOutput"], () => require("./getAccessEntry"));
|
|
14
21
|
exports.getAddon = null;
|
|
15
22
|
exports.getAddonOutput = null;
|
|
16
23
|
utilities.lazyLoad(exports, ["getAddon", "getAddonOutput"], () => require("./getAddon"));
|
|
@@ -42,6 +49,10 @@ const _module = {
|
|
|
42
49
|
version: utilities.getVersion(),
|
|
43
50
|
construct: (name, type, urn) => {
|
|
44
51
|
switch (type) {
|
|
52
|
+
case "aws:eks/accessEntry:AccessEntry":
|
|
53
|
+
return new exports.AccessEntry(name, undefined, { urn });
|
|
54
|
+
case "aws:eks/accessPolicyAssociation:AccessPolicyAssociation":
|
|
55
|
+
return new exports.AccessPolicyAssociation(name, undefined, { urn });
|
|
45
56
|
case "aws:eks/addon:Addon":
|
|
46
57
|
return new exports.Addon(name, undefined, { urn });
|
|
47
58
|
case "aws:eks/cluster:Cluster":
|
|
@@ -59,6 +70,8 @@ const _module = {
|
|
|
59
70
|
}
|
|
60
71
|
},
|
|
61
72
|
};
|
|
73
|
+
pulumi.runtime.registerResourceModule("aws", "eks/accessEntry", _module);
|
|
74
|
+
pulumi.runtime.registerResourceModule("aws", "eks/accessPolicyAssociation", _module);
|
|
62
75
|
pulumi.runtime.registerResourceModule("aws", "eks/addon", _module);
|
|
63
76
|
pulumi.runtime.registerResourceModule("aws", "eks/cluster", _module);
|
|
64
77
|
pulumi.runtime.registerResourceModule("aws", "eks/fargateProfile", _module);
|
package/eks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../eks/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGtE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,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B,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AAClE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
package/elasticache/index.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export declare const ParameterGroup: typeof import("./parameterGroup").Parameter
|
|
|
22
22
|
export { ReplicationGroupArgs, ReplicationGroupState } from "./replicationGroup";
|
|
23
23
|
export type ReplicationGroup = import("./replicationGroup").ReplicationGroup;
|
|
24
24
|
export declare const ReplicationGroup: typeof import("./replicationGroup").ReplicationGroup;
|
|
25
|
+
export { ServerlessCacheArgs, ServerlessCacheState } from "./serverlessCache";
|
|
26
|
+
export type ServerlessCache = import("./serverlessCache").ServerlessCache;
|
|
27
|
+
export declare const ServerlessCache: typeof import("./serverlessCache").ServerlessCache;
|
|
25
28
|
export { SubnetGroupArgs, SubnetGroupState } from "./subnetGroup";
|
|
26
29
|
export type SubnetGroup = import("./subnetGroup").SubnetGroup;
|
|
27
30
|
export declare const SubnetGroup: typeof import("./subnetGroup").SubnetGroup;
|