1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. api
  6. AuditLogExportConfiguration

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi

    Creates or updates the organization’s automated audit log export configuration. Audit log export enables automatic delivery of audit events to an S3 bucket for long-term retention and SIEM integration. The configuration includes the S3 bucket details and IAM role for authentication. This feature is available on Business Critical edition.

    Create AuditLogExportConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuditLogExportConfiguration(name: string, args: AuditLogExportConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def AuditLogExportConfiguration(resource_name: str,
                                    args: AuditLogExportConfigurationArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuditLogExportConfiguration(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    new_enabled: Optional[bool] = None,
                                    new_s3_configuration: Optional[Any] = None,
                                    org_name: Optional[str] = None)
    func NewAuditLogExportConfiguration(ctx *Context, name string, args AuditLogExportConfigurationArgs, opts ...ResourceOption) (*AuditLogExportConfiguration, error)
    public AuditLogExportConfiguration(string name, AuditLogExportConfigurationArgs args, CustomResourceOptions? opts = null)
    public AuditLogExportConfiguration(String name, AuditLogExportConfigurationArgs args)
    public AuditLogExportConfiguration(String name, AuditLogExportConfigurationArgs args, CustomResourceOptions options)
    
    type: pulumiservice:api:AuditLogExportConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "pulumiservice_api_auditlogexportconfiguration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AuditLogExportConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AuditLogExportConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AuditLogExportConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuditLogExportConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuditLogExportConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var auditLogExportConfigurationResource = new PulumiService.Api.AuditLogExportConfiguration("auditLogExportConfigurationResource", new()
    {
        NewEnabled = false,
        NewS3Configuration = "any",
        OrgName = "string",
    });
    
    example, err := api.NewAuditLogExportConfiguration(ctx, "auditLogExportConfigurationResource", &api.AuditLogExportConfigurationArgs{
    	NewEnabled:         pulumi.Bool(false),
    	NewS3Configuration: pulumi.Any("any"),
    	OrgName:            pulumi.String("string"),
    })
    
    resource "pulumiservice_api_auditlogexportconfiguration" "auditLogExportConfigurationResource" {
      new_enabled          = false
      new_s3_configuration = "any"
      org_name             = "string"
    }
    
    var auditLogExportConfigurationResource = new AuditLogExportConfiguration("auditLogExportConfigurationResource", AuditLogExportConfigurationArgs.builder()
        .newEnabled(false)
        .newS3Configuration("any")
        .orgName("string")
        .build());
    
    audit_log_export_configuration_resource = pulumiservice.api.AuditLogExportConfiguration("auditLogExportConfigurationResource",
        new_enabled=False,
        new_s3_configuration="any",
        org_name="string")
    
    const auditLogExportConfigurationResource = new pulumiservice.api.AuditLogExportConfiguration("auditLogExportConfigurationResource", {
        newEnabled: false,
        newS3Configuration: "any",
        orgName: "string",
    });
    
    type: pulumiservice:api:AuditLogExportConfiguration
    properties:
        newEnabled: false
        newS3Configuration: any
        orgName: string
    

    AuditLogExportConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AuditLogExportConfiguration resource accepts the following input properties:

    NewEnabled bool
    Whether the audit log export is enabled.
    NewS3Configuration object
    The new S3 configuration for audit log export.
    OrgName string
    The organization name
    NewEnabled bool
    Whether the audit log export is enabled.
    NewS3Configuration interface{}
    The new S3 configuration for audit log export.
    OrgName string
    The organization name
    new_enabled bool
    Whether the audit log export is enabled.
    new_s3_configuration any
    The new S3 configuration for audit log export.
    org_name string
    The organization name
    newEnabled Boolean
    Whether the audit log export is enabled.
    newS3Configuration Object
    The new S3 configuration for audit log export.
    orgName String
    The organization name
    newEnabled boolean
    Whether the audit log export is enabled.
    newS3Configuration any
    The new S3 configuration for audit log export.
    orgName string
    The organization name
    new_enabled bool
    Whether the audit log export is enabled.
    new_s3_configuration Any
    The new S3 configuration for audit log export.
    org_name str
    The organization name
    newEnabled Boolean
    Whether the audit log export is enabled.
    newS3Configuration Any
    The new S3 configuration for audit log export.
    orgName String
    The organization name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuditLogExportConfiguration resource produces the following output properties:

    Enabled bool
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastResult object
    The result of the last audit log export attempt.
    S3Config object
    The S3 configuration for exporting audit logs.
    Enabled bool
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastResult interface{}
    The result of the last audit log export attempt.
    S3Config interface{}
    The S3 configuration for exporting audit logs.
    enabled bool
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    id string
    The provider-assigned unique ID for this managed resource.
    last_result any
    The result of the last audit log export attempt.
    s3_config any
    The S3 configuration for exporting audit logs.
    enabled Boolean
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    id String
    The provider-assigned unique ID for this managed resource.
    lastResult Object
    The result of the last audit log export attempt.
    s3Config Object
    The S3 configuration for exporting audit logs.
    enabled boolean
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    id string
    The provider-assigned unique ID for this managed resource.
    lastResult any
    The result of the last audit log export attempt.
    s3Config any
    The S3 configuration for exporting audit logs.
    enabled bool
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    id str
    The provider-assigned unique ID for this managed resource.
    last_result Any
    The result of the last audit log export attempt.
    s3_config Any
    The S3 configuration for exporting audit logs.
    enabled Boolean
    Whether audit log export is currently active. May be paused automatically if the configured destination repeatedly fails to authenticate.
    id String
    The provider-assigned unique ID for this managed resource.
    lastResult Any
    The result of the last audit log export attempt.
    s3Config Any
    The S3 configuration for exporting audit logs.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Viewing docs for Pulumi Cloud v1.1.0
    published on Thursday, May 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial