AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.getEnclaveCertificateIamRoleAssociation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This association is based on Amazon Resource Names and it enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave.
Using getEnclaveCertificateIamRoleAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnclaveCertificateIamRoleAssociation(args: GetEnclaveCertificateIamRoleAssociationArgs, opts?: InvokeOptions): Promise<GetEnclaveCertificateIamRoleAssociationResult>
function getEnclaveCertificateIamRoleAssociationOutput(args: GetEnclaveCertificateIamRoleAssociationOutputArgs, opts?: InvokeOptions): Output<GetEnclaveCertificateIamRoleAssociationResult>
def get_enclave_certificate_iam_role_association(certificate_arn: Optional[str] = None,
role_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnclaveCertificateIamRoleAssociationResult
def get_enclave_certificate_iam_role_association_output(certificate_arn: Optional[pulumi.Input[str]] = None,
role_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnclaveCertificateIamRoleAssociationResult]
func LookupEnclaveCertificateIamRoleAssociation(ctx *Context, args *LookupEnclaveCertificateIamRoleAssociationArgs, opts ...InvokeOption) (*LookupEnclaveCertificateIamRoleAssociationResult, error)
func LookupEnclaveCertificateIamRoleAssociationOutput(ctx *Context, args *LookupEnclaveCertificateIamRoleAssociationOutputArgs, opts ...InvokeOption) LookupEnclaveCertificateIamRoleAssociationResultOutput
> Note: This function is named LookupEnclaveCertificateIamRoleAssociation
in the Go SDK.
public static class GetEnclaveCertificateIamRoleAssociation
{
public static Task<GetEnclaveCertificateIamRoleAssociationResult> InvokeAsync(GetEnclaveCertificateIamRoleAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetEnclaveCertificateIamRoleAssociationResult> Invoke(GetEnclaveCertificateIamRoleAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnclaveCertificateIamRoleAssociationResult> getEnclaveCertificateIamRoleAssociation(GetEnclaveCertificateIamRoleAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getEnclaveCertificateIamRoleAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Arn string - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
- Certificate
Arn string - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
- certificate
Arn String - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
- certificate
Arn string - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- role
Arn string - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
- certificate_
arn str - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- role_
arn str - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
- certificate
Arn String - The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
getEnclaveCertificateIamRoleAssociation Result
The following output properties are available:
- Certificate
S3Bucket stringName - The name of the Amazon S3 bucket to which the certificate was uploaded.
- Certificate
S3Object stringKey - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- Encryption
Kms stringKey Id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
- Certificate
S3Bucket stringName - The name of the Amazon S3 bucket to which the certificate was uploaded.
- Certificate
S3Object stringKey - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- Encryption
Kms stringKey Id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
- certificate
S3Bucket StringName - The name of the Amazon S3 bucket to which the certificate was uploaded.
- certificate
S3Object StringKey - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- encryption
Kms StringKey Id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
- certificate
S3Bucket stringName - The name of the Amazon S3 bucket to which the certificate was uploaded.
- certificate
S3Object stringKey - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- encryption
Kms stringKey Id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
- certificate_
s3_ strbucket_ name - The name of the Amazon S3 bucket to which the certificate was uploaded.
- certificate_
s3_ strobject_ key - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- encryption_
kms_ strkey_ id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
- certificate
S3Bucket StringName - The name of the Amazon S3 bucket to which the certificate was uploaded.
- certificate
S3Object StringKey - The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
- encryption
Kms StringKey Id - The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.