1. Packages
  2. AWS Native
  3. API Docs
  4. certificatemanager
  5. getAccount

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.certificatemanager.getAccount

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource schema for AWS::CertificateManager::Account.

    Using getAccount

    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 getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
    function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
    def get_account(account_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAccountResult
    def get_account_output(account_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
    func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
    func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput

    > Note: This function is named LookupAccount in the Go SDK.

    public static class GetAccount 
    {
        public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:certificatemanager:getAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    ID of the AWS account that owns the certificate.
    AccountId string
    ID of the AWS account that owns the certificate.
    accountId String
    ID of the AWS account that owns the certificate.
    accountId string
    ID of the AWS account that owns the certificate.
    account_id str
    ID of the AWS account that owns the certificate.
    accountId String
    ID of the AWS account that owns the certificate.

    getAccount Result

    The following output properties are available:

    AccountId string
    ID of the AWS account that owns the certificate.
    ExpiryEventsConfiguration Pulumi.AwsNative.CertificateManager.Outputs.AccountExpiryEventsConfiguration
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.
    AccountId string
    ID of the AWS account that owns the certificate.
    ExpiryEventsConfiguration AccountExpiryEventsConfiguration
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.
    accountId String
    ID of the AWS account that owns the certificate.
    expiryEventsConfiguration AccountExpiryEventsConfiguration
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.
    accountId string
    ID of the AWS account that owns the certificate.
    expiryEventsConfiguration AccountExpiryEventsConfiguration
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.
    account_id str
    ID of the AWS account that owns the certificate.
    expiry_events_configuration AccountExpiryEventsConfiguration
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.
    accountId String
    ID of the AWS account that owns the certificate.
    expiryEventsConfiguration Property Map
    Object containing expiration events options associated with an AWS account . For more information, see ExpiryEventsConfiguration in the API reference.

    Supporting Types

    AccountExpiryEventsConfiguration

    DaysBeforeExpiry int
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
    DaysBeforeExpiry int
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
    daysBeforeExpiry Integer
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
    daysBeforeExpiry number
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
    days_before_expiry int
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
    daysBeforeExpiry Number
    This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

    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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi