alicloud logo
Alibaba Cloud v3.38.0, Jun 2 23

alicloud.ga.AccessLog

Explore with Pulumi AI

Provides a Global Accelerator (GA) Access Log resource.

For information about Global Accelerator (GA) Access Log and how to use it, see What is Access Log.

NOTE: Available in v1.187.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var defaultAccelerators = AliCloud.Ga.GetAccelerators.Invoke(new()
    {
        Status = "active",
    });

    var defaultProject = new AliCloud.Log.Project("defaultProject");

    var defaultStore = new AliCloud.Log.Store("defaultStore", new()
    {
        Project = defaultProject.Name,
    });

    var defaultBandwidthPackage = new AliCloud.Ga.BandwidthPackage("defaultBandwidthPackage", new()
    {
        Bandwidth = 100,
        Type = "Basic",
        BandwidthType = "Basic",
        PaymentType = "PayAsYouGo",
        BillingType = "PayBy95",
        Ratio = 30,
    });

    var defaultBandwidthPackageAttachment = new AliCloud.Ga.BandwidthPackageAttachment("defaultBandwidthPackageAttachment", new()
    {
        AcceleratorId = defaultAccelerators.Apply(getAcceleratorsResult => getAcceleratorsResult.Accelerators[0]?.Id),
        BandwidthPackageId = defaultBandwidthPackage.Id,
    });

    var defaultListener = new AliCloud.Ga.Listener("defaultListener", new()
    {
        AcceleratorId = defaultBandwidthPackageAttachment.AcceleratorId,
        PortRanges = new[]
        {
            new AliCloud.Ga.Inputs.ListenerPortRangeArgs
            {
                FromPort = 80,
                ToPort = 80,
            },
        },
    });

    var defaultEipAddress = new AliCloud.Ecs.EipAddress("defaultEipAddress", new()
    {
        PaymentType = "PayAsYouGo",
    });

    var defaultEndpointGroup = new AliCloud.Ga.EndpointGroup("defaultEndpointGroup", new()
    {
        AcceleratorId = defaultListener.AcceleratorId,
        EndpointConfigurations = new[]
        {
            new AliCloud.Ga.Inputs.EndpointGroupEndpointConfigurationArgs
            {
                Endpoint = defaultEipAddress.IpAddress,
                Type = "PublicIp",
                Weight = 20,
            },
        },
        EndpointGroupRegion = "cn-hangzhou",
        ListenerId = defaultListener.Id,
    });

    var defaultAccessLog = new AliCloud.Ga.AccessLog("defaultAccessLog", new()
    {
        AcceleratorId = defaultAccelerators.Apply(getAcceleratorsResult => getAcceleratorsResult.Accelerators[0]?.Id),
        ListenerId = defaultListener.Id,
        EndpointGroupId = defaultEndpointGroup.Id,
        SlsProjectName = defaultProject.Name,
        SlsLogStoreName = defaultStore.Name,
        SlsRegionId = "cn-hangzhou",
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultAccelerators, err := ga.GetAccelerators(ctx, &ga.GetAcceleratorsArgs{
			Status: pulumi.StringRef("active"),
		}, nil)
		if err != nil {
			return err
		}
		defaultProject, err := log.NewProject(ctx, "defaultProject", nil)
		if err != nil {
			return err
		}
		defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{
			Project: defaultProject.Name,
		})
		if err != nil {
			return err
		}
		defaultBandwidthPackage, err := ga.NewBandwidthPackage(ctx, "defaultBandwidthPackage", &ga.BandwidthPackageArgs{
			Bandwidth:     pulumi.Int(100),
			Type:          pulumi.String("Basic"),
			BandwidthType: pulumi.String("Basic"),
			PaymentType:   pulumi.String("PayAsYouGo"),
			BillingType:   pulumi.String("PayBy95"),
			Ratio:         pulumi.Int(30),
		})
		if err != nil {
			return err
		}
		defaultBandwidthPackageAttachment, err := ga.NewBandwidthPackageAttachment(ctx, "defaultBandwidthPackageAttachment", &ga.BandwidthPackageAttachmentArgs{
			AcceleratorId:      *pulumi.String(defaultAccelerators.Accelerators[0].Id),
			BandwidthPackageId: defaultBandwidthPackage.ID(),
		})
		if err != nil {
			return err
		}
		defaultListener, err := ga.NewListener(ctx, "defaultListener", &ga.ListenerArgs{
			AcceleratorId: defaultBandwidthPackageAttachment.AcceleratorId,
			PortRanges: ga.ListenerPortRangeArray{
				&ga.ListenerPortRangeArgs{
					FromPort: pulumi.Int(80),
					ToPort:   pulumi.Int(80),
				},
			},
		})
		if err != nil {
			return err
		}
		defaultEipAddress, err := ecs.NewEipAddress(ctx, "defaultEipAddress", &ecs.EipAddressArgs{
			PaymentType: pulumi.String("PayAsYouGo"),
		})
		if err != nil {
			return err
		}
		defaultEndpointGroup, err := ga.NewEndpointGroup(ctx, "defaultEndpointGroup", &ga.EndpointGroupArgs{
			AcceleratorId: defaultListener.AcceleratorId,
			EndpointConfigurations: ga.EndpointGroupEndpointConfigurationArray{
				&ga.EndpointGroupEndpointConfigurationArgs{
					Endpoint: defaultEipAddress.IpAddress,
					Type:     pulumi.String("PublicIp"),
					Weight:   pulumi.Int(20),
				},
			},
			EndpointGroupRegion: pulumi.String("cn-hangzhou"),
			ListenerId:          defaultListener.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ga.NewAccessLog(ctx, "defaultAccessLog", &ga.AccessLogArgs{
			AcceleratorId:   *pulumi.String(defaultAccelerators.Accelerators[0].Id),
			ListenerId:      defaultListener.ID(),
			EndpointGroupId: defaultEndpointGroup.ID(),
			SlsProjectName:  defaultProject.Name,
			SlsLogStoreName: defaultStore.Name,
			SlsRegionId:     pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.GaFunctions;
import com.pulumi.alicloud.ga.inputs.GetAcceleratorsArgs;
import com.pulumi.alicloud.log.Project;
import com.pulumi.alicloud.log.Store;
import com.pulumi.alicloud.log.StoreArgs;
import com.pulumi.alicloud.ga.BandwidthPackage;
import com.pulumi.alicloud.ga.BandwidthPackageArgs;
import com.pulumi.alicloud.ga.BandwidthPackageAttachment;
import com.pulumi.alicloud.ga.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.ga.Listener;
import com.pulumi.alicloud.ga.ListenerArgs;
import com.pulumi.alicloud.ga.inputs.ListenerPortRangeArgs;
import com.pulumi.alicloud.ecs.EipAddress;
import com.pulumi.alicloud.ecs.EipAddressArgs;
import com.pulumi.alicloud.ga.EndpointGroup;
import com.pulumi.alicloud.ga.EndpointGroupArgs;
import com.pulumi.alicloud.ga.inputs.EndpointGroupEndpointConfigurationArgs;
import com.pulumi.alicloud.ga.AccessLog;
import com.pulumi.alicloud.ga.AccessLogArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var defaultAccelerators = GaFunctions.getAccelerators(GetAcceleratorsArgs.builder()
            .status("active")
            .build());

        var defaultProject = new Project("defaultProject");

        var defaultStore = new Store("defaultStore", StoreArgs.builder()        
            .project(defaultProject.name())
            .build());

        var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()        
            .bandwidth(100)
            .type("Basic")
            .bandwidthType("Basic")
            .paymentType("PayAsYouGo")
            .billingType("PayBy95")
            .ratio(30)
            .build());

        var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()        
            .acceleratorId(defaultAccelerators.applyValue(getAcceleratorsResult -> getAcceleratorsResult.accelerators()[0].id()))
            .bandwidthPackageId(defaultBandwidthPackage.id())
            .build());

        var defaultListener = new Listener("defaultListener", ListenerArgs.builder()        
            .acceleratorId(defaultBandwidthPackageAttachment.acceleratorId())
            .portRanges(ListenerPortRangeArgs.builder()
                .fromPort(80)
                .toPort(80)
                .build())
            .build());

        var defaultEipAddress = new EipAddress("defaultEipAddress", EipAddressArgs.builder()        
            .paymentType("PayAsYouGo")
            .build());

        var defaultEndpointGroup = new EndpointGroup("defaultEndpointGroup", EndpointGroupArgs.builder()        
            .acceleratorId(defaultListener.acceleratorId())
            .endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
                .endpoint(defaultEipAddress.ipAddress())
                .type("PublicIp")
                .weight(20)
                .build())
            .endpointGroupRegion("cn-hangzhou")
            .listenerId(defaultListener.id())
            .build());

        var defaultAccessLog = new AccessLog("defaultAccessLog", AccessLogArgs.builder()        
            .acceleratorId(defaultAccelerators.applyValue(getAcceleratorsResult -> getAcceleratorsResult.accelerators()[0].id()))
            .listenerId(defaultListener.id())
            .endpointGroupId(defaultEndpointGroup.id())
            .slsProjectName(defaultProject.name())
            .slsLogStoreName(defaultStore.name())
            .slsRegionId("cn-hangzhou")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default_accelerators = alicloud.ga.get_accelerators(status="active")
default_project = alicloud.log.Project("defaultProject")
default_store = alicloud.log.Store("defaultStore", project=default_project.name)
default_bandwidth_package = alicloud.ga.BandwidthPackage("defaultBandwidthPackage",
    bandwidth=100,
    type="Basic",
    bandwidth_type="Basic",
    payment_type="PayAsYouGo",
    billing_type="PayBy95",
    ratio=30)
default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("defaultBandwidthPackageAttachment",
    accelerator_id=default_accelerators.accelerators[0].id,
    bandwidth_package_id=default_bandwidth_package.id)
default_listener = alicloud.ga.Listener("defaultListener",
    accelerator_id=default_bandwidth_package_attachment.accelerator_id,
    port_ranges=[alicloud.ga.ListenerPortRangeArgs(
        from_port=80,
        to_port=80,
    )])
default_eip_address = alicloud.ecs.EipAddress("defaultEipAddress", payment_type="PayAsYouGo")
default_endpoint_group = alicloud.ga.EndpointGroup("defaultEndpointGroup",
    accelerator_id=default_listener.accelerator_id,
    endpoint_configurations=[alicloud.ga.EndpointGroupEndpointConfigurationArgs(
        endpoint=default_eip_address.ip_address,
        type="PublicIp",
        weight=20,
    )],
    endpoint_group_region="cn-hangzhou",
    listener_id=default_listener.id)
default_access_log = alicloud.ga.AccessLog("defaultAccessLog",
    accelerator_id=default_accelerators.accelerators[0].id,
    listener_id=default_listener.id,
    endpoint_group_id=default_endpoint_group.id,
    sls_project_name=default_project.name,
    sls_log_store_name=default_store.name,
    sls_region_id="cn-hangzhou")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultAccelerators = alicloud.ga.getAccelerators({
    status: "active",
});
const defaultProject = new alicloud.log.Project("defaultProject", {});
const defaultStore = new alicloud.log.Store("defaultStore", {project: defaultProject.name});
const defaultBandwidthPackage = new alicloud.ga.BandwidthPackage("defaultBandwidthPackage", {
    bandwidth: 100,
    type: "Basic",
    bandwidthType: "Basic",
    paymentType: "PayAsYouGo",
    billingType: "PayBy95",
    ratio: 30,
});
const defaultBandwidthPackageAttachment = new alicloud.ga.BandwidthPackageAttachment("defaultBandwidthPackageAttachment", {
    acceleratorId: defaultAccelerators.then(defaultAccelerators => defaultAccelerators.accelerators?.[0]?.id),
    bandwidthPackageId: defaultBandwidthPackage.id,
});
const defaultListener = new alicloud.ga.Listener("defaultListener", {
    acceleratorId: defaultBandwidthPackageAttachment.acceleratorId,
    portRanges: [{
        fromPort: 80,
        toPort: 80,
    }],
});
const defaultEipAddress = new alicloud.ecs.EipAddress("defaultEipAddress", {paymentType: "PayAsYouGo"});
const defaultEndpointGroup = new alicloud.ga.EndpointGroup("defaultEndpointGroup", {
    acceleratorId: defaultListener.acceleratorId,
    endpointConfigurations: [{
        endpoint: defaultEipAddress.ipAddress,
        type: "PublicIp",
        weight: 20,
    }],
    endpointGroupRegion: "cn-hangzhou",
    listenerId: defaultListener.id,
});
const defaultAccessLog = new alicloud.ga.AccessLog("defaultAccessLog", {
    acceleratorId: defaultAccelerators.then(defaultAccelerators => defaultAccelerators.accelerators?.[0]?.id),
    listenerId: defaultListener.id,
    endpointGroupId: defaultEndpointGroup.id,
    slsProjectName: defaultProject.name,
    slsLogStoreName: defaultStore.name,
    slsRegionId: "cn-hangzhou",
});
resources:
  defaultProject:
    type: alicloud:log:Project
  defaultStore:
    type: alicloud:log:Store
    properties:
      project: ${defaultProject.name}
  defaultBandwidthPackage:
    type: alicloud:ga:BandwidthPackage
    properties:
      bandwidth: 100
      type: Basic
      bandwidthType: Basic
      paymentType: PayAsYouGo
      billingType: PayBy95
      ratio: 30
  defaultBandwidthPackageAttachment:
    type: alicloud:ga:BandwidthPackageAttachment
    properties:
      acceleratorId: ${defaultAccelerators.accelerators[0].id}
      bandwidthPackageId: ${defaultBandwidthPackage.id}
  defaultListener:
    type: alicloud:ga:Listener
    properties:
      acceleratorId: ${defaultBandwidthPackageAttachment.acceleratorId}
      portRanges:
        - fromPort: 80
          toPort: 80
  defaultEipAddress:
    type: alicloud:ecs:EipAddress
    properties:
      paymentType: PayAsYouGo
  defaultEndpointGroup:
    type: alicloud:ga:EndpointGroup
    properties:
      acceleratorId: ${defaultListener.acceleratorId}
      endpointConfigurations:
        - endpoint: ${defaultEipAddress.ipAddress}
          type: PublicIp
          weight: 20
      endpointGroupRegion: cn-hangzhou
      listenerId: ${defaultListener.id}
  defaultAccessLog:
    type: alicloud:ga:AccessLog
    properties:
      acceleratorId: ${defaultAccelerators.accelerators[0].id}
      listenerId: ${defaultListener.id}
      endpointGroupId: ${defaultEndpointGroup.id}
      slsProjectName: ${defaultProject.name}
      slsLogStoreName: ${defaultStore.name}
      slsRegionId: cn-hangzhou
variables:
  defaultAccelerators:
    fn::invoke:
      Function: alicloud:ga:getAccelerators
      Arguments:
        status: active

Create AccessLog Resource

new AccessLog(name: string, args: AccessLogArgs, opts?: CustomResourceOptions);
@overload
def AccessLog(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              accelerator_id: Optional[str] = None,
              endpoint_group_id: Optional[str] = None,
              listener_id: Optional[str] = None,
              sls_log_store_name: Optional[str] = None,
              sls_project_name: Optional[str] = None,
              sls_region_id: Optional[str] = None)
@overload
def AccessLog(resource_name: str,
              args: AccessLogArgs,
              opts: Optional[ResourceOptions] = None)
func NewAccessLog(ctx *Context, name string, args AccessLogArgs, opts ...ResourceOption) (*AccessLog, error)
public AccessLog(string name, AccessLogArgs args, CustomResourceOptions? opts = null)
public AccessLog(String name, AccessLogArgs args)
public AccessLog(String name, AccessLogArgs args, CustomResourceOptions options)
type: alicloud:ga:AccessLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AccessLogArgs
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 AccessLogArgs
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 AccessLogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccessLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AccessLogArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AccessLog Resource Properties

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

Inputs

The AccessLog resource accepts the following input properties:

AcceleratorId string

The ID of the global acceleration instance.

EndpointGroupId string

The ID of the endpoint group instance.

ListenerId string

The ID of the listener.

SlsLogStoreName string

The name of the Log Store.

SlsProjectName string

The name of the Log Service project.

SlsRegionId string

The region ID of the Log Service project.

AcceleratorId string

The ID of the global acceleration instance.

EndpointGroupId string

The ID of the endpoint group instance.

ListenerId string

The ID of the listener.

SlsLogStoreName string

The name of the Log Store.

SlsProjectName string

The name of the Log Service project.

SlsRegionId string

The region ID of the Log Service project.

acceleratorId String

The ID of the global acceleration instance.

endpointGroupId String

The ID of the endpoint group instance.

listenerId String

The ID of the listener.

slsLogStoreName String

The name of the Log Store.

slsProjectName String

The name of the Log Service project.

slsRegionId String

The region ID of the Log Service project.

acceleratorId string

The ID of the global acceleration instance.

endpointGroupId string

The ID of the endpoint group instance.

listenerId string

The ID of the listener.

slsLogStoreName string

The name of the Log Store.

slsProjectName string

The name of the Log Service project.

slsRegionId string

The region ID of the Log Service project.

accelerator_id str

The ID of the global acceleration instance.

endpoint_group_id str

The ID of the endpoint group instance.

listener_id str

The ID of the listener.

sls_log_store_name str

The name of the Log Store.

sls_project_name str

The name of the Log Service project.

sls_region_id str

The region ID of the Log Service project.

acceleratorId String

The ID of the global acceleration instance.

endpointGroupId String

The ID of the endpoint group instance.

listenerId String

The ID of the listener.

slsLogStoreName String

The name of the Log Store.

slsProjectName String

The name of the Log Service project.

slsRegionId String

The region ID of the Log Service project.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

Whether access log is enabled.

Id string

The provider-assigned unique ID for this managed resource.

Status string

Whether access log is enabled.

id String

The provider-assigned unique ID for this managed resource.

status String

Whether access log is enabled.

id string

The provider-assigned unique ID for this managed resource.

status string

Whether access log is enabled.

id str

The provider-assigned unique ID for this managed resource.

status str

Whether access log is enabled.

id String

The provider-assigned unique ID for this managed resource.

status String

Whether access log is enabled.

Look up Existing AccessLog Resource

Get an existing AccessLog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AccessLogState, opts?: CustomResourceOptions): AccessLog
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accelerator_id: Optional[str] = None,
        endpoint_group_id: Optional[str] = None,
        listener_id: Optional[str] = None,
        sls_log_store_name: Optional[str] = None,
        sls_project_name: Optional[str] = None,
        sls_region_id: Optional[str] = None,
        status: Optional[str] = None) -> AccessLog
func GetAccessLog(ctx *Context, name string, id IDInput, state *AccessLogState, opts ...ResourceOption) (*AccessLog, error)
public static AccessLog Get(string name, Input<string> id, AccessLogState? state, CustomResourceOptions? opts = null)
public static AccessLog get(String name, Output<String> id, AccessLogState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AcceleratorId string

The ID of the global acceleration instance.

EndpointGroupId string

The ID of the endpoint group instance.

ListenerId string

The ID of the listener.

SlsLogStoreName string

The name of the Log Store.

SlsProjectName string

The name of the Log Service project.

SlsRegionId string

The region ID of the Log Service project.

Status string

Whether access log is enabled.

AcceleratorId string

The ID of the global acceleration instance.

EndpointGroupId string

The ID of the endpoint group instance.

ListenerId string

The ID of the listener.

SlsLogStoreName string

The name of the Log Store.

SlsProjectName string

The name of the Log Service project.

SlsRegionId string

The region ID of the Log Service project.

Status string

Whether access log is enabled.

acceleratorId String

The ID of the global acceleration instance.

endpointGroupId String

The ID of the endpoint group instance.

listenerId String

The ID of the listener.

slsLogStoreName String

The name of the Log Store.

slsProjectName String

The name of the Log Service project.

slsRegionId String

The region ID of the Log Service project.

status String

Whether access log is enabled.

acceleratorId string

The ID of the global acceleration instance.

endpointGroupId string

The ID of the endpoint group instance.

listenerId string

The ID of the listener.

slsLogStoreName string

The name of the Log Store.

slsProjectName string

The name of the Log Service project.

slsRegionId string

The region ID of the Log Service project.

status string

Whether access log is enabled.

accelerator_id str

The ID of the global acceleration instance.

endpoint_group_id str

The ID of the endpoint group instance.

listener_id str

The ID of the listener.

sls_log_store_name str

The name of the Log Store.

sls_project_name str

The name of the Log Service project.

sls_region_id str

The region ID of the Log Service project.

status str

Whether access log is enabled.

acceleratorId String

The ID of the global acceleration instance.

endpointGroupId String

The ID of the endpoint group instance.

listenerId String

The ID of the listener.

slsLogStoreName String

The name of the Log Store.

slsProjectName String

The name of the Log Service project.

slsRegionId String

The region ID of the Log Service project.

status String

Whether access log is enabled.

Import

Global Accelerator (GA) Access Log can be imported using the id, e.g.

 $ pulumi import alicloud:ga/accessLog:AccessLog example <accelerator_id>:<listener_id>:<endpoint_group_id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.