alicloud.cfg.Delivery
Explore with Pulumi AI
Provides a Config Delivery resource.
Delivery channel of current account.
For information about Config Delivery and how to use it, see What is Delivery.
NOTE: Available since v1.171.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example-sls";
const _this = alicloud.getAccount({});
const thisGetRegions = alicloud.getRegions({
    current: true,
});
const _default = new alicloud.log.Project("default", {projectName: name});
const defaultStore = new alicloud.log.Store("default", {
    logstoreName: name,
    projectName: _default.projectName,
});
const defaultDelivery = new alicloud.cfg.Delivery("default", {
    configurationItemChangeNotification: true,
    nonCompliantNotification: true,
    deliveryChannelName: name,
    deliveryChannelTargetArn: pulumi.all([thisGetRegions, _this, _default.projectName, defaultStore.logstoreName]).apply(([thisGetRegions, _this, projectName, logstoreName]) => `acs:log:${thisGetRegions.ids?.[0]}:${_this.id}:project/${projectName}/logstore/${logstoreName}`),
    deliveryChannelType: "SLS",
    description: name,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example-sls"
this = alicloud.get_account()
this_get_regions = alicloud.get_regions(current=True)
default = alicloud.log.Project("default", project_name=name)
default_store = alicloud.log.Store("default",
    logstore_name=name,
    project_name=default.project_name)
default_delivery = alicloud.cfg.Delivery("default",
    configuration_item_change_notification=True,
    non_compliant_notification=True,
    delivery_channel_name=name,
    delivery_channel_target_arn=pulumi.Output.all(
        project_name=default.project_name,
        logstore_name=default_store.logstore_name
).apply(lambda resolved_outputs: f"acs:log:{this_get_regions.ids[0]}:{this.id}:project/{resolved_outputs['project_name']}/logstore/{resolved_outputs['logstore_name']}")
,
    delivery_channel_type="SLS",
    description=name)
package main
import (
	"fmt"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cfg"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example-sls"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		this, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		thisGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_default, err := log.NewProject(ctx, "default", &log.ProjectArgs{
			ProjectName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultStore, err := log.NewStore(ctx, "default", &log.StoreArgs{
			LogstoreName: pulumi.String(name),
			ProjectName:  _default.ProjectName,
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewDelivery(ctx, "default", &cfg.DeliveryArgs{
			ConfigurationItemChangeNotification: pulumi.Bool(true),
			NonCompliantNotification:            pulumi.Bool(true),
			DeliveryChannelName:                 pulumi.String(name),
			DeliveryChannelTargetArn: pulumi.All(_default.ProjectName, defaultStore.LogstoreName).ApplyT(func(_args []interface{}) (string, error) {
				projectName := _args[0].(string)
				logstoreName := _args[1].(string)
				return fmt.Sprintf("acs:log:%v:%v:project/%v/logstore/%v", thisGetRegions.Ids[0], this.Id, projectName, logstoreName), nil
			}).(pulumi.StringOutput),
			DeliveryChannelType: pulumi.String("SLS"),
			Description:         pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf-example-sls";
    var @this = AliCloud.GetAccount.Invoke();
    var thisGetRegions = AliCloud.GetRegions.Invoke(new()
    {
        Current = true,
    });
    var @default = new AliCloud.Log.Project("default", new()
    {
        ProjectName = name,
    });
    var defaultStore = new AliCloud.Log.Store("default", new()
    {
        LogstoreName = name,
        ProjectName = @default.ProjectName,
    });
    var defaultDelivery = new AliCloud.Cfg.Delivery("default", new()
    {
        ConfigurationItemChangeNotification = true,
        NonCompliantNotification = true,
        DeliveryChannelName = name,
        DeliveryChannelTargetArn = Output.Tuple(thisGetRegions, @this, @default.ProjectName, defaultStore.LogstoreName).Apply(values =>
        {
            var thisGetRegions = values.Item1;
            var @this = values.Item2;
            var projectName = values.Item3;
            var logstoreName = values.Item4;
            return $"acs:log:{thisGetRegions.Apply(getRegionsResult => getRegionsResult.Ids[0])}:{@this.Apply(getAccountResult => getAccountResult.Id)}:project/{projectName}/logstore/{logstoreName}";
        }),
        DeliveryChannelType = "SLS",
        Description = name,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.log.Project;
import com.pulumi.alicloud.log.ProjectArgs;
import com.pulumi.alicloud.log.Store;
import com.pulumi.alicloud.log.StoreArgs;
import com.pulumi.alicloud.cfg.Delivery;
import com.pulumi.alicloud.cfg.DeliveryArgs;
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 config = ctx.config();
        final var name = config.get("name").orElse("tf-example-sls");
        final var this = AlicloudFunctions.getAccount();
        final var thisGetRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
            .current(true)
            .build());
        var default_ = new Project("default", ProjectArgs.builder()
            .projectName(name)
            .build());
        var defaultStore = new Store("defaultStore", StoreArgs.builder()
            .logstoreName(name)
            .projectName(default_.projectName())
            .build());
        var defaultDelivery = new Delivery("defaultDelivery", DeliveryArgs.builder()
            .configurationItemChangeNotification(true)
            .nonCompliantNotification(true)
            .deliveryChannelName(name)
            .deliveryChannelTargetArn(Output.tuple(default_.projectName(), defaultStore.logstoreName()).applyValue(values -> {
                var projectName = values.t1;
                var logstoreName = values.t2;
                return String.format("acs:log:%s:%s:project/%s/logstore/%s", thisGetRegions.applyValue(getRegionsResult -> getRegionsResult.ids()[0]),this_.id(),projectName,logstoreName);
            }))
            .deliveryChannelType("SLS")
            .description(name)
            .build());
    }
}
configuration:
  name:
    type: string
    default: tf-example-sls
resources:
  default:
    type: alicloud:log:Project
    properties:
      projectName: ${name}
  defaultStore:
    type: alicloud:log:Store
    name: default
    properties:
      logstoreName: ${name}
      projectName: ${default.projectName}
  defaultDelivery:
    type: alicloud:cfg:Delivery
    name: default
    properties:
      configurationItemChangeNotification: true
      nonCompliantNotification: true
      deliveryChannelName: ${name}
      deliveryChannelTargetArn: acs:log:${thisGetRegions.ids[0]}:${this.id}:project/${default.projectName}/logstore/${defaultStore.logstoreName}
      deliveryChannelType: SLS
      description: ${name}
variables:
  this:
    fn::invoke:
      function: alicloud:getAccount
      arguments: {}
  thisGetRegions:
    fn::invoke:
      function: alicloud:getRegions
      arguments:
        current: true
Create Delivery Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Delivery(name: string, args: DeliveryArgs, opts?: CustomResourceOptions);@overload
def Delivery(resource_name: str,
             args: DeliveryArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Delivery(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             delivery_channel_target_arn: Optional[str] = None,
             delivery_channel_type: Optional[str] = None,
             configuration_item_change_notification: Optional[bool] = None,
             configuration_snapshot: Optional[bool] = None,
             delivery_channel_condition: Optional[str] = None,
             delivery_channel_name: Optional[str] = None,
             description: Optional[str] = None,
             non_compliant_notification: Optional[bool] = None,
             oversized_data_oss_target_arn: Optional[str] = None,
             status: Optional[int] = None)func NewDelivery(ctx *Context, name string, args DeliveryArgs, opts ...ResourceOption) (*Delivery, error)public Delivery(string name, DeliveryArgs args, CustomResourceOptions? opts = null)
public Delivery(String name, DeliveryArgs args)
public Delivery(String name, DeliveryArgs args, CustomResourceOptions options)
type: alicloud:cfg:Delivery
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeliveryArgs
- 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 DeliveryArgs
- 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 DeliveryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeliveryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeliveryArgs
- 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 deliveryResource = new AliCloud.Cfg.Delivery("deliveryResource", new()
{
    DeliveryChannelTargetArn = "string",
    DeliveryChannelType = "string",
    ConfigurationItemChangeNotification = false,
    ConfigurationSnapshot = false,
    DeliveryChannelCondition = "string",
    DeliveryChannelName = "string",
    Description = "string",
    NonCompliantNotification = false,
    OversizedDataOssTargetArn = "string",
    Status = 0,
});
example, err := cfg.NewDelivery(ctx, "deliveryResource", &cfg.DeliveryArgs{
	DeliveryChannelTargetArn:            pulumi.String("string"),
	DeliveryChannelType:                 pulumi.String("string"),
	ConfigurationItemChangeNotification: pulumi.Bool(false),
	ConfigurationSnapshot:               pulumi.Bool(false),
	DeliveryChannelCondition:            pulumi.String("string"),
	DeliveryChannelName:                 pulumi.String("string"),
	Description:                         pulumi.String("string"),
	NonCompliantNotification:            pulumi.Bool(false),
	OversizedDataOssTargetArn:           pulumi.String("string"),
	Status:                              pulumi.Int(0),
})
var deliveryResource = new Delivery("deliveryResource", DeliveryArgs.builder()
    .deliveryChannelTargetArn("string")
    .deliveryChannelType("string")
    .configurationItemChangeNotification(false)
    .configurationSnapshot(false)
    .deliveryChannelCondition("string")
    .deliveryChannelName("string")
    .description("string")
    .nonCompliantNotification(false)
    .oversizedDataOssTargetArn("string")
    .status(0)
    .build());
delivery_resource = alicloud.cfg.Delivery("deliveryResource",
    delivery_channel_target_arn="string",
    delivery_channel_type="string",
    configuration_item_change_notification=False,
    configuration_snapshot=False,
    delivery_channel_condition="string",
    delivery_channel_name="string",
    description="string",
    non_compliant_notification=False,
    oversized_data_oss_target_arn="string",
    status=0)
const deliveryResource = new alicloud.cfg.Delivery("deliveryResource", {
    deliveryChannelTargetArn: "string",
    deliveryChannelType: "string",
    configurationItemChangeNotification: false,
    configurationSnapshot: false,
    deliveryChannelCondition: "string",
    deliveryChannelName: "string",
    description: "string",
    nonCompliantNotification: false,
    oversizedDataOssTargetArn: "string",
    status: 0,
});
type: alicloud:cfg:Delivery
properties:
    configurationItemChangeNotification: false
    configurationSnapshot: false
    deliveryChannelCondition: string
    deliveryChannelName: string
    deliveryChannelTargetArn: string
    deliveryChannelType: string
    description: string
    nonCompliantNotification: false
    oversizedDataOssTargetArn: string
    status: 0
Delivery 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 Delivery resource accepts the following input properties:
- DeliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- DeliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- ConfigurationItem boolChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- ConfigurationSnapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- DeliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- DeliveryChannel stringName 
- The name of the delivery channel.
- Description string
- The description of the delivery channel.
- NonCompliant boolNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- OversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- Status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- DeliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- DeliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- ConfigurationItem boolChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- ConfigurationSnapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- DeliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- DeliveryChannel stringName 
- The name of the delivery channel.
- Description string
- The description of the delivery channel.
- NonCompliant boolNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- OversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- Status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- deliveryChannel StringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel StringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- configurationItem BooleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot Boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel StringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel StringName 
- The name of the delivery channel.
- description String
- The description of the delivery channel.
- nonCompliant BooleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData StringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status Integer
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- deliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- configurationItem booleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel stringName 
- The name of the delivery channel.
- description string
- The description of the delivery channel.
- nonCompliant booleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status number
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- delivery_channel_ strtarget_ arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- delivery_channel_ strtype 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- configuration_item_ boolchange_ notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configuration_snapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- delivery_channel_ strcondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- delivery_channel_ strname 
- The name of the delivery channel.
- description str
- The description of the delivery channel.
- non_compliant_ boolnotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversized_data_ stross_ target_ arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- deliveryChannel StringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel StringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- configurationItem BooleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot Boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel StringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel StringName 
- The name of the delivery channel.
- description String
- The description of the delivery channel.
- nonCompliant BooleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData StringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status Number
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the Delivery resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Delivery Resource
Get an existing Delivery 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?: DeliveryState, opts?: CustomResourceOptions): Delivery@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration_item_change_notification: Optional[bool] = None,
        configuration_snapshot: Optional[bool] = None,
        delivery_channel_condition: Optional[str] = None,
        delivery_channel_name: Optional[str] = None,
        delivery_channel_target_arn: Optional[str] = None,
        delivery_channel_type: Optional[str] = None,
        description: Optional[str] = None,
        non_compliant_notification: Optional[bool] = None,
        oversized_data_oss_target_arn: Optional[str] = None,
        status: Optional[int] = None) -> Deliveryfunc GetDelivery(ctx *Context, name string, id IDInput, state *DeliveryState, opts ...ResourceOption) (*Delivery, error)public static Delivery Get(string name, Input<string> id, DeliveryState? state, CustomResourceOptions? opts = null)public static Delivery get(String name, Output<String> id, DeliveryState state, CustomResourceOptions options)resources:  _:    type: alicloud:cfg:Delivery    get:      id: ${id}- 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.
- ConfigurationItem boolChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- ConfigurationSnapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- DeliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- DeliveryChannel stringName 
- The name of the delivery channel.
- DeliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- DeliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- Description string
- The description of the delivery channel.
- NonCompliant boolNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- OversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- Status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- ConfigurationItem boolChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- ConfigurationSnapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- DeliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- DeliveryChannel stringName 
- The name of the delivery channel.
- DeliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- DeliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- Description string
- The description of the delivery channel.
- NonCompliant boolNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- OversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- Status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- configurationItem BooleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot Boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel StringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel StringName 
- The name of the delivery channel.
- deliveryChannel StringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel StringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- description String
- The description of the delivery channel.
- nonCompliant BooleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData StringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status Integer
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- configurationItem booleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel stringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel stringName 
- The name of the delivery channel.
- deliveryChannel stringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel stringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- description string
- The description of the delivery channel.
- nonCompliant booleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData stringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status number
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- configuration_item_ boolchange_ notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configuration_snapshot bool
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- delivery_channel_ strcondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- delivery_channel_ strname 
- The name of the delivery channel.
- delivery_channel_ strtarget_ arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- delivery_channel_ strtype 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- description str
- The description of the delivery channel.
- non_compliant_ boolnotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversized_data_ stross_ target_ arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status int
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
- configurationItem BooleanChange Notification 
- Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:- true: The specified destination receives resource change logs.
- false: The specified destination does not receive resource change logs.
 
- configurationSnapshot Boolean
- Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at 04:00Z and 16:00Z to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:- true: The specified destination receives scheduled resource snapshots.
- false: The specified destination does not receive scheduled resource snapshots.
 
- deliveryChannel StringCondition 
- The rule that is attached to the delivery channel. - This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service. - If you specify the risk level or resource types for subscription events, this is as follows: - The lowest risk level of the events to which you want to subscribe is in the following format: {"filterType":"RuleRiskLevel","value":"1","multiple":false}, The value field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level. - The setting of the resource types of the events to which you want to subscribe is in the following format: {"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}, The values field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. - Examples:[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]. 
- deliveryChannel StringName 
- The name of the delivery channel.
- deliveryChannel StringTarget Arn 
- The ARN of the delivery destination.- If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.
- If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.
- If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.
 
- deliveryChannel StringType 
- The type of the delivery channel. Valid values:- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
 
- description String
- The description of the delivery channel.
- nonCompliant BooleanNotification 
- Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:- true: The specified destination receives resource non-compliance events.
- false: The specified destination does not receive resource non-compliance events.
 
- oversizedData StringOss Target Arn 
- The oss ARN of the delivery channel when the value data oversized limit. The value must be in one of the following formats: acs:oss:{RegionId}:{Aliuid}:{bucketName} if your delivery destination is an Object Storage Service (OSS) bucket.
- status Number
- The status of the delivery channel. Valid values:- 0: The delivery channel is disabled.
- 1: The delivery channel is enabled.
 
Import
Config Delivery can be imported using the id, e.g.
$ pulumi import alicloud:cfg/delivery:Delivery example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.