alicloud.cfg.AggregateDelivery
Explore with Pulumi AI
Provides a Config Aggregate Delivery resource.
Delivery channel of aggregator.
For information about Config Aggregate Delivery and how to use it, see What is Aggregate Delivery.
NOTE: Available since v1.172.0.
Create AggregateDelivery Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AggregateDelivery(name: string, args: AggregateDeliveryArgs, opts?: CustomResourceOptions);
@overload
def AggregateDelivery(resource_name: str,
args: AggregateDeliveryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AggregateDelivery(resource_name: str,
opts: Optional[ResourceOptions] = None,
aggregator_id: Optional[str] = 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 NewAggregateDelivery(ctx *Context, name string, args AggregateDeliveryArgs, opts ...ResourceOption) (*AggregateDelivery, error)
public AggregateDelivery(string name, AggregateDeliveryArgs args, CustomResourceOptions? opts = null)
public AggregateDelivery(String name, AggregateDeliveryArgs args)
public AggregateDelivery(String name, AggregateDeliveryArgs args, CustomResourceOptions options)
type: alicloud:cfg:AggregateDelivery
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 AggregateDeliveryArgs
- 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 AggregateDeliveryArgs
- 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 AggregateDeliveryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AggregateDeliveryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AggregateDeliveryArgs
- 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 aggregateDeliveryResource = new AliCloud.Cfg.AggregateDelivery("aggregateDeliveryResource", new()
{
AggregatorId = "string",
DeliveryChannelTargetArn = "string",
DeliveryChannelType = "string",
ConfigurationItemChangeNotification = false,
ConfigurationSnapshot = false,
DeliveryChannelCondition = "string",
DeliveryChannelName = "string",
Description = "string",
NonCompliantNotification = false,
OversizedDataOssTargetArn = "string",
Status = 0,
});
example, err := cfg.NewAggregateDelivery(ctx, "aggregateDeliveryResource", &cfg.AggregateDeliveryArgs{
AggregatorId: pulumi.String("string"),
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 aggregateDeliveryResource = new AggregateDelivery("aggregateDeliveryResource", AggregateDeliveryArgs.builder()
.aggregatorId("string")
.deliveryChannelTargetArn("string")
.deliveryChannelType("string")
.configurationItemChangeNotification(false)
.configurationSnapshot(false)
.deliveryChannelCondition("string")
.deliveryChannelName("string")
.description("string")
.nonCompliantNotification(false)
.oversizedDataOssTargetArn("string")
.status(0)
.build());
aggregate_delivery_resource = alicloud.cfg.AggregateDelivery("aggregateDeliveryResource",
aggregator_id="string",
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 aggregateDeliveryResource = new alicloud.cfg.AggregateDelivery("aggregateDeliveryResource", {
aggregatorId: "string",
deliveryChannelTargetArn: "string",
deliveryChannelType: "string",
configurationItemChangeNotification: false,
configurationSnapshot: false,
deliveryChannelCondition: "string",
deliveryChannelName: "string",
description: "string",
nonCompliantNotification: false,
oversizedDataOssTargetArn: "string",
status: 0,
});
type: alicloud:cfg:AggregateDelivery
properties:
aggregatorId: string
configurationItemChangeNotification: false
configurationSnapshot: false
deliveryChannelCondition: string
deliveryChannelName: string
deliveryChannelTargetArn: string
deliveryChannelType: string
description: string
nonCompliantNotification: false
oversizedDataOssTargetArn: string
status: 0
AggregateDelivery 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 AggregateDelivery resource accepts the following input properties:
- Aggregator
Id string - Aggregator ID.
- Delivery
Channel 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.
- Delivery
Channel stringType - 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 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}].
- Delivery
Channel stringName - The name of the delivery channel.
- Description string
- The description of the delivery method.
- 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 stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- Status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- Aggregator
Id string - Aggregator ID.
- Delivery
Channel 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.
- Delivery
Channel stringType - 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 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}].
- Delivery
Channel stringName - The name of the delivery channel.
- Description string
- The description of the delivery method.
- 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 stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- Status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id String - Aggregator ID.
- delivery
Channel 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.
- delivery
Channel StringType - The type of the delivery channel. Valid values:
- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel StringName - The name of the delivery channel.
- description String
- The description of the delivery method.
- non
Compliant 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.
- oversized
Data StringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status Integer
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id string - Aggregator ID.
- delivery
Channel 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.
- delivery
Channel stringType - The type of the delivery channel. Valid values:
- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel stringName - The name of the delivery channel.
- description string
- The description of the delivery method.
- non
Compliant 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.
- oversized
Data stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status number
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator_
id str - Aggregator ID.
- 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 method.
- 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 ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id String - Aggregator ID.
- delivery
Channel 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.
- delivery
Channel StringType - The type of the delivery channel. Valid values:
- OSS: Object Storage Service (OSS)
- MNS: Message Service (MNS)
- SLS: Log Service
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel StringName - The name of the delivery channel.
- description String
- The description of the delivery method.
- non
Compliant 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.
- oversized
Data StringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status Number
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
Outputs
All input properties are implicitly available as output properties. Additionally, the AggregateDelivery resource produces the following output properties:
- Delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- Id string
- The provider-assigned unique ID for this managed resource.
- Delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- Id string
- The provider-assigned unique ID for this managed resource.
- delivery
Channel StringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- id String
- The provider-assigned unique ID for this managed resource.
- delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- id string
- The provider-assigned unique ID for this managed resource.
- delivery_
channel_ strid - The ID of the delivery method. This parameter is required when you modify a delivery method.
- id str
- The provider-assigned unique ID for this managed resource.
- delivery
Channel StringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AggregateDelivery Resource
Get an existing AggregateDelivery 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?: AggregateDeliveryState, opts?: CustomResourceOptions): AggregateDelivery
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aggregator_id: Optional[str] = None,
configuration_item_change_notification: Optional[bool] = None,
configuration_snapshot: Optional[bool] = None,
delivery_channel_condition: Optional[str] = None,
delivery_channel_id: 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) -> AggregateDelivery
func GetAggregateDelivery(ctx *Context, name string, id IDInput, state *AggregateDeliveryState, opts ...ResourceOption) (*AggregateDelivery, error)
public static AggregateDelivery Get(string name, Input<string> id, AggregateDeliveryState? state, CustomResourceOptions? opts = null)
public static AggregateDelivery get(String name, Output<String> id, AggregateDeliveryState 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.
- Aggregator
Id string - Aggregator ID.
- 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 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}].
- Delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- Delivery
Channel stringName - The name of the delivery channel.
- Delivery
Channel 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.
- Delivery
Channel 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 method.
- 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 stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- Status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- Aggregator
Id string - Aggregator ID.
- 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 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}].
- Delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- Delivery
Channel stringName - The name of the delivery channel.
- Delivery
Channel 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.
- Delivery
Channel 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 method.
- 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 stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- Status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id String - Aggregator ID.
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel StringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- delivery
Channel StringName - The name of the delivery channel.
- delivery
Channel 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.
- delivery
Channel 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 method.
- non
Compliant 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.
- oversized
Data StringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status Integer
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id string - Aggregator ID.
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel stringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- delivery
Channel stringName - The name of the delivery channel.
- delivery
Channel 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.
- delivery
Channel 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 method.
- non
Compliant 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.
- oversized
Data stringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status number
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator_
id str - Aggregator ID.
- 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_ strid - The ID of the delivery method. This parameter is required when you modify a delivery method.
- 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 method.
- 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 ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status int
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
- aggregator
Id String - Aggregator ID.
- configuration
Item 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.
- configuration
Snapshot 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.
- delivery
Channel 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}].
- delivery
Channel StringId - The ID of the delivery method. This parameter is required when you modify a delivery method.
- delivery
Channel StringName - The name of the delivery channel.
- delivery
Channel 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.
- delivery
Channel 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 method.
- non
Compliant 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.
- oversized
Data StringOss Target Arn - The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.
- status Number
- The status of the delivery method. Valid values:
- 0: The delivery method is disabled.
- 1: The delivery destination is enabled. This is the default value.
Import
Config Aggregate Delivery can be imported using the id, e.g.
$ pulumi import alicloud:cfg/aggregateDelivery:AggregateDelivery example <aggregator_id>:<delivery_channel_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
alicloud
Terraform Provider.