1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getEnclaveCertificateIamRoleAssociation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ec2.getEnclaveCertificateIamRoleAssociation

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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:

    CertificateArn string
    The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
    RoleArn 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.
    CertificateArn string
    The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
    RoleArn 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.
    certificateArn String
    The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
    roleArn 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.
    certificateArn string
    The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
    roleArn 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.
    certificateArn String
    The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
    roleArn 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:

    CertificateS3BucketName string
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    CertificateS3ObjectKey string
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    EncryptionKmsKeyId string
    The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
    CertificateS3BucketName string
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    CertificateS3ObjectKey string
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    EncryptionKmsKeyId string
    The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
    certificateS3BucketName String
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    certificateS3ObjectKey String
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    encryptionKmsKeyId String
    The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
    certificateS3BucketName string
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    certificateS3ObjectKey string
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    encryptionKmsKeyId string
    The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
    certificate_s3_bucket_name str
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    certificate_s3_object_key str
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    encryption_kms_key_id str
    The ID of the AWS KMS CMK used to encrypt the private key of the certificate.
    certificateS3BucketName String
    The name of the Amazon S3 bucket to which the certificate was uploaded.
    certificateS3ObjectKey String
    The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
    encryptionKmsKeyId String
    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 logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi