Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type AggregateCompliancePack
- type AggregateCompliancePackArgs
- type AggregateCompliancePackArray
- func (AggregateCompliancePackArray) ElementType() reflect.Type
- func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput
- func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput
- type AggregateCompliancePackArrayInput
- type AggregateCompliancePackArrayOutput
- func (AggregateCompliancePackArrayOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackArrayOutput) Index(i pulumi.IntInput) AggregateCompliancePackOutput
- func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput
- func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput
- type AggregateCompliancePackConfigRule
- type AggregateCompliancePackConfigRuleArgs
- func (AggregateCompliancePackConfigRuleArgs) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput
- func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput
- type AggregateCompliancePackConfigRuleArray
- func (AggregateCompliancePackConfigRuleArray) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput
- func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput
- type AggregateCompliancePackConfigRuleArrayInput
- type AggregateCompliancePackConfigRuleArrayOutput
- func (AggregateCompliancePackConfigRuleArrayOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleArrayOutput) Index(i pulumi.IntInput) AggregateCompliancePackConfigRuleOutput
- func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput
- func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput
- type AggregateCompliancePackConfigRuleConfigRuleParameter
- type AggregateCompliancePackConfigRuleConfigRuleParameterArgs
- func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- func (i AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- type AggregateCompliancePackConfigRuleConfigRuleParameterArray
- func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput
- type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) Index(i pulumi.IntInput) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- type AggregateCompliancePackConfigRuleConfigRuleParameterInput
- type AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringPtrOutput
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringPtrOutput
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
- type AggregateCompliancePackConfigRuleId
- type AggregateCompliancePackConfigRuleIdArgs
- func (AggregateCompliancePackConfigRuleIdArgs) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput
- func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput
- type AggregateCompliancePackConfigRuleIdArray
- func (AggregateCompliancePackConfigRuleIdArray) ElementType() reflect.Type
- func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput
- func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput
- type AggregateCompliancePackConfigRuleIdArrayInput
- type AggregateCompliancePackConfigRuleIdArrayOutput
- func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleIdArrayOutput) Index(i pulumi.IntInput) AggregateCompliancePackConfigRuleIdOutput
- func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput
- func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput
- type AggregateCompliancePackConfigRuleIdInput
- type AggregateCompliancePackConfigRuleIdOutput
- func (o AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId() pulumi.StringPtrOutput
- func (AggregateCompliancePackConfigRuleIdOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput
- func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput
- type AggregateCompliancePackConfigRuleInput
- type AggregateCompliancePackConfigRuleOutput
- func (o AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (AggregateCompliancePackConfigRuleOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
- func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput
- func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput
- type AggregateCompliancePackInput
- type AggregateCompliancePackMap
- func (AggregateCompliancePackMap) ElementType() reflect.Type
- func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput
- func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput
- type AggregateCompliancePackMapInput
- type AggregateCompliancePackMapOutput
- func (AggregateCompliancePackMapOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackMapOutput) MapIndex(k pulumi.StringInput) AggregateCompliancePackOutput
- func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput
- func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput
- type AggregateCompliancePackOutput
- func (o AggregateCompliancePackOutput) AggregateCompliancePackName() pulumi.StringOutput
- func (o AggregateCompliancePackOutput) AggregatorId() pulumi.StringOutput
- func (o AggregateCompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput
- func (o AggregateCompliancePackOutput) ConfigRuleIds() AggregateCompliancePackConfigRuleIdArrayOutput
- func (o AggregateCompliancePackOutput) ConfigRules() AggregateCompliancePackConfigRuleArrayOutputdeprecated
- func (o AggregateCompliancePackOutput) Description() pulumi.StringOutput
- func (AggregateCompliancePackOutput) ElementType() reflect.Type
- func (o AggregateCompliancePackOutput) RiskLevel() pulumi.IntOutput
- func (o AggregateCompliancePackOutput) Status() pulumi.StringOutput
- func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput
- func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput
- type AggregateCompliancePackState
- type AggregateConfigRule
- type AggregateConfigRuleArgs
- type AggregateConfigRuleArray
- type AggregateConfigRuleArrayInput
- type AggregateConfigRuleArrayOutput
- func (AggregateConfigRuleArrayOutput) ElementType() reflect.Type
- func (o AggregateConfigRuleArrayOutput) Index(i pulumi.IntInput) AggregateConfigRuleOutput
- func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput
- func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext(ctx context.Context) AggregateConfigRuleArrayOutput
- type AggregateConfigRuleInput
- type AggregateConfigRuleMap
- type AggregateConfigRuleMapInput
- type AggregateConfigRuleMapOutput
- func (AggregateConfigRuleMapOutput) ElementType() reflect.Type
- func (o AggregateConfigRuleMapOutput) MapIndex(k pulumi.StringInput) AggregateConfigRuleOutput
- func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput
- func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext(ctx context.Context) AggregateConfigRuleMapOutput
- type AggregateConfigRuleOutput
- func (o AggregateConfigRuleOutput) AggregateConfigRuleName() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) AggregatorId() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) Description() pulumi.StringPtrOutput
- func (AggregateConfigRuleOutput) ElementType() reflect.Type
- func (o AggregateConfigRuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput
- func (o AggregateConfigRuleOutput) InputParameters() pulumi.MapOutput
- func (o AggregateConfigRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) RegionIdsScope() pulumi.StringPtrOutput
- func (o AggregateConfigRuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput
- func (o AggregateConfigRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
- func (o AggregateConfigRuleOutput) RiskLevel() pulumi.IntOutput
- func (o AggregateConfigRuleOutput) SourceIdentifier() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) SourceOwner() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) Status() pulumi.StringOutput
- func (o AggregateConfigRuleOutput) TagKeyScope() pulumi.StringPtrOutput
- func (o AggregateConfigRuleOutput) TagValueScope() pulumi.StringPtrOutput
- func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput
- func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput
- type AggregateConfigRuleState
- type AggregateDelivery
- type AggregateDeliveryArgs
- type AggregateDeliveryArray
- type AggregateDeliveryArrayInput
- type AggregateDeliveryArrayOutput
- func (AggregateDeliveryArrayOutput) ElementType() reflect.Type
- func (o AggregateDeliveryArrayOutput) Index(i pulumi.IntInput) AggregateDeliveryOutput
- func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput
- func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext(ctx context.Context) AggregateDeliveryArrayOutput
- type AggregateDeliveryInput
- type AggregateDeliveryMap
- type AggregateDeliveryMapInput
- type AggregateDeliveryMapOutput
- func (AggregateDeliveryMapOutput) ElementType() reflect.Type
- func (o AggregateDeliveryMapOutput) MapIndex(k pulumi.StringInput) AggregateDeliveryOutput
- func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput
- func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext(ctx context.Context) AggregateDeliveryMapOutput
- type AggregateDeliveryOutput
- func (o AggregateDeliveryOutput) AggregatorId() pulumi.StringOutput
- func (o AggregateDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
- func (o AggregateDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
- func (o AggregateDeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput
- func (o AggregateDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
- func (o AggregateDeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput
- func (o AggregateDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o AggregateDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
- func (o AggregateDeliveryOutput) Description() pulumi.StringPtrOutput
- func (AggregateDeliveryOutput) ElementType() reflect.Type
- func (o AggregateDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
- func (o AggregateDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput
- func (o AggregateDeliveryOutput) Status() pulumi.IntOutput
- func (o AggregateDeliveryOutput) ToAggregateDeliveryOutput() AggregateDeliveryOutput
- func (o AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput
- type AggregateDeliveryState
- type Aggregator
- type AggregatorAggregatorAccount
- type AggregatorAggregatorAccountArgs
- func (AggregatorAggregatorAccountArgs) ElementType() reflect.Type
- func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput
- func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput
- type AggregatorAggregatorAccountArray
- func (AggregatorAggregatorAccountArray) ElementType() reflect.Type
- func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput
- func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput
- type AggregatorAggregatorAccountArrayInput
- type AggregatorAggregatorAccountArrayOutput
- func (AggregatorAggregatorAccountArrayOutput) ElementType() reflect.Type
- func (o AggregatorAggregatorAccountArrayOutput) Index(i pulumi.IntInput) AggregatorAggregatorAccountOutput
- func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput
- func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput
- type AggregatorAggregatorAccountInput
- type AggregatorAggregatorAccountOutput
- func (o AggregatorAggregatorAccountOutput) AccountId() pulumi.StringOutput
- func (o AggregatorAggregatorAccountOutput) AccountName() pulumi.StringOutput
- func (o AggregatorAggregatorAccountOutput) AccountType() pulumi.StringOutput
- func (AggregatorAggregatorAccountOutput) ElementType() reflect.Type
- func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput
- func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput
- type AggregatorArgs
- type AggregatorArray
- type AggregatorArrayInput
- type AggregatorArrayOutput
- func (AggregatorArrayOutput) ElementType() reflect.Type
- func (o AggregatorArrayOutput) Index(i pulumi.IntInput) AggregatorOutput
- func (o AggregatorArrayOutput) ToAggregatorArrayOutput() AggregatorArrayOutput
- func (o AggregatorArrayOutput) ToAggregatorArrayOutputWithContext(ctx context.Context) AggregatorArrayOutput
- type AggregatorInput
- type AggregatorMap
- type AggregatorMapInput
- type AggregatorMapOutput
- func (AggregatorMapOutput) ElementType() reflect.Type
- func (o AggregatorMapOutput) MapIndex(k pulumi.StringInput) AggregatorOutput
- func (o AggregatorMapOutput) ToAggregatorMapOutput() AggregatorMapOutput
- func (o AggregatorMapOutput) ToAggregatorMapOutputWithContext(ctx context.Context) AggregatorMapOutput
- type AggregatorOutput
- func (o AggregatorOutput) AggregatorAccounts() AggregatorAggregatorAccountArrayOutput
- func (o AggregatorOutput) AggregatorName() pulumi.StringOutput
- func (o AggregatorOutput) AggregatorType() pulumi.StringOutput
- func (o AggregatorOutput) Description() pulumi.StringOutput
- func (AggregatorOutput) ElementType() reflect.Type
- func (o AggregatorOutput) Status() pulumi.StringOutput
- func (o AggregatorOutput) ToAggregatorOutput() AggregatorOutput
- func (o AggregatorOutput) ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput
- type AggregatorState
- type CompliancePack
- type CompliancePackArgs
- type CompliancePackArray
- type CompliancePackArrayInput
- type CompliancePackArrayOutput
- func (CompliancePackArrayOutput) ElementType() reflect.Type
- func (o CompliancePackArrayOutput) Index(i pulumi.IntInput) CompliancePackOutput
- func (o CompliancePackArrayOutput) ToCompliancePackArrayOutput() CompliancePackArrayOutput
- func (o CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext(ctx context.Context) CompliancePackArrayOutput
- type CompliancePackConfigRule
- type CompliancePackConfigRuleArgs
- func (CompliancePackConfigRuleArgs) ElementType() reflect.Type
- func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput
- func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput
- type CompliancePackConfigRuleArray
- func (CompliancePackConfigRuleArray) ElementType() reflect.Type
- func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput
- func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput
- type CompliancePackConfigRuleArrayInput
- type CompliancePackConfigRuleArrayOutput
- func (CompliancePackConfigRuleArrayOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleArrayOutput) Index(i pulumi.IntInput) CompliancePackConfigRuleOutput
- func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput
- func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput
- type CompliancePackConfigRuleConfigRuleParameter
- type CompliancePackConfigRuleConfigRuleParameterArgs
- func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
- func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput
- func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput
- type CompliancePackConfigRuleConfigRuleParameterArray
- func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
- func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput
- type CompliancePackConfigRuleConfigRuleParameterArrayInput
- type CompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) Index(i pulumi.IntInput) CompliancePackConfigRuleConfigRuleParameterOutput
- func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput
- type CompliancePackConfigRuleConfigRuleParameterInput
- type CompliancePackConfigRuleConfigRuleParameterOutput
- func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringPtrOutput
- func (o CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringPtrOutput
- func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput
- func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput
- type CompliancePackConfigRuleId
- type CompliancePackConfigRuleIdArgs
- func (CompliancePackConfigRuleIdArgs) ElementType() reflect.Type
- func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput
- func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput
- type CompliancePackConfigRuleIdArray
- func (CompliancePackConfigRuleIdArray) ElementType() reflect.Type
- func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput
- func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput
- type CompliancePackConfigRuleIdArrayInput
- type CompliancePackConfigRuleIdArrayOutput
- func (CompliancePackConfigRuleIdArrayOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleIdArrayOutput) Index(i pulumi.IntInput) CompliancePackConfigRuleIdOutput
- func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput
- func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput
- type CompliancePackConfigRuleIdInput
- type CompliancePackConfigRuleIdOutput
- func (o CompliancePackConfigRuleIdOutput) ConfigRuleId() pulumi.StringPtrOutput
- func (CompliancePackConfigRuleIdOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput
- func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput
- type CompliancePackConfigRuleInput
- type CompliancePackConfigRuleOutput
- func (o CompliancePackConfigRuleOutput) ConfigRuleParameters() CompliancePackConfigRuleConfigRuleParameterArrayOutput
- func (CompliancePackConfigRuleOutput) ElementType() reflect.Type
- func (o CompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
- func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput
- func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput
- type CompliancePackInput
- type CompliancePackMap
- type CompliancePackMapInput
- type CompliancePackMapOutput
- func (CompliancePackMapOutput) ElementType() reflect.Type
- func (o CompliancePackMapOutput) MapIndex(k pulumi.StringInput) CompliancePackOutput
- func (o CompliancePackMapOutput) ToCompliancePackMapOutput() CompliancePackMapOutput
- func (o CompliancePackMapOutput) ToCompliancePackMapOutputWithContext(ctx context.Context) CompliancePackMapOutput
- type CompliancePackOutput
- func (o CompliancePackOutput) CompliancePackName() pulumi.StringOutput
- func (o CompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput
- func (o CompliancePackOutput) ConfigRuleIds() CompliancePackConfigRuleIdArrayOutput
- func (o CompliancePackOutput) ConfigRules() CompliancePackConfigRuleArrayOutputdeprecated
- func (o CompliancePackOutput) Description() pulumi.StringOutput
- func (CompliancePackOutput) ElementType() reflect.Type
- func (o CompliancePackOutput) RiskLevel() pulumi.IntOutput
- func (o CompliancePackOutput) Status() pulumi.StringOutput
- func (o CompliancePackOutput) ToCompliancePackOutput() CompliancePackOutput
- func (o CompliancePackOutput) ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput
- type CompliancePackState
- type ConfigurationRecorder
- type ConfigurationRecorderArgs
- type ConfigurationRecorderArray
- func (ConfigurationRecorderArray) ElementType() reflect.Type
- func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput
- func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput
- type ConfigurationRecorderArrayInput
- type ConfigurationRecorderArrayOutput
- func (ConfigurationRecorderArrayOutput) ElementType() reflect.Type
- func (o ConfigurationRecorderArrayOutput) Index(i pulumi.IntInput) ConfigurationRecorderOutput
- func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput
- func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput
- type ConfigurationRecorderInput
- type ConfigurationRecorderMap
- type ConfigurationRecorderMapInput
- type ConfigurationRecorderMapOutput
- func (ConfigurationRecorderMapOutput) ElementType() reflect.Type
- func (o ConfigurationRecorderMapOutput) MapIndex(k pulumi.StringInput) ConfigurationRecorderOutput
- func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput
- func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutputWithContext(ctx context.Context) ConfigurationRecorderMapOutput
- type ConfigurationRecorderOutput
- func (ConfigurationRecorderOutput) ElementType() reflect.Type
- func (o ConfigurationRecorderOutput) EnterpriseEdition() pulumi.BoolOutput
- func (o ConfigurationRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput
- func (o ConfigurationRecorderOutput) OrganizationMasterId() pulumi.IntOutput
- func (o ConfigurationRecorderOutput) ResourceTypes() pulumi.StringArrayOutput
- func (o ConfigurationRecorderOutput) Status() pulumi.StringOutput
- func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutput() ConfigurationRecorderOutput
- func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput
- type ConfigurationRecorderState
- type Delivery
- type DeliveryArgs
- type DeliveryArray
- type DeliveryArrayInput
- type DeliveryArrayOutput
- type DeliveryChannel
- type DeliveryChannelArgs
- type DeliveryChannelArray
- type DeliveryChannelArrayInput
- type DeliveryChannelArrayOutput
- func (DeliveryChannelArrayOutput) ElementType() reflect.Type
- func (o DeliveryChannelArrayOutput) Index(i pulumi.IntInput) DeliveryChannelOutput
- func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput
- func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutputWithContext(ctx context.Context) DeliveryChannelArrayOutput
- type DeliveryChannelInput
- type DeliveryChannelMap
- type DeliveryChannelMapInput
- type DeliveryChannelMapOutput
- func (DeliveryChannelMapOutput) ElementType() reflect.Type
- func (o DeliveryChannelMapOutput) MapIndex(k pulumi.StringInput) DeliveryChannelOutput
- func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutput() DeliveryChannelMapOutput
- func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutputWithContext(ctx context.Context) DeliveryChannelMapOutput
- type DeliveryChannelOutput
- func (o DeliveryChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
- func (o DeliveryChannelOutput) DeliveryChannelCondition() pulumi.StringOutput
- func (o DeliveryChannelOutput) DeliveryChannelName() pulumi.StringOutput
- func (o DeliveryChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o DeliveryChannelOutput) DeliveryChannelType() pulumi.StringOutput
- func (o DeliveryChannelOutput) Description() pulumi.StringOutput
- func (DeliveryChannelOutput) ElementType() reflect.Type
- func (o DeliveryChannelOutput) Status() pulumi.IntOutput
- func (o DeliveryChannelOutput) ToDeliveryChannelOutput() DeliveryChannelOutput
- func (o DeliveryChannelOutput) ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput
- type DeliveryChannelState
- type DeliveryInput
- type DeliveryMap
- type DeliveryMapInput
- type DeliveryMapOutput
- type DeliveryOutput
- func (o DeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
- func (o DeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
- func (o DeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput
- func (o DeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput
- func (o DeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o DeliveryOutput) DeliveryChannelType() pulumi.StringOutput
- func (o DeliveryOutput) Description() pulumi.StringPtrOutput
- func (DeliveryOutput) ElementType() reflect.Type
- func (o DeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
- func (o DeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput
- func (o DeliveryOutput) Status() pulumi.IntOutput
- func (o DeliveryOutput) ToDeliveryOutput() DeliveryOutput
- func (o DeliveryOutput) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput
- type DeliveryState
- type GetAggregateCompliancePacksArgs
- type GetAggregateCompliancePacksOutputArgs
- type GetAggregateCompliancePacksPack
- type GetAggregateCompliancePacksPackArgs
- func (GetAggregateCompliancePacksPackArgs) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput
- func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput
- type GetAggregateCompliancePacksPackArray
- func (GetAggregateCompliancePacksPackArray) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput
- func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput
- type GetAggregateCompliancePacksPackArrayInput
- type GetAggregateCompliancePacksPackArrayOutput
- func (GetAggregateCompliancePacksPackArrayOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackArrayOutput) Index(i pulumi.IntInput) GetAggregateCompliancePacksPackOutput
- func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput
- func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput
- type GetAggregateCompliancePacksPackConfigRule
- type GetAggregateCompliancePacksPackConfigRuleArgs
- func (GetAggregateCompliancePacksPackConfigRuleArgs) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput
- func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput
- type GetAggregateCompliancePacksPackConfigRuleArray
- func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput
- func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput
- type GetAggregateCompliancePacksPackConfigRuleArrayInput
- type GetAggregateCompliancePacksPackConfigRuleArrayOutput
- func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) Index(i pulumi.IntInput) GetAggregateCompliancePacksPackConfigRuleOutput
- func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput
- func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs
- func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray
- func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
- func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index(i pulumi.IntInput) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput
- type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required() pulumi.BoolOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
- type GetAggregateCompliancePacksPackConfigRuleInput
- type GetAggregateCompliancePacksPackConfigRuleOutput
- func (o GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput
- func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput
- type GetAggregateCompliancePacksPackInput
- type GetAggregateCompliancePacksPackOutput
- func (o GetAggregateCompliancePacksPackOutput) AccountId() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) ConfigRules() GetAggregateCompliancePacksPackConfigRuleArrayOutput
- func (o GetAggregateCompliancePacksPackOutput) Description() pulumi.StringOutput
- func (GetAggregateCompliancePacksPackOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksPackOutput) Id() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) RiskLevel() pulumi.IntOutput
- func (o GetAggregateCompliancePacksPackOutput) Status() pulumi.StringOutput
- func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput
- func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput
- type GetAggregateCompliancePacksResult
- type GetAggregateCompliancePacksResultOutput
- func (o GetAggregateCompliancePacksResultOutput) AggregatorId() pulumi.StringOutput
- func (GetAggregateCompliancePacksResultOutput) ElementType() reflect.Type
- func (o GetAggregateCompliancePacksResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetAggregateCompliancePacksResultOutput) Id() pulumi.StringOutput
- func (o GetAggregateCompliancePacksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAggregateCompliancePacksResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAggregateCompliancePacksResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAggregateCompliancePacksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAggregateCompliancePacksResultOutput) Packs() GetAggregateCompliancePacksPackArrayOutput
- func (o GetAggregateCompliancePacksResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput() GetAggregateCompliancePacksResultOutput
- func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext(ctx context.Context) GetAggregateCompliancePacksResultOutput
- type GetAggregateConfigRulesArgs
- type GetAggregateConfigRulesOutputArgs
- type GetAggregateConfigRulesResult
- type GetAggregateConfigRulesResultOutput
- func (o GetAggregateConfigRulesResultOutput) AggregateConfigRuleName() pulumi.StringPtrOutput
- func (o GetAggregateConfigRulesResultOutput) AggregatorId() pulumi.StringOutput
- func (GetAggregateConfigRulesResultOutput) ElementType() reflect.Type
- func (o GetAggregateConfigRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetAggregateConfigRulesResultOutput) Id() pulumi.StringOutput
- func (o GetAggregateConfigRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAggregateConfigRulesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAggregateConfigRulesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAggregateConfigRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAggregateConfigRulesResultOutput) RiskLevel() pulumi.IntPtrOutput
- func (o GetAggregateConfigRulesResultOutput) Rules() GetAggregateConfigRulesRuleArrayOutput
- func (o GetAggregateConfigRulesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput() GetAggregateConfigRulesResultOutput
- func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext(ctx context.Context) GetAggregateConfigRulesResultOutput
- type GetAggregateConfigRulesRule
- type GetAggregateConfigRulesRuleArgs
- func (GetAggregateConfigRulesRuleArgs) ElementType() reflect.Type
- func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput
- func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput
- type GetAggregateConfigRulesRuleArray
- func (GetAggregateConfigRulesRuleArray) ElementType() reflect.Type
- func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput
- func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput
- type GetAggregateConfigRulesRuleArrayInput
- type GetAggregateConfigRulesRuleArrayOutput
- func (GetAggregateConfigRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetAggregateConfigRulesRuleArrayOutput) Index(i pulumi.IntInput) GetAggregateConfigRulesRuleOutput
- func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput
- func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput
- type GetAggregateConfigRulesRuleCompliance
- type GetAggregateConfigRulesRuleComplianceArgs
- func (GetAggregateConfigRulesRuleComplianceArgs) ElementType() reflect.Type
- func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput
- func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput
- type GetAggregateConfigRulesRuleComplianceArray
- func (GetAggregateConfigRulesRuleComplianceArray) ElementType() reflect.Type
- func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput
- func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput
- type GetAggregateConfigRulesRuleComplianceArrayInput
- type GetAggregateConfigRulesRuleComplianceArrayOutput
- func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType() reflect.Type
- func (o GetAggregateConfigRulesRuleComplianceArrayOutput) Index(i pulumi.IntInput) GetAggregateConfigRulesRuleComplianceOutput
- func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput
- func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput
- type GetAggregateConfigRulesRuleComplianceInput
- type GetAggregateConfigRulesRuleComplianceOutput
- func (o GetAggregateConfigRulesRuleComplianceOutput) ComplianceType() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleComplianceOutput) Count() pulumi.IntOutput
- func (GetAggregateConfigRulesRuleComplianceOutput) ElementType() reflect.Type
- func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput
- func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput
- type GetAggregateConfigRulesRuleInput
- type GetAggregateConfigRulesRuleOutput
- func (o GetAggregateConfigRulesRuleOutput) AccountId() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) AggregatorId() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) CompliancePackId() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) Compliances() GetAggregateConfigRulesRuleComplianceArrayOutput
- func (o GetAggregateConfigRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ConfigRuleId() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) Description() pulumi.StringOutput
- func (GetAggregateConfigRulesRuleOutput) ElementType() reflect.Type
- func (o GetAggregateConfigRulesRuleOutput) EventSource() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) InputParameters() pulumi.MapOutput
- func (o GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) RegionIdsScope() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
- func (o GetAggregateConfigRulesRuleOutput) RiskLevel() pulumi.IntOutput
- func (o GetAggregateConfigRulesRuleOutput) SourceIdentifier() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) SourceOwner() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) Status() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) TagKeyScope() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) TagValueScope() pulumi.StringOutput
- func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput
- func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput
- type GetAggregateDeliveriesArgs
- type GetAggregateDeliveriesDelivery
- type GetAggregateDeliveriesDeliveryArgs
- func (GetAggregateDeliveriesDeliveryArgs) ElementType() reflect.Type
- func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput
- func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput
- type GetAggregateDeliveriesDeliveryArray
- func (GetAggregateDeliveriesDeliveryArray) ElementType() reflect.Type
- func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput
- func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput
- type GetAggregateDeliveriesDeliveryArrayInput
- type GetAggregateDeliveriesDeliveryArrayOutput
- func (GetAggregateDeliveriesDeliveryArrayOutput) ElementType() reflect.Type
- func (o GetAggregateDeliveriesDeliveryArrayOutput) Index(i pulumi.IntInput) GetAggregateDeliveriesDeliveryOutput
- func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput
- func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput
- type GetAggregateDeliveriesDeliveryInput
- type GetAggregateDeliveriesDeliveryOutput
- func (o GetAggregateDeliveriesDeliveryOutput) AccountId() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) AggregatorId() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
- func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) Description() pulumi.StringOutput
- func (GetAggregateDeliveriesDeliveryOutput) ElementType() reflect.Type
- func (o GetAggregateDeliveriesDeliveryOutput) Id() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
- func (o GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput
- func (o GetAggregateDeliveriesDeliveryOutput) Status() pulumi.IntOutput
- func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput
- func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput
- type GetAggregateDeliveriesOutputArgs
- type GetAggregateDeliveriesResult
- type GetAggregateDeliveriesResultOutput
- func (o GetAggregateDeliveriesResultOutput) AggregatorId() pulumi.StringOutput
- func (o GetAggregateDeliveriesResultOutput) Deliveries() GetAggregateDeliveriesDeliveryArrayOutput
- func (GetAggregateDeliveriesResultOutput) ElementType() reflect.Type
- func (o GetAggregateDeliveriesResultOutput) Id() pulumi.StringOutput
- func (o GetAggregateDeliveriesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAggregateDeliveriesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAggregateDeliveriesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAggregateDeliveriesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAggregateDeliveriesResultOutput) Status() pulumi.IntPtrOutput
- func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput() GetAggregateDeliveriesResultOutput
- func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext(ctx context.Context) GetAggregateDeliveriesResultOutput
- type GetAggregatorsAggregator
- type GetAggregatorsAggregatorAggregatorAccount
- type GetAggregatorsAggregatorAggregatorAccountArgs
- func (GetAggregatorsAggregatorAggregatorAccountArgs) ElementType() reflect.Type
- func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput
- func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput
- type GetAggregatorsAggregatorAggregatorAccountArray
- func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType() reflect.Type
- func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput
- func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput
- type GetAggregatorsAggregatorAggregatorAccountArrayInput
- type GetAggregatorsAggregatorAggregatorAccountArrayOutput
- func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType() reflect.Type
- func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) Index(i pulumi.IntInput) GetAggregatorsAggregatorAggregatorAccountOutput
- func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput
- func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput
- type GetAggregatorsAggregatorAggregatorAccountInput
- type GetAggregatorsAggregatorAggregatorAccountOutput
- func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountId() pulumi.StringOutput
- func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountName() pulumi.StringOutput
- func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountType() pulumi.StringOutput
- func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType() reflect.Type
- func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput
- func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput
- type GetAggregatorsAggregatorArgs
- func (GetAggregatorsAggregatorArgs) ElementType() reflect.Type
- func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput
- func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput
- type GetAggregatorsAggregatorArray
- func (GetAggregatorsAggregatorArray) ElementType() reflect.Type
- func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput
- func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput
- type GetAggregatorsAggregatorArrayInput
- type GetAggregatorsAggregatorArrayOutput
- func (GetAggregatorsAggregatorArrayOutput) ElementType() reflect.Type
- func (o GetAggregatorsAggregatorArrayOutput) Index(i pulumi.IntInput) GetAggregatorsAggregatorOutput
- func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput
- func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput
- type GetAggregatorsAggregatorInput
- type GetAggregatorsAggregatorOutput
- func (o GetAggregatorsAggregatorOutput) AccountId() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) AggregatorAccounts() GetAggregatorsAggregatorAggregatorAccountArrayOutput
- func (o GetAggregatorsAggregatorOutput) AggregatorId() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) AggregatorName() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) AggregatorType() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) Description() pulumi.StringOutput
- func (GetAggregatorsAggregatorOutput) ElementType() reflect.Type
- func (o GetAggregatorsAggregatorOutput) Id() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) Status() pulumi.StringOutput
- func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput
- func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput
- type GetAggregatorsArgs
- type GetAggregatorsOutputArgs
- type GetAggregatorsResult
- type GetAggregatorsResultOutput
- func (o GetAggregatorsResultOutput) Aggregators() GetAggregatorsAggregatorArrayOutput
- func (GetAggregatorsResultOutput) ElementType() reflect.Type
- func (o GetAggregatorsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetAggregatorsResultOutput) Id() pulumi.StringOutput
- func (o GetAggregatorsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAggregatorsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAggregatorsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAggregatorsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAggregatorsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutput() GetAggregatorsResultOutput
- func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext(ctx context.Context) GetAggregatorsResultOutput
- type GetCompliancePacksArgs
- type GetCompliancePacksOutputArgs
- type GetCompliancePacksPack
- type GetCompliancePacksPackArgs
- type GetCompliancePacksPackArray
- func (GetCompliancePacksPackArray) ElementType() reflect.Type
- func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput
- func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput
- type GetCompliancePacksPackArrayInput
- type GetCompliancePacksPackArrayOutput
- func (GetCompliancePacksPackArrayOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackArrayOutput) Index(i pulumi.IntInput) GetCompliancePacksPackOutput
- func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput
- func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput
- type GetCompliancePacksPackConfigRule
- type GetCompliancePacksPackConfigRuleArgs
- func (GetCompliancePacksPackConfigRuleArgs) ElementType() reflect.Type
- func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput
- func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput
- type GetCompliancePacksPackConfigRuleArray
- func (GetCompliancePacksPackConfigRuleArray) ElementType() reflect.Type
- func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput
- func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput
- type GetCompliancePacksPackConfigRuleArrayInput
- type GetCompliancePacksPackConfigRuleArrayOutput
- func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackConfigRuleArrayOutput) Index(i pulumi.IntInput) GetCompliancePacksPackConfigRuleOutput
- func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput
- func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput
- type GetCompliancePacksPackConfigRuleConfigRuleParameter
- type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs
- func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
- func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- type GetCompliancePacksPackConfigRuleConfigRuleParameterArray
- func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
- func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput
- type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index(i pulumi.IntInput) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- type GetCompliancePacksPackConfigRuleConfigRuleParameterInput
- type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required() pulumi.BoolOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
- type GetCompliancePacksPackConfigRuleInput
- type GetCompliancePacksPackConfigRuleOutput
- func (o GetCompliancePacksPackConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
- func (o GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
- func (GetCompliancePacksPackConfigRuleOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
- func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput
- func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput
- type GetCompliancePacksPackInput
- type GetCompliancePacksPackOutput
- func (o GetCompliancePacksPackOutput) AccountId() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) CompliancePackId() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) CompliancePackName() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) ConfigRules() GetCompliancePacksPackConfigRuleArrayOutput
- func (o GetCompliancePacksPackOutput) Description() pulumi.StringOutput
- func (GetCompliancePacksPackOutput) ElementType() reflect.Type
- func (o GetCompliancePacksPackOutput) Id() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) RiskLevel() pulumi.IntOutput
- func (o GetCompliancePacksPackOutput) Status() pulumi.StringOutput
- func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput
- func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext(ctx context.Context) GetCompliancePacksPackOutput
- type GetCompliancePacksResult
- type GetCompliancePacksResultOutput
- func (GetCompliancePacksResultOutput) ElementType() reflect.Type
- func (o GetCompliancePacksResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetCompliancePacksResultOutput) Id() pulumi.StringOutput
- func (o GetCompliancePacksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetCompliancePacksResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetCompliancePacksResultOutput) Names() pulumi.StringArrayOutput
- func (o GetCompliancePacksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetCompliancePacksResultOutput) Packs() GetCompliancePacksPackArrayOutput
- func (o GetCompliancePacksResultOutput) Status() pulumi.StringPtrOutput
- func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput() GetCompliancePacksResultOutput
- func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext(ctx context.Context) GetCompliancePacksResultOutput
- type GetConfigurationRecordersArgs
- type GetConfigurationRecordersOutputArgs
- type GetConfigurationRecordersRecorder
- type GetConfigurationRecordersRecorderArgs
- func (GetConfigurationRecordersRecorderArgs) ElementType() reflect.Type
- func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput
- func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput
- type GetConfigurationRecordersRecorderArray
- func (GetConfigurationRecordersRecorderArray) ElementType() reflect.Type
- func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput
- func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput
- type GetConfigurationRecordersRecorderArrayInput
- type GetConfigurationRecordersRecorderArrayOutput
- func (GetConfigurationRecordersRecorderArrayOutput) ElementType() reflect.Type
- func (o GetConfigurationRecordersRecorderArrayOutput) Index(i pulumi.IntInput) GetConfigurationRecordersRecorderOutput
- func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput
- func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput
- type GetConfigurationRecordersRecorderInput
- type GetConfigurationRecordersRecorderOutput
- func (o GetConfigurationRecordersRecorderOutput) AccountId() pulumi.StringOutput
- func (GetConfigurationRecordersRecorderOutput) ElementType() reflect.Type
- func (o GetConfigurationRecordersRecorderOutput) Id() pulumi.StringOutput
- func (o GetConfigurationRecordersRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput
- func (o GetConfigurationRecordersRecorderOutput) OrganizationMasterId() pulumi.IntOutput
- func (o GetConfigurationRecordersRecorderOutput) ResourceTypes() pulumi.StringArrayOutput
- func (o GetConfigurationRecordersRecorderOutput) Status() pulumi.StringOutput
- func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput
- func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput
- type GetConfigurationRecordersResult
- type GetConfigurationRecordersResultOutput
- func (GetConfigurationRecordersResultOutput) ElementType() reflect.Type
- func (o GetConfigurationRecordersResultOutput) Id() pulumi.StringOutput
- func (o GetConfigurationRecordersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetConfigurationRecordersResultOutput) Recorders() GetConfigurationRecordersRecorderArrayOutput
- func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput() GetConfigurationRecordersResultOutput
- func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext(ctx context.Context) GetConfigurationRecordersResultOutput
- type GetDeliveriesArgs
- type GetDeliveriesDelivery
- type GetDeliveriesDeliveryArgs
- type GetDeliveriesDeliveryArray
- func (GetDeliveriesDeliveryArray) ElementType() reflect.Type
- func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput
- func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput
- type GetDeliveriesDeliveryArrayInput
- type GetDeliveriesDeliveryArrayOutput
- func (GetDeliveriesDeliveryArrayOutput) ElementType() reflect.Type
- func (o GetDeliveriesDeliveryArrayOutput) Index(i pulumi.IntInput) GetDeliveriesDeliveryOutput
- func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput
- func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput
- type GetDeliveriesDeliveryInput
- type GetDeliveriesDeliveryOutput
- func (o GetDeliveriesDeliveryOutput) AccountId() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
- func (o GetDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) Description() pulumi.StringOutput
- func (GetDeliveriesDeliveryOutput) ElementType() reflect.Type
- func (o GetDeliveriesDeliveryOutput) Id() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
- func (o GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput
- func (o GetDeliveriesDeliveryOutput) Status() pulumi.IntOutput
- func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput
- func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext(ctx context.Context) GetDeliveriesDeliveryOutput
- type GetDeliveriesOutputArgs
- type GetDeliveriesResult
- type GetDeliveriesResultOutput
- func (o GetDeliveriesResultOutput) Deliveries() GetDeliveriesDeliveryArrayOutput
- func (GetDeliveriesResultOutput) ElementType() reflect.Type
- func (o GetDeliveriesResultOutput) Id() pulumi.StringOutput
- func (o GetDeliveriesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDeliveriesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDeliveriesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDeliveriesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDeliveriesResultOutput) Status() pulumi.IntPtrOutput
- func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutput() GetDeliveriesResultOutput
- func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext(ctx context.Context) GetDeliveriesResultOutput
- type GetDeliveryChannelsArgs
- type GetDeliveryChannelsChannel
- type GetDeliveryChannelsChannelArgs
- func (GetDeliveryChannelsChannelArgs) ElementType() reflect.Type
- func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput
- func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput
- type GetDeliveryChannelsChannelArray
- func (GetDeliveryChannelsChannelArray) ElementType() reflect.Type
- func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput
- func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput
- type GetDeliveryChannelsChannelArrayInput
- type GetDeliveryChannelsChannelArrayOutput
- func (GetDeliveryChannelsChannelArrayOutput) ElementType() reflect.Type
- func (o GetDeliveryChannelsChannelArrayOutput) Index(i pulumi.IntInput) GetDeliveryChannelsChannelOutput
- func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput
- func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput
- type GetDeliveryChannelsChannelInput
- type GetDeliveryChannelsChannelOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelCondition() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelId() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelName() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) DeliveryChannelType() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) Description() pulumi.StringOutput
- func (GetDeliveryChannelsChannelOutput) ElementType() reflect.Type
- func (o GetDeliveryChannelsChannelOutput) Id() pulumi.StringOutput
- func (o GetDeliveryChannelsChannelOutput) Status() pulumi.IntOutput
- func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput
- func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput
- type GetDeliveryChannelsOutputArgs
- type GetDeliveryChannelsResult
- type GetDeliveryChannelsResultOutput
- func (o GetDeliveryChannelsResultOutput) Channels() GetDeliveryChannelsChannelArrayOutput
- func (GetDeliveryChannelsResultOutput) ElementType() reflect.Type
- func (o GetDeliveryChannelsResultOutput) Id() pulumi.StringOutput
- func (o GetDeliveryChannelsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDeliveryChannelsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDeliveryChannelsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDeliveryChannelsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDeliveryChannelsResultOutput) Status() pulumi.IntPtrOutput
- func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput() GetDeliveryChannelsResultOutput
- func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext(ctx context.Context) GetDeliveryChannelsResultOutput
- type GetRulesArgs
- type GetRulesOutputArgs
- type GetRulesResult
- type GetRulesResultOutput
- func (o GetRulesResultOutput) ConfigRuleState() pulumi.StringPtrOutputdeprecated
- func (GetRulesResultOutput) ElementType() reflect.Type
- func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetRulesResultOutput) Id() pulumi.StringOutput
- func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) RiskLevel() pulumi.IntPtrOutput
- func (o GetRulesResultOutput) RuleName() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
- func (o GetRulesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
- type GetRulesRule
- type GetRulesRuleArgs
- type GetRulesRuleArray
- type GetRulesRuleArrayInput
- type GetRulesRuleArrayOutput
- func (GetRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
- type GetRulesRuleCompliance
- type GetRulesRuleComplianceArgs
- type GetRulesRuleComplianceArray
- func (GetRulesRuleComplianceArray) ElementType() reflect.Type
- func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput
- func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput
- type GetRulesRuleComplianceArrayInput
- type GetRulesRuleComplianceArrayOutput
- func (GetRulesRuleComplianceArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleComplianceArrayOutput) Index(i pulumi.IntInput) GetRulesRuleComplianceOutput
- func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput
- func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput
- type GetRulesRuleComplianceInput
- type GetRulesRuleComplianceOutput
- func (o GetRulesRuleComplianceOutput) ComplianceType() pulumi.StringOutput
- func (o GetRulesRuleComplianceOutput) Count() pulumi.IntOutput
- func (GetRulesRuleComplianceOutput) ElementType() reflect.Type
- func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput
- func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutputWithContext(ctx context.Context) GetRulesRuleComplianceOutput
- type GetRulesRuleInput
- type GetRulesRuleOutput
- func (o GetRulesRuleOutput) AccountId() pulumi.StringOutput
- func (o GetRulesRuleOutput) CompliancePackId() pulumi.StringOutput
- func (o GetRulesRuleOutput) Compliances() GetRulesRuleComplianceArrayOutput
- func (o GetRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput
- func (o GetRulesRuleOutput) ConfigRuleId() pulumi.StringOutput
- func (o GetRulesRuleOutput) ConfigRuleState() pulumi.StringOutput
- func (o GetRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
- func (o GetRulesRuleOutput) Description() pulumi.StringOutput
- func (GetRulesRuleOutput) ElementType() reflect.Type
- func (o GetRulesRuleOutput) EventSource() pulumi.StringOutput
- func (o GetRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput
- func (o GetRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetRulesRuleOutput) InputParameters() pulumi.MapOutput
- func (o GetRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
- func (o GetRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput
- func (o GetRulesRuleOutput) RegionIdsScope() pulumi.StringOutput
- func (o GetRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput
- func (o GetRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
- func (o GetRulesRuleOutput) RiskLevel() pulumi.IntOutput
- func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
- func (o GetRulesRuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput
- func (o GetRulesRuleOutput) SourceDetailMessageType() pulumi.StringOutput
- func (o GetRulesRuleOutput) SourceIdentifier() pulumi.StringOutput
- func (o GetRulesRuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput
- func (o GetRulesRuleOutput) SourceOwner() pulumi.StringOutput
- func (o GetRulesRuleOutput) Status() pulumi.StringOutput
- func (o GetRulesRuleOutput) TagKeyScope() pulumi.StringOutput
- func (o GetRulesRuleOutput) TagValueScope() pulumi.StringOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
- func (o RuleOutput) Description() pulumi.StringPtrOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput
- func (o RuleOutput) InputParameters() pulumi.MapOutput
- func (o RuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
- func (o RuleOutput) RegionIdsScope() pulumi.StringPtrOutput
- func (o RuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput
- func (o RuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
- func (o RuleOutput) RiskLevel() pulumi.IntOutput
- func (o RuleOutput) RuleName() pulumi.StringOutput
- func (o RuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutputdeprecated
- func (o RuleOutput) SourceDetailMessageType() pulumi.StringOutputdeprecated
- func (o RuleOutput) SourceIdentifier() pulumi.StringOutput
- func (o RuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutputdeprecated
- func (o RuleOutput) SourceOwner() pulumi.StringOutput
- func (o RuleOutput) Status() pulumi.StringOutput
- func (o RuleOutput) TagKeyScope() pulumi.StringPtrOutput
- func (o RuleOutput) TagValueScope() pulumi.StringPtrOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type AggregateCompliancePack ¶
type AggregateCompliancePack struct { pulumi.CustomResourceState // The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0. AggregateCompliancePackName pulumi.StringOutput `pulumi:"aggregateCompliancePackName"` // The ID of aggregator. AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"` // The Template ID of compliance package. CompliancePackTemplateId pulumi.StringPtrOutput `pulumi:"compliancePackTemplateId"` // A list of Config Rule IDs. ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"` // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules AggregateCompliancePackConfigRuleArrayOutput `pulumi:"configRules"` // The description of compliance package. Description pulumi.StringOutput `pulumi:"description"` // The Risk Level. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntOutput `pulumi:"riskLevel"` // The status of the resource. The valid values: `CREATING`, `ACTIVE`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Cloud Config Aggregate Compliance Pack resource.
For information about Cloud Config Aggregate Compliance Pack and how to use it, see [What is Aggregate Compliance Pack](https://www.alibabacloud.com/help/en/doc-detail/194753.html).
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "example_name" if param := cfg.Get("name"); param != "" { name = param } defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } defaultInstances, err := ecs.GetInstances(ctx, nil, nil) if err != nil { return err } defaultAggregator, err := cfg.NewAggregator(ctx, "defaultAggregator", &cfg.AggregatorArgs{ AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{ &cfg.AggregatorAggregatorAccountArgs{ AccountId: pulumi.String("140278452670****"), AccountName: pulumi.String("test-2"), AccountType: pulumi.String("ResourceDirectory"), }, }, AggregatorName: pulumi.String("tf-testaccaggregator"), Description: pulumi.String("tf-testaccaggregator"), }) if err != nil { return err } defaultAggregateConfigRule, err := cfg.NewAggregateConfigRule(ctx, "defaultAggregateConfigRule", &cfg.AggregateConfigRuleArgs{ AggregatorId: defaultAggregator.ID(), AggregateConfigRuleName: pulumi.String(name), SourceOwner: pulumi.String("ALIYUN"), SourceIdentifier: pulumi.String("ecs-cpu-min-count-limit"), ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"), ResourceTypesScopes: pulumi.StringArray{ pulumi.String("ACS::ECS::Instance"), }, RiskLevel: pulumi.Int(1), Description: pulumi.String(name), ExcludeResourceIdsScope: pulumi.String(defaultInstances.Ids[0]), InputParameters: pulumi.AnyMap{ "cpuCount": pulumi.Any("4"), }, RegionIdsScope: pulumi.String("cn-hangzhou"), ResourceGroupIdsScope: pulumi.String(defaultResourceGroups.Ids[0]), TagKeyScope: pulumi.String("tFTest"), TagValueScope: pulumi.String("forTF 123"), }) if err != nil { return err } _, err = cfg.NewAggregateCompliancePack(ctx, "defaultAggregateCompliancePack", &cfg.AggregateCompliancePackArgs{ AggregateCompliancePackName: pulumi.String("tf-testaccConfig1234"), AggregatorId: defaultAggregator.ID(), Description: pulumi.String("tf-testaccConfig1234"), RiskLevel: pulumi.Int(1), ConfigRuleIds: cfg.AggregateCompliancePackConfigRuleIdArray{ &cfg.AggregateCompliancePackConfigRuleIdArgs{ ConfigRuleId: defaultAggregateConfigRule.ConfigRuleId, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cloud Config Aggregate Compliance Pack can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/aggregateCompliancePack:AggregateCompliancePack example <aggregator_id>:<aggregator_compliance_pack_id>
```
func GetAggregateCompliancePack ¶
func GetAggregateCompliancePack(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AggregateCompliancePackState, opts ...pulumi.ResourceOption) (*AggregateCompliancePack, error)
GetAggregateCompliancePack gets an existing AggregateCompliancePack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAggregateCompliancePack ¶
func NewAggregateCompliancePack(ctx *pulumi.Context, name string, args *AggregateCompliancePackArgs, opts ...pulumi.ResourceOption) (*AggregateCompliancePack, error)
NewAggregateCompliancePack registers a new resource with the given unique name, arguments, and options.
func (*AggregateCompliancePack) ElementType ¶
func (*AggregateCompliancePack) ElementType() reflect.Type
func (*AggregateCompliancePack) ToAggregateCompliancePackOutput ¶
func (i *AggregateCompliancePack) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput
func (*AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext ¶
func (i *AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput
type AggregateCompliancePackArgs ¶
type AggregateCompliancePackArgs struct { // The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0. AggregateCompliancePackName pulumi.StringInput // The ID of aggregator. AggregatorId pulumi.StringInput // The Template ID of compliance package. CompliancePackTemplateId pulumi.StringPtrInput // A list of Config Rule IDs. ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules AggregateCompliancePackConfigRuleArrayInput // The description of compliance package. Description pulumi.StringInput // The Risk Level. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntInput }
The set of arguments for constructing a AggregateCompliancePack resource.
func (AggregateCompliancePackArgs) ElementType ¶
func (AggregateCompliancePackArgs) ElementType() reflect.Type
type AggregateCompliancePackArray ¶
type AggregateCompliancePackArray []AggregateCompliancePackInput
func (AggregateCompliancePackArray) ElementType ¶
func (AggregateCompliancePackArray) ElementType() reflect.Type
func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput ¶
func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput
func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext ¶
func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput
type AggregateCompliancePackArrayInput ¶
type AggregateCompliancePackArrayInput interface { pulumi.Input ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput ToAggregateCompliancePackArrayOutputWithContext(context.Context) AggregateCompliancePackArrayOutput }
AggregateCompliancePackArrayInput is an input type that accepts AggregateCompliancePackArray and AggregateCompliancePackArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackArrayInput` via:
AggregateCompliancePackArray{ AggregateCompliancePackArgs{...} }
type AggregateCompliancePackArrayOutput ¶
type AggregateCompliancePackArrayOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackArrayOutput) ElementType ¶
func (AggregateCompliancePackArrayOutput) ElementType() reflect.Type
func (AggregateCompliancePackArrayOutput) Index ¶
func (o AggregateCompliancePackArrayOutput) Index(i pulumi.IntInput) AggregateCompliancePackOutput
func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput ¶
func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput
func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext ¶
func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput
type AggregateCompliancePackConfigRule ¶
type AggregateCompliancePackConfigRule struct { // A list of parameter rules. ConfigRuleParameters []AggregateCompliancePackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"` // The Managed Rule Identifier. ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"` }
type AggregateCompliancePackConfigRuleArgs ¶
type AggregateCompliancePackConfigRuleArgs struct { // A list of parameter rules. ConfigRuleParameters AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"` // The Managed Rule Identifier. ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"` }
func (AggregateCompliancePackConfigRuleArgs) ElementType ¶
func (AggregateCompliancePackConfigRuleArgs) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput ¶
func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput
func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput
type AggregateCompliancePackConfigRuleArray ¶
type AggregateCompliancePackConfigRuleArray []AggregateCompliancePackConfigRuleInput
func (AggregateCompliancePackConfigRuleArray) ElementType ¶
func (AggregateCompliancePackConfigRuleArray) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput ¶
func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput
func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput
type AggregateCompliancePackConfigRuleArrayInput ¶
type AggregateCompliancePackConfigRuleArrayInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput ToAggregateCompliancePackConfigRuleArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleArrayOutput }
AggregateCompliancePackConfigRuleArrayInput is an input type that accepts AggregateCompliancePackConfigRuleArray and AggregateCompliancePackConfigRuleArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleArrayInput` via:
AggregateCompliancePackConfigRuleArray{ AggregateCompliancePackConfigRuleArgs{...} }
type AggregateCompliancePackConfigRuleArrayOutput ¶
type AggregateCompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleArrayOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleArrayOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput ¶
func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput
func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput
type AggregateCompliancePackConfigRuleConfigRuleParameterArgs ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterArgs struct { // The Parameter Name. ParameterName pulumi.StringPtrInput `pulumi:"parameterName"` // The Parameter Value. ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"` }
func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType ¶
func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput ¶
func (i AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput
func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
type AggregateCompliancePackConfigRuleConfigRuleParameterArray ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterArray []AggregateCompliancePackConfigRuleConfigRuleParameterInput
func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType ¶
func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput }
AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput is an input type that accepts AggregateCompliancePackConfigRuleConfigRuleParameterArray and AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput` via:
AggregateCompliancePackConfigRuleConfigRuleParameterArray{ AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...} }
type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
type AggregateCompliancePackConfigRuleConfigRuleParameterInput ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput }
AggregateCompliancePackConfigRuleConfigRuleParameterInput is an input type that accepts AggregateCompliancePackConfigRuleConfigRuleParameterArgs and AggregateCompliancePackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleConfigRuleParameterInput` via:
AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...}
type AggregateCompliancePackConfigRuleConfigRuleParameterOutput ¶
type AggregateCompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringPtrOutput
The Parameter Name.
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringPtrOutput
The Parameter Value.
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput
func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
type AggregateCompliancePackConfigRuleId ¶
type AggregateCompliancePackConfigRuleId struct { // The rule ID of Aggregate Config Rule. ConfigRuleId *string `pulumi:"configRuleId"` }
type AggregateCompliancePackConfigRuleIdArgs ¶
type AggregateCompliancePackConfigRuleIdArgs struct { // The rule ID of Aggregate Config Rule. ConfigRuleId pulumi.StringPtrInput `pulumi:"configRuleId"` }
func (AggregateCompliancePackConfigRuleIdArgs) ElementType ¶
func (AggregateCompliancePackConfigRuleIdArgs) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput ¶
func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput
func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput
type AggregateCompliancePackConfigRuleIdArray ¶
type AggregateCompliancePackConfigRuleIdArray []AggregateCompliancePackConfigRuleIdInput
func (AggregateCompliancePackConfigRuleIdArray) ElementType ¶
func (AggregateCompliancePackConfigRuleIdArray) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput ¶
func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput
func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext ¶
func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput
type AggregateCompliancePackConfigRuleIdArrayInput ¶
type AggregateCompliancePackConfigRuleIdArrayInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleIdArrayOutput }
AggregateCompliancePackConfigRuleIdArrayInput is an input type that accepts AggregateCompliancePackConfigRuleIdArray and AggregateCompliancePackConfigRuleIdArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleIdArrayInput` via:
AggregateCompliancePackConfigRuleIdArray{ AggregateCompliancePackConfigRuleIdArgs{...} }
type AggregateCompliancePackConfigRuleIdArrayOutput ¶
type AggregateCompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput ¶
func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput
func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput
type AggregateCompliancePackConfigRuleIdInput ¶
type AggregateCompliancePackConfigRuleIdInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput ToAggregateCompliancePackConfigRuleIdOutputWithContext(context.Context) AggregateCompliancePackConfigRuleIdOutput }
AggregateCompliancePackConfigRuleIdInput is an input type that accepts AggregateCompliancePackConfigRuleIdArgs and AggregateCompliancePackConfigRuleIdOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleIdInput` via:
AggregateCompliancePackConfigRuleIdArgs{...}
type AggregateCompliancePackConfigRuleIdOutput ¶
type AggregateCompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId ¶
func (o AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId() pulumi.StringPtrOutput
The rule ID of Aggregate Config Rule.
func (AggregateCompliancePackConfigRuleIdOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleIdOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput ¶
func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput
func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput
type AggregateCompliancePackConfigRuleInput ¶
type AggregateCompliancePackConfigRuleInput interface { pulumi.Input ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput ToAggregateCompliancePackConfigRuleOutputWithContext(context.Context) AggregateCompliancePackConfigRuleOutput }
AggregateCompliancePackConfigRuleInput is an input type that accepts AggregateCompliancePackConfigRuleArgs and AggregateCompliancePackConfigRuleOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleInput` via:
AggregateCompliancePackConfigRuleArgs{...}
type AggregateCompliancePackConfigRuleOutput ¶
type AggregateCompliancePackConfigRuleOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters ¶
func (o AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
A list of parameter rules.
func (AggregateCompliancePackConfigRuleOutput) ElementType ¶
func (AggregateCompliancePackConfigRuleOutput) ElementType() reflect.Type
func (AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier ¶
func (o AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
The Managed Rule Identifier.
func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput ¶
func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput
func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext ¶
func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput
type AggregateCompliancePackInput ¶
type AggregateCompliancePackInput interface { pulumi.Input ToAggregateCompliancePackOutput() AggregateCompliancePackOutput ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput }
type AggregateCompliancePackMap ¶
type AggregateCompliancePackMap map[string]AggregateCompliancePackInput
func (AggregateCompliancePackMap) ElementType ¶
func (AggregateCompliancePackMap) ElementType() reflect.Type
func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput ¶
func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput
func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext ¶
func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput
type AggregateCompliancePackMapInput ¶
type AggregateCompliancePackMapInput interface { pulumi.Input ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput ToAggregateCompliancePackMapOutputWithContext(context.Context) AggregateCompliancePackMapOutput }
AggregateCompliancePackMapInput is an input type that accepts AggregateCompliancePackMap and AggregateCompliancePackMapOutput values. You can construct a concrete instance of `AggregateCompliancePackMapInput` via:
AggregateCompliancePackMap{ "key": AggregateCompliancePackArgs{...} }
type AggregateCompliancePackMapOutput ¶
type AggregateCompliancePackMapOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackMapOutput) ElementType ¶
func (AggregateCompliancePackMapOutput) ElementType() reflect.Type
func (AggregateCompliancePackMapOutput) MapIndex ¶
func (o AggregateCompliancePackMapOutput) MapIndex(k pulumi.StringInput) AggregateCompliancePackOutput
func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput ¶
func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput
func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext ¶
func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput
type AggregateCompliancePackOutput ¶
type AggregateCompliancePackOutput struct{ *pulumi.OutputState }
func (AggregateCompliancePackOutput) AggregateCompliancePackName ¶
func (o AggregateCompliancePackOutput) AggregateCompliancePackName() pulumi.StringOutput
The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0.
func (AggregateCompliancePackOutput) AggregatorId ¶
func (o AggregateCompliancePackOutput) AggregatorId() pulumi.StringOutput
The ID of aggregator.
func (AggregateCompliancePackOutput) CompliancePackTemplateId ¶
func (o AggregateCompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput
The Template ID of compliance package.
func (AggregateCompliancePackOutput) ConfigRuleIds ¶
func (o AggregateCompliancePackOutput) ConfigRuleIds() AggregateCompliancePackConfigRuleIdArrayOutput
A list of Config Rule IDs.
func (AggregateCompliancePackOutput) ConfigRules
deprecated
func (o AggregateCompliancePackOutput) ConfigRules() AggregateCompliancePackConfigRuleArrayOutput
A list of Config Rules.
Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
func (AggregateCompliancePackOutput) Description ¶
func (o AggregateCompliancePackOutput) Description() pulumi.StringOutput
The description of compliance package.
func (AggregateCompliancePackOutput) ElementType ¶
func (AggregateCompliancePackOutput) ElementType() reflect.Type
func (AggregateCompliancePackOutput) RiskLevel ¶
func (o AggregateCompliancePackOutput) RiskLevel() pulumi.IntOutput
The Risk Level. Valid values: `1`: critical `2`: warning `3`: info.
func (AggregateCompliancePackOutput) Status ¶
func (o AggregateCompliancePackOutput) Status() pulumi.StringOutput
The status of the resource. The valid values: `CREATING`, `ACTIVE`.
func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutput ¶
func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput
func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext ¶
func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput
type AggregateCompliancePackState ¶
type AggregateCompliancePackState struct { // The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0. AggregateCompliancePackName pulumi.StringPtrInput // The ID of aggregator. AggregatorId pulumi.StringPtrInput // The Template ID of compliance package. CompliancePackTemplateId pulumi.StringPtrInput // A list of Config Rule IDs. ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules AggregateCompliancePackConfigRuleArrayInput // The description of compliance package. Description pulumi.StringPtrInput // The Risk Level. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntPtrInput // The status of the resource. The valid values: `CREATING`, `ACTIVE`. Status pulumi.StringPtrInput }
func (AggregateCompliancePackState) ElementType ¶
func (AggregateCompliancePackState) ElementType() reflect.Type
type AggregateConfigRule ¶
type AggregateConfigRule struct { pulumi.CustomResourceState // The name of the rule. AggregateConfigRuleName pulumi.StringOutput `pulumi:"aggregateConfigRuleName"` // The Aggregator Id. AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"` // (Available in 1.141.0+) The rule ID of Aggregate Config Rule. ConfigRuleId pulumi.StringOutput `pulumi:"configRuleId"` // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringOutput `pulumi:"configRuleTriggerTypes"` // The description of the rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrOutput `pulumi:"excludeResourceIdsScope"` // The settings map of the input parameters for the rule. InputParameters pulumi.MapOutput `pulumi:"inputParameters"` // The frequency of the compliance evaluations. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`. MaximumExecutionFrequency pulumi.StringOutput `pulumi:"maximumExecutionFrequency"` // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrOutput `pulumi:"regionIdsScope"` // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrOutput `pulumi:"resourceGroupIdsScope"` // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayOutput `pulumi:"resourceTypesScopes"` // The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntOutput `pulumi:"riskLevel"` // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringOutput `pulumi:"sourceIdentifier"` // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringOutput `pulumi:"sourceOwner"` // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringOutput `pulumi:"status"` // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrOutput `pulumi:"tagKeyScope"` // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrOutput `pulumi:"tagValueScope"` }
Provides a Cloud Config Aggregate Config Rule resource.
For information about Cloud Config Aggregate Config Rule and how to use it, see [What is Aggregate Config Rule](https://www.alibabacloud.com/help/doc-detail/154216.html).
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAggregator, err := cfg.NewAggregator(ctx, "exampleAggregator", &cfg.AggregatorArgs{ AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{ &cfg.AggregatorAggregatorAccountArgs{ AccountId: pulumi.String("140278452670****"), AccountName: pulumi.String("test-2"), AccountType: pulumi.String("ResourceDirectory"), }, }, AggregatorName: pulumi.String("tf-testaccaggregator"), Description: pulumi.String("tf-testaccaggregator"), }) if err != nil { return err } _, err = cfg.NewAggregateConfigRule(ctx, "exampleAggregateConfigRule", &cfg.AggregateConfigRuleArgs{ AggregateConfigRuleName: pulumi.String("tf-testaccconfig1234"), AggregatorId: exampleAggregator.ID(), ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"), SourceOwner: pulumi.String("ALIYUN"), SourceIdentifier: pulumi.String("ecs-cpu-min-count-limit"), RiskLevel: pulumi.Int(1), ResourceTypesScopes: pulumi.StringArray{ pulumi.String("ACS::ECS::Instance"), }, InputParameters: pulumi.AnyMap{ "cpuCount": pulumi.Any("4"), }, }) if err != nil { return err } return nil }) }
```
## Import
Cloud Config Aggregate Config Rule can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/aggregateConfigRule:AggregateConfigRule example "<aggregator_id>:<config_rule_id>"
```
func GetAggregateConfigRule ¶
func GetAggregateConfigRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AggregateConfigRuleState, opts ...pulumi.ResourceOption) (*AggregateConfigRule, error)
GetAggregateConfigRule gets an existing AggregateConfigRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAggregateConfigRule ¶
func NewAggregateConfigRule(ctx *pulumi.Context, name string, args *AggregateConfigRuleArgs, opts ...pulumi.ResourceOption) (*AggregateConfigRule, error)
NewAggregateConfigRule registers a new resource with the given unique name, arguments, and options.
func (*AggregateConfigRule) ElementType ¶
func (*AggregateConfigRule) ElementType() reflect.Type
func (*AggregateConfigRule) ToAggregateConfigRuleOutput ¶
func (i *AggregateConfigRule) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput
func (*AggregateConfigRule) ToAggregateConfigRuleOutputWithContext ¶
func (i *AggregateConfigRule) ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput
type AggregateConfigRuleArgs ¶
type AggregateConfigRuleArgs struct { // The name of the rule. AggregateConfigRuleName pulumi.StringInput // The Aggregator Id. AggregatorId pulumi.StringInput // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringInput // The description of the rule. Description pulumi.StringPtrInput // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrInput // The settings map of the input parameters for the rule. InputParameters pulumi.MapInput // The frequency of the compliance evaluations. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`. MaximumExecutionFrequency pulumi.StringPtrInput // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrInput // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrInput // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayInput // The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntInput // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringInput // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringInput // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringPtrInput // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrInput // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrInput }
The set of arguments for constructing a AggregateConfigRule resource.
func (AggregateConfigRuleArgs) ElementType ¶
func (AggregateConfigRuleArgs) ElementType() reflect.Type
type AggregateConfigRuleArray ¶
type AggregateConfigRuleArray []AggregateConfigRuleInput
func (AggregateConfigRuleArray) ElementType ¶
func (AggregateConfigRuleArray) ElementType() reflect.Type
func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput ¶
func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput
func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext ¶
func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext(ctx context.Context) AggregateConfigRuleArrayOutput
type AggregateConfigRuleArrayInput ¶
type AggregateConfigRuleArrayInput interface { pulumi.Input ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput ToAggregateConfigRuleArrayOutputWithContext(context.Context) AggregateConfigRuleArrayOutput }
AggregateConfigRuleArrayInput is an input type that accepts AggregateConfigRuleArray and AggregateConfigRuleArrayOutput values. You can construct a concrete instance of `AggregateConfigRuleArrayInput` via:
AggregateConfigRuleArray{ AggregateConfigRuleArgs{...} }
type AggregateConfigRuleArrayOutput ¶
type AggregateConfigRuleArrayOutput struct{ *pulumi.OutputState }
func (AggregateConfigRuleArrayOutput) ElementType ¶
func (AggregateConfigRuleArrayOutput) ElementType() reflect.Type
func (AggregateConfigRuleArrayOutput) Index ¶
func (o AggregateConfigRuleArrayOutput) Index(i pulumi.IntInput) AggregateConfigRuleOutput
func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput ¶
func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput
func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext ¶
func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext(ctx context.Context) AggregateConfigRuleArrayOutput
type AggregateConfigRuleInput ¶
type AggregateConfigRuleInput interface { pulumi.Input ToAggregateConfigRuleOutput() AggregateConfigRuleOutput ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput }
type AggregateConfigRuleMap ¶
type AggregateConfigRuleMap map[string]AggregateConfigRuleInput
func (AggregateConfigRuleMap) ElementType ¶
func (AggregateConfigRuleMap) ElementType() reflect.Type
func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput ¶
func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput
func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext ¶
func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext(ctx context.Context) AggregateConfigRuleMapOutput
type AggregateConfigRuleMapInput ¶
type AggregateConfigRuleMapInput interface { pulumi.Input ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput ToAggregateConfigRuleMapOutputWithContext(context.Context) AggregateConfigRuleMapOutput }
AggregateConfigRuleMapInput is an input type that accepts AggregateConfigRuleMap and AggregateConfigRuleMapOutput values. You can construct a concrete instance of `AggregateConfigRuleMapInput` via:
AggregateConfigRuleMap{ "key": AggregateConfigRuleArgs{...} }
type AggregateConfigRuleMapOutput ¶
type AggregateConfigRuleMapOutput struct{ *pulumi.OutputState }
func (AggregateConfigRuleMapOutput) ElementType ¶
func (AggregateConfigRuleMapOutput) ElementType() reflect.Type
func (AggregateConfigRuleMapOutput) MapIndex ¶
func (o AggregateConfigRuleMapOutput) MapIndex(k pulumi.StringInput) AggregateConfigRuleOutput
func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput ¶
func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput
func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext ¶
func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext(ctx context.Context) AggregateConfigRuleMapOutput
type AggregateConfigRuleOutput ¶
type AggregateConfigRuleOutput struct{ *pulumi.OutputState }
func (AggregateConfigRuleOutput) AggregateConfigRuleName ¶
func (o AggregateConfigRuleOutput) AggregateConfigRuleName() pulumi.StringOutput
The name of the rule.
func (AggregateConfigRuleOutput) AggregatorId ¶
func (o AggregateConfigRuleOutput) AggregatorId() pulumi.StringOutput
The Aggregator Id.
func (AggregateConfigRuleOutput) ConfigRuleId ¶
func (o AggregateConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
(Available in 1.141.0+) The rule ID of Aggregate Config Rule.
func (AggregateConfigRuleOutput) ConfigRuleTriggerTypes ¶
func (o AggregateConfigRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
func (AggregateConfigRuleOutput) Description ¶
func (o AggregateConfigRuleOutput) Description() pulumi.StringPtrOutput
The description of the rule.
func (AggregateConfigRuleOutput) ElementType ¶
func (AggregateConfigRuleOutput) ElementType() reflect.Type
func (AggregateConfigRuleOutput) ExcludeResourceIdsScope ¶
func (o AggregateConfigRuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput
The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty.
func (AggregateConfigRuleOutput) InputParameters ¶
func (o AggregateConfigRuleOutput) InputParameters() pulumi.MapOutput
The settings map of the input parameters for the rule.
func (AggregateConfigRuleOutput) MaximumExecutionFrequency ¶
func (o AggregateConfigRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
The frequency of the compliance evaluations. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`.
func (AggregateConfigRuleOutput) RegionIdsScope ¶
func (o AggregateConfigRuleOutput) RegionIdsScope() pulumi.StringPtrOutput
The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
func (AggregateConfigRuleOutput) ResourceGroupIdsScope ¶
func (o AggregateConfigRuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput
The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
func (AggregateConfigRuleOutput) ResourceTypesScopes ¶
func (o AggregateConfigRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
func (AggregateConfigRuleOutput) RiskLevel ¶
func (o AggregateConfigRuleOutput) RiskLevel() pulumi.IntOutput
The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical `2`: warning `3`: info.
func (AggregateConfigRuleOutput) SourceIdentifier ¶
func (o AggregateConfigRuleOutput) SourceIdentifier() pulumi.StringOutput
The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
func (AggregateConfigRuleOutput) SourceOwner ¶
func (o AggregateConfigRuleOutput) SourceOwner() pulumi.StringOutput
Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
func (AggregateConfigRuleOutput) Status ¶
func (o AggregateConfigRuleOutput) Status() pulumi.StringOutput
The rule status. The valid values: `ACTIVE`, `INACTIVE`.
func (AggregateConfigRuleOutput) TagKeyScope ¶
func (o AggregateConfigRuleOutput) TagKeyScope() pulumi.StringPtrOutput
The rule monitors the tag key, only applies to rules created based on managed rules.
func (AggregateConfigRuleOutput) TagValueScope ¶
func (o AggregateConfigRuleOutput) TagValueScope() pulumi.StringPtrOutput
The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules.
func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutput ¶
func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput
func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext ¶
func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput
type AggregateConfigRuleState ¶
type AggregateConfigRuleState struct { // The name of the rule. AggregateConfigRuleName pulumi.StringPtrInput // The Aggregator Id. AggregatorId pulumi.StringPtrInput // (Available in 1.141.0+) The rule ID of Aggregate Config Rule. ConfigRuleId pulumi.StringPtrInput // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringPtrInput // The description of the rule. Description pulumi.StringPtrInput // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrInput // The settings map of the input parameters for the rule. InputParameters pulumi.MapInput // The frequency of the compliance evaluations. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`. MaximumExecutionFrequency pulumi.StringPtrInput // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrInput // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrInput // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayInput // The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical `2`: warning `3`: info. RiskLevel pulumi.IntPtrInput // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringPtrInput // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringPtrInput // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringPtrInput // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrInput // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrInput }
func (AggregateConfigRuleState) ElementType ¶
func (AggregateConfigRuleState) ElementType() reflect.Type
type AggregateDelivery ¶
type AggregateDelivery struct { pulumi.CustomResourceState // The ID of the Aggregator. AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"` // Open or close delivery configuration change history. ConfigurationItemChangeNotification pulumi.BoolOutput `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolOutput `pulumi:"configurationSnapshot"` // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrOutput `pulumi:"deliveryChannelCondition"` // The ID of the delivery method. DeliveryChannelId pulumi.StringOutput `pulumi:"deliveryChannelId"` // The name of the delivery method. DeliveryChannelName pulumi.StringPtrOutput `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringOutput `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"` // The description of the delivery method. Description pulumi.StringPtrOutput `pulumi:"description"` // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolOutput `pulumi:"nonCompliantNotification"` // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrOutput `pulumi:"oversizedDataOssTargetArn"` // 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. Status pulumi.IntOutput `pulumi:"status"` }
Provides a Cloud Config Aggregate Delivery resource.
For information about Cloud Config Aggregate Delivery and how to use it, see [What is Aggregate Delivery](https://www.alibabacloud.com/help/en/cloud-config/latest/delivery-destination-services-overview).
> **NOTE:** Available in v1.172.0+.
## Import
Cloud Config Aggregate Delivery can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/aggregateDelivery:AggregateDelivery example <aggregator_id>:<delivery_channel_id>
```
func GetAggregateDelivery ¶
func GetAggregateDelivery(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AggregateDeliveryState, opts ...pulumi.ResourceOption) (*AggregateDelivery, error)
GetAggregateDelivery gets an existing AggregateDelivery resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAggregateDelivery ¶
func NewAggregateDelivery(ctx *pulumi.Context, name string, args *AggregateDeliveryArgs, opts ...pulumi.ResourceOption) (*AggregateDelivery, error)
NewAggregateDelivery registers a new resource with the given unique name, arguments, and options.
func (*AggregateDelivery) ElementType ¶
func (*AggregateDelivery) ElementType() reflect.Type
func (*AggregateDelivery) ToAggregateDeliveryOutput ¶
func (i *AggregateDelivery) ToAggregateDeliveryOutput() AggregateDeliveryOutput
func (*AggregateDelivery) ToAggregateDeliveryOutputWithContext ¶
func (i *AggregateDelivery) ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput
type AggregateDeliveryArgs ¶
type AggregateDeliveryArgs struct { // The ID of the Aggregator. AggregatorId pulumi.StringInput // Open or close delivery configuration change history. ConfigurationItemChangeNotification pulumi.BoolPtrInput // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolPtrInput // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrInput // The name of the delivery method. DeliveryChannelName pulumi.StringPtrInput // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringInput // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringInput // The description of the delivery method. Description pulumi.StringPtrInput // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolPtrInput // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
The set of arguments for constructing a AggregateDelivery resource.
func (AggregateDeliveryArgs) ElementType ¶
func (AggregateDeliveryArgs) ElementType() reflect.Type
type AggregateDeliveryArray ¶
type AggregateDeliveryArray []AggregateDeliveryInput
func (AggregateDeliveryArray) ElementType ¶
func (AggregateDeliveryArray) ElementType() reflect.Type
func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutput ¶
func (i AggregateDeliveryArray) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput
func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutputWithContext ¶
func (i AggregateDeliveryArray) ToAggregateDeliveryArrayOutputWithContext(ctx context.Context) AggregateDeliveryArrayOutput
type AggregateDeliveryArrayInput ¶
type AggregateDeliveryArrayInput interface { pulumi.Input ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput ToAggregateDeliveryArrayOutputWithContext(context.Context) AggregateDeliveryArrayOutput }
AggregateDeliveryArrayInput is an input type that accepts AggregateDeliveryArray and AggregateDeliveryArrayOutput values. You can construct a concrete instance of `AggregateDeliveryArrayInput` via:
AggregateDeliveryArray{ AggregateDeliveryArgs{...} }
type AggregateDeliveryArrayOutput ¶
type AggregateDeliveryArrayOutput struct{ *pulumi.OutputState }
func (AggregateDeliveryArrayOutput) ElementType ¶
func (AggregateDeliveryArrayOutput) ElementType() reflect.Type
func (AggregateDeliveryArrayOutput) Index ¶
func (o AggregateDeliveryArrayOutput) Index(i pulumi.IntInput) AggregateDeliveryOutput
func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput ¶
func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput
func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext ¶
func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext(ctx context.Context) AggregateDeliveryArrayOutput
type AggregateDeliveryInput ¶
type AggregateDeliveryInput interface { pulumi.Input ToAggregateDeliveryOutput() AggregateDeliveryOutput ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput }
type AggregateDeliveryMap ¶
type AggregateDeliveryMap map[string]AggregateDeliveryInput
func (AggregateDeliveryMap) ElementType ¶
func (AggregateDeliveryMap) ElementType() reflect.Type
func (AggregateDeliveryMap) ToAggregateDeliveryMapOutput ¶
func (i AggregateDeliveryMap) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput
func (AggregateDeliveryMap) ToAggregateDeliveryMapOutputWithContext ¶
func (i AggregateDeliveryMap) ToAggregateDeliveryMapOutputWithContext(ctx context.Context) AggregateDeliveryMapOutput
type AggregateDeliveryMapInput ¶
type AggregateDeliveryMapInput interface { pulumi.Input ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput ToAggregateDeliveryMapOutputWithContext(context.Context) AggregateDeliveryMapOutput }
AggregateDeliveryMapInput is an input type that accepts AggregateDeliveryMap and AggregateDeliveryMapOutput values. You can construct a concrete instance of `AggregateDeliveryMapInput` via:
AggregateDeliveryMap{ "key": AggregateDeliveryArgs{...} }
type AggregateDeliveryMapOutput ¶
type AggregateDeliveryMapOutput struct{ *pulumi.OutputState }
func (AggregateDeliveryMapOutput) ElementType ¶
func (AggregateDeliveryMapOutput) ElementType() reflect.Type
func (AggregateDeliveryMapOutput) MapIndex ¶
func (o AggregateDeliveryMapOutput) MapIndex(k pulumi.StringInput) AggregateDeliveryOutput
func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput ¶
func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput
func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext ¶
func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext(ctx context.Context) AggregateDeliveryMapOutput
type AggregateDeliveryOutput ¶
type AggregateDeliveryOutput struct{ *pulumi.OutputState }
func (AggregateDeliveryOutput) AggregatorId ¶
func (o AggregateDeliveryOutput) AggregatorId() pulumi.StringOutput
The ID of the Aggregator.
func (AggregateDeliveryOutput) ConfigurationItemChangeNotification ¶
func (o AggregateDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
Open or close delivery configuration change history.
func (AggregateDeliveryOutput) ConfigurationSnapshot ¶
func (o AggregateDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
func (AggregateDeliveryOutput) DeliveryChannelCondition ¶
func (o AggregateDeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput
The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
func (AggregateDeliveryOutput) DeliveryChannelId ¶
func (o AggregateDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
The ID of the delivery method.
func (AggregateDeliveryOutput) DeliveryChannelName ¶
func (o AggregateDeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput
The name of the delivery method.
func (AggregateDeliveryOutput) DeliveryChannelTargetArn ¶
func (o AggregateDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
The ARN of the delivery destination. 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. * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
func (AggregateDeliveryOutput) DeliveryChannelType ¶
func (o AggregateDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
func (AggregateDeliveryOutput) Description ¶
func (o AggregateDeliveryOutput) Description() pulumi.StringPtrOutput
The description of the delivery method.
func (AggregateDeliveryOutput) ElementType ¶
func (AggregateDeliveryOutput) ElementType() reflect.Type
func (AggregateDeliveryOutput) NonCompliantNotification ¶
func (o AggregateDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
func (AggregateDeliveryOutput) OversizedDataOssTargetArn ¶
func (o AggregateDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput
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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
func (AggregateDeliveryOutput) Status ¶
func (o AggregateDeliveryOutput) Status() pulumi.IntOutput
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.
func (AggregateDeliveryOutput) ToAggregateDeliveryOutput ¶
func (o AggregateDeliveryOutput) ToAggregateDeliveryOutput() AggregateDeliveryOutput
func (AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext ¶
func (o AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput
type AggregateDeliveryState ¶
type AggregateDeliveryState struct { // The ID of the Aggregator. AggregatorId pulumi.StringPtrInput // Open or close delivery configuration change history. ConfigurationItemChangeNotification pulumi.BoolPtrInput // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolPtrInput // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrInput // The ID of the delivery method. DeliveryChannelId pulumi.StringPtrInput // The name of the delivery method. DeliveryChannelName pulumi.StringPtrInput // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringPtrInput // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringPtrInput // The description of the delivery method. Description pulumi.StringPtrInput // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolPtrInput // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
func (AggregateDeliveryState) ElementType ¶
func (AggregateDeliveryState) ElementType() reflect.Type
type Aggregator ¶
type Aggregator struct { pulumi.CustomResourceState // The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0. AggregatorAccounts AggregatorAggregatorAccountArrayOutput `pulumi:"aggregatorAccounts"` // The name of aggregator. AggregatorName pulumi.StringOutput `pulumi:"aggregatorName"` // The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`. AggregatorType pulumi.StringOutput `pulumi:"aggregatorType"` // The description of aggregator. Description pulumi.StringOutput `pulumi:"description"` // The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Cloud Config Aggregator resource.
For information about Cloud Config Aggregate Config Rule and how to use it, see [What is Aggregator](https://www.alibabacloud.com/help/en/doc-detail/211197.html).
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cfg.NewAggregator(ctx, "example", &cfg.AggregatorArgs{ AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{ &cfg.AggregatorAggregatorAccountArgs{ AccountId: pulumi.String("123968452689****"), AccountName: pulumi.String("tf-testacc1234"), AccountType: pulumi.String("ResourceDirectory"), }, }, AggregatorName: pulumi.String("tf-testaccConfigAggregator1234"), Description: pulumi.String("tf-testaccConfigAggregator1234"), }) if err != nil { return err } return nil }) }
```
## Import
Cloud Config Aggregator can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/aggregator:Aggregator example <id>
```
func GetAggregator ¶
func GetAggregator(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AggregatorState, opts ...pulumi.ResourceOption) (*Aggregator, error)
GetAggregator gets an existing Aggregator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAggregator ¶
func NewAggregator(ctx *pulumi.Context, name string, args *AggregatorArgs, opts ...pulumi.ResourceOption) (*Aggregator, error)
NewAggregator registers a new resource with the given unique name, arguments, and options.
func (*Aggregator) ElementType ¶
func (*Aggregator) ElementType() reflect.Type
func (*Aggregator) ToAggregatorOutput ¶
func (i *Aggregator) ToAggregatorOutput() AggregatorOutput
func (*Aggregator) ToAggregatorOutputWithContext ¶
func (i *Aggregator) ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput
type AggregatorAggregatorAccountArgs ¶
type AggregatorAggregatorAccountArgs struct { // Aggregator account Uid. AccountId pulumi.StringInput `pulumi:"accountId"` // Aggregator account name. AccountName pulumi.StringInput `pulumi:"accountName"` // Aggregator account source type. Valid values: `ResourceDirectory`. AccountType pulumi.StringInput `pulumi:"accountType"` }
func (AggregatorAggregatorAccountArgs) ElementType ¶
func (AggregatorAggregatorAccountArgs) ElementType() reflect.Type
func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput ¶
func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput
func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext ¶
func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput
type AggregatorAggregatorAccountArray ¶
type AggregatorAggregatorAccountArray []AggregatorAggregatorAccountInput
func (AggregatorAggregatorAccountArray) ElementType ¶
func (AggregatorAggregatorAccountArray) ElementType() reflect.Type
func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput ¶
func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput
func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext ¶
func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput
type AggregatorAggregatorAccountArrayInput ¶
type AggregatorAggregatorAccountArrayInput interface { pulumi.Input ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput ToAggregatorAggregatorAccountArrayOutputWithContext(context.Context) AggregatorAggregatorAccountArrayOutput }
AggregatorAggregatorAccountArrayInput is an input type that accepts AggregatorAggregatorAccountArray and AggregatorAggregatorAccountArrayOutput values. You can construct a concrete instance of `AggregatorAggregatorAccountArrayInput` via:
AggregatorAggregatorAccountArray{ AggregatorAggregatorAccountArgs{...} }
type AggregatorAggregatorAccountArrayOutput ¶
type AggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }
func (AggregatorAggregatorAccountArrayOutput) ElementType ¶
func (AggregatorAggregatorAccountArrayOutput) ElementType() reflect.Type
func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput ¶
func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput
func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext ¶
func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput
type AggregatorAggregatorAccountInput ¶
type AggregatorAggregatorAccountInput interface { pulumi.Input ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput ToAggregatorAggregatorAccountOutputWithContext(context.Context) AggregatorAggregatorAccountOutput }
AggregatorAggregatorAccountInput is an input type that accepts AggregatorAggregatorAccountArgs and AggregatorAggregatorAccountOutput values. You can construct a concrete instance of `AggregatorAggregatorAccountInput` via:
AggregatorAggregatorAccountArgs{...}
type AggregatorAggregatorAccountOutput ¶
type AggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }
func (AggregatorAggregatorAccountOutput) AccountId ¶
func (o AggregatorAggregatorAccountOutput) AccountId() pulumi.StringOutput
Aggregator account Uid.
func (AggregatorAggregatorAccountOutput) AccountName ¶
func (o AggregatorAggregatorAccountOutput) AccountName() pulumi.StringOutput
Aggregator account name.
func (AggregatorAggregatorAccountOutput) AccountType ¶
func (o AggregatorAggregatorAccountOutput) AccountType() pulumi.StringOutput
Aggregator account source type. Valid values: `ResourceDirectory`.
func (AggregatorAggregatorAccountOutput) ElementType ¶
func (AggregatorAggregatorAccountOutput) ElementType() reflect.Type
func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput ¶
func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput
func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext ¶
func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput
type AggregatorArgs ¶
type AggregatorArgs struct { // The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0. AggregatorAccounts AggregatorAggregatorAccountArrayInput // The name of aggregator. AggregatorName pulumi.StringInput // The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`. AggregatorType pulumi.StringPtrInput // The description of aggregator. Description pulumi.StringInput }
The set of arguments for constructing a Aggregator resource.
func (AggregatorArgs) ElementType ¶
func (AggregatorArgs) ElementType() reflect.Type
type AggregatorArray ¶
type AggregatorArray []AggregatorInput
func (AggregatorArray) ElementType ¶
func (AggregatorArray) ElementType() reflect.Type
func (AggregatorArray) ToAggregatorArrayOutput ¶
func (i AggregatorArray) ToAggregatorArrayOutput() AggregatorArrayOutput
func (AggregatorArray) ToAggregatorArrayOutputWithContext ¶
func (i AggregatorArray) ToAggregatorArrayOutputWithContext(ctx context.Context) AggregatorArrayOutput
type AggregatorArrayInput ¶
type AggregatorArrayInput interface { pulumi.Input ToAggregatorArrayOutput() AggregatorArrayOutput ToAggregatorArrayOutputWithContext(context.Context) AggregatorArrayOutput }
AggregatorArrayInput is an input type that accepts AggregatorArray and AggregatorArrayOutput values. You can construct a concrete instance of `AggregatorArrayInput` via:
AggregatorArray{ AggregatorArgs{...} }
type AggregatorArrayOutput ¶
type AggregatorArrayOutput struct{ *pulumi.OutputState }
func (AggregatorArrayOutput) ElementType ¶
func (AggregatorArrayOutput) ElementType() reflect.Type
func (AggregatorArrayOutput) Index ¶
func (o AggregatorArrayOutput) Index(i pulumi.IntInput) AggregatorOutput
func (AggregatorArrayOutput) ToAggregatorArrayOutput ¶
func (o AggregatorArrayOutput) ToAggregatorArrayOutput() AggregatorArrayOutput
func (AggregatorArrayOutput) ToAggregatorArrayOutputWithContext ¶
func (o AggregatorArrayOutput) ToAggregatorArrayOutputWithContext(ctx context.Context) AggregatorArrayOutput
type AggregatorInput ¶
type AggregatorInput interface { pulumi.Input ToAggregatorOutput() AggregatorOutput ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput }
type AggregatorMap ¶
type AggregatorMap map[string]AggregatorInput
func (AggregatorMap) ElementType ¶
func (AggregatorMap) ElementType() reflect.Type
func (AggregatorMap) ToAggregatorMapOutput ¶
func (i AggregatorMap) ToAggregatorMapOutput() AggregatorMapOutput
func (AggregatorMap) ToAggregatorMapOutputWithContext ¶
func (i AggregatorMap) ToAggregatorMapOutputWithContext(ctx context.Context) AggregatorMapOutput
type AggregatorMapInput ¶
type AggregatorMapInput interface { pulumi.Input ToAggregatorMapOutput() AggregatorMapOutput ToAggregatorMapOutputWithContext(context.Context) AggregatorMapOutput }
AggregatorMapInput is an input type that accepts AggregatorMap and AggregatorMapOutput values. You can construct a concrete instance of `AggregatorMapInput` via:
AggregatorMap{ "key": AggregatorArgs{...} }
type AggregatorMapOutput ¶
type AggregatorMapOutput struct{ *pulumi.OutputState }
func (AggregatorMapOutput) ElementType ¶
func (AggregatorMapOutput) ElementType() reflect.Type
func (AggregatorMapOutput) MapIndex ¶
func (o AggregatorMapOutput) MapIndex(k pulumi.StringInput) AggregatorOutput
func (AggregatorMapOutput) ToAggregatorMapOutput ¶
func (o AggregatorMapOutput) ToAggregatorMapOutput() AggregatorMapOutput
func (AggregatorMapOutput) ToAggregatorMapOutputWithContext ¶
func (o AggregatorMapOutput) ToAggregatorMapOutputWithContext(ctx context.Context) AggregatorMapOutput
type AggregatorOutput ¶
type AggregatorOutput struct{ *pulumi.OutputState }
func (AggregatorOutput) AggregatorAccounts ¶
func (o AggregatorOutput) AggregatorAccounts() AggregatorAggregatorAccountArrayOutput
The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.
func (AggregatorOutput) AggregatorName ¶
func (o AggregatorOutput) AggregatorName() pulumi.StringOutput
The name of aggregator.
func (AggregatorOutput) AggregatorType ¶
func (o AggregatorOutput) AggregatorType() pulumi.StringOutput
The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`.
func (AggregatorOutput) Description ¶
func (o AggregatorOutput) Description() pulumi.StringOutput
The description of aggregator.
func (AggregatorOutput) ElementType ¶
func (AggregatorOutput) ElementType() reflect.Type
func (AggregatorOutput) Status ¶
func (o AggregatorOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting.
func (AggregatorOutput) ToAggregatorOutput ¶
func (o AggregatorOutput) ToAggregatorOutput() AggregatorOutput
func (AggregatorOutput) ToAggregatorOutputWithContext ¶
func (o AggregatorOutput) ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput
type AggregatorState ¶
type AggregatorState struct { // The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0. AggregatorAccounts AggregatorAggregatorAccountArrayInput // The name of aggregator. AggregatorName pulumi.StringPtrInput // The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`. AggregatorType pulumi.StringPtrInput // The description of aggregator. Description pulumi.StringPtrInput // The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting. Status pulumi.StringPtrInput }
func (AggregatorState) ElementType ¶
func (AggregatorState) ElementType() reflect.Type
type CompliancePack ¶
type CompliancePack struct { pulumi.CustomResourceState // The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0. CompliancePackName pulumi.StringOutput `pulumi:"compliancePackName"` // Compliance Package Template Id. CompliancePackTemplateId pulumi.StringPtrOutput `pulumi:"compliancePackTemplateId"` // A list of Config Rule IDs. ConfigRuleIds CompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"` // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules CompliancePackConfigRuleArrayOutput `pulumi:"configRules"` // The Description of compliance pack. Description pulumi.StringOutput `pulumi:"description"` // The Risk Level. Valid values: `1`: critical, `2`: warning, `3`: info. RiskLevel pulumi.IntOutput `pulumi:"riskLevel"` // The status of the resource. The valid values: `CREATING`, `ACTIVE`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Cloud Config Compliance Pack resource.
For information about Cloud Config Compliance Pack and how to use it, see [What is Compliance Pack](https://www.alibabacloud.com/help/en/doc-detail/194753.html).
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "example_name" if param := cfg.Get("name"); param != "" { name = param } defaultInstances, err := ecs.GetInstances(ctx, nil, nil) if err != nil { return err } defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } defaultRule, err := cfg.NewRule(ctx, "defaultRule", &cfg.RuleArgs{ RuleName: pulumi.String(name), Description: pulumi.String(name), SourceIdentifier: pulumi.String("ecs-instances-in-vpc"), SourceOwner: pulumi.String("ALIYUN"), ResourceTypesScopes: pulumi.StringArray{ pulumi.String("ACS::ECS::Instance"), }, RiskLevel: pulumi.Int(1), ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"), TagKeyScope: pulumi.String("tfTest"), TagValueScope: pulumi.String("tfTest 123"), ResourceGroupIdsScope: pulumi.String(defaultResourceGroups.Ids[0]), ExcludeResourceIdsScope: pulumi.String(defaultInstances.Instances[0].Id), RegionIdsScope: pulumi.String("cn-hangzhou"), InputParameters: pulumi.AnyMap{ "vpcIds": pulumi.String(defaultInstances.Instances[0].VpcId), }, }) if err != nil { return err } _, err = cfg.NewCompliancePack(ctx, "defaultCompliancePack", &cfg.CompliancePackArgs{ CompliancePackName: pulumi.String("tf-testaccConfig1234"), Description: pulumi.String("tf-testaccConfig1234"), RiskLevel: pulumi.Int(1), ConfigRuleIds: cfg.CompliancePackConfigRuleIdArray{ &cfg.CompliancePackConfigRuleIdArgs{ ConfigRuleId: defaultRule.ID(), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cloud Config Compliance Pack can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/compliancePack:CompliancePack example <id>
```
func GetCompliancePack ¶
func GetCompliancePack(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CompliancePackState, opts ...pulumi.ResourceOption) (*CompliancePack, error)
GetCompliancePack gets an existing CompliancePack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCompliancePack ¶
func NewCompliancePack(ctx *pulumi.Context, name string, args *CompliancePackArgs, opts ...pulumi.ResourceOption) (*CompliancePack, error)
NewCompliancePack registers a new resource with the given unique name, arguments, and options.
func (*CompliancePack) ElementType ¶
func (*CompliancePack) ElementType() reflect.Type
func (*CompliancePack) ToCompliancePackOutput ¶
func (i *CompliancePack) ToCompliancePackOutput() CompliancePackOutput
func (*CompliancePack) ToCompliancePackOutputWithContext ¶
func (i *CompliancePack) ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput
type CompliancePackArgs ¶
type CompliancePackArgs struct { // The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0. CompliancePackName pulumi.StringInput // Compliance Package Template Id. CompliancePackTemplateId pulumi.StringPtrInput // A list of Config Rule IDs. ConfigRuleIds CompliancePackConfigRuleIdArrayInput // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules CompliancePackConfigRuleArrayInput // The Description of compliance pack. Description pulumi.StringInput // The Risk Level. Valid values: `1`: critical, `2`: warning, `3`: info. RiskLevel pulumi.IntInput }
The set of arguments for constructing a CompliancePack resource.
func (CompliancePackArgs) ElementType ¶
func (CompliancePackArgs) ElementType() reflect.Type
type CompliancePackArray ¶
type CompliancePackArray []CompliancePackInput
func (CompliancePackArray) ElementType ¶
func (CompliancePackArray) ElementType() reflect.Type
func (CompliancePackArray) ToCompliancePackArrayOutput ¶
func (i CompliancePackArray) ToCompliancePackArrayOutput() CompliancePackArrayOutput
func (CompliancePackArray) ToCompliancePackArrayOutputWithContext ¶
func (i CompliancePackArray) ToCompliancePackArrayOutputWithContext(ctx context.Context) CompliancePackArrayOutput
type CompliancePackArrayInput ¶
type CompliancePackArrayInput interface { pulumi.Input ToCompliancePackArrayOutput() CompliancePackArrayOutput ToCompliancePackArrayOutputWithContext(context.Context) CompliancePackArrayOutput }
CompliancePackArrayInput is an input type that accepts CompliancePackArray and CompliancePackArrayOutput values. You can construct a concrete instance of `CompliancePackArrayInput` via:
CompliancePackArray{ CompliancePackArgs{...} }
type CompliancePackArrayOutput ¶
type CompliancePackArrayOutput struct{ *pulumi.OutputState }
func (CompliancePackArrayOutput) ElementType ¶
func (CompliancePackArrayOutput) ElementType() reflect.Type
func (CompliancePackArrayOutput) Index ¶
func (o CompliancePackArrayOutput) Index(i pulumi.IntInput) CompliancePackOutput
func (CompliancePackArrayOutput) ToCompliancePackArrayOutput ¶
func (o CompliancePackArrayOutput) ToCompliancePackArrayOutput() CompliancePackArrayOutput
func (CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext ¶
func (o CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext(ctx context.Context) CompliancePackArrayOutput
type CompliancePackConfigRule ¶
type CompliancePackConfigRule struct { // A list of Config Rule Parameters. ConfigRuleParameters []CompliancePackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"` // The Managed Rule Identifier. ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"` }
type CompliancePackConfigRuleArgs ¶
type CompliancePackConfigRuleArgs struct { // A list of Config Rule Parameters. ConfigRuleParameters CompliancePackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"` // The Managed Rule Identifier. ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"` }
func (CompliancePackConfigRuleArgs) ElementType ¶
func (CompliancePackConfigRuleArgs) ElementType() reflect.Type
func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput ¶
func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput
func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext ¶
func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput
type CompliancePackConfigRuleArray ¶
type CompliancePackConfigRuleArray []CompliancePackConfigRuleInput
func (CompliancePackConfigRuleArray) ElementType ¶
func (CompliancePackConfigRuleArray) ElementType() reflect.Type
func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput ¶
func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput
func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext ¶
func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput
type CompliancePackConfigRuleArrayInput ¶
type CompliancePackConfigRuleArrayInput interface { pulumi.Input ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput ToCompliancePackConfigRuleArrayOutputWithContext(context.Context) CompliancePackConfigRuleArrayOutput }
CompliancePackConfigRuleArrayInput is an input type that accepts CompliancePackConfigRuleArray and CompliancePackConfigRuleArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleArrayInput` via:
CompliancePackConfigRuleArray{ CompliancePackConfigRuleArgs{...} }
type CompliancePackConfigRuleArrayOutput ¶
type CompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleArrayOutput) ElementType ¶
func (CompliancePackConfigRuleArrayOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleArrayOutput) Index ¶
func (o CompliancePackConfigRuleArrayOutput) Index(i pulumi.IntInput) CompliancePackConfigRuleOutput
func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput ¶
func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput
func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext ¶
func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput
type CompliancePackConfigRuleConfigRuleParameterArgs ¶
type CompliancePackConfigRuleConfigRuleParameterArgs struct { // The parameter name. ParameterName pulumi.StringPtrInput `pulumi:"parameterName"` // The parameter value. ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"` }
func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType ¶
func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput ¶
func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput
func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext ¶
func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput
type CompliancePackConfigRuleConfigRuleParameterArray ¶
type CompliancePackConfigRuleConfigRuleParameterArray []CompliancePackConfigRuleConfigRuleParameterInput
func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType ¶
func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput
func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput
type CompliancePackConfigRuleConfigRuleParameterArrayInput ¶
type CompliancePackConfigRuleConfigRuleParameterArrayInput interface { pulumi.Input ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput }
CompliancePackConfigRuleConfigRuleParameterArrayInput is an input type that accepts CompliancePackConfigRuleConfigRuleParameterArray and CompliancePackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleConfigRuleParameterArrayInput` via:
CompliancePackConfigRuleConfigRuleParameterArray{ CompliancePackConfigRuleConfigRuleParameterArgs{...} }
type CompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
type CompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType ¶
func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput ¶
func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput
func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput
type CompliancePackConfigRuleConfigRuleParameterInput ¶
type CompliancePackConfigRuleConfigRuleParameterInput interface { pulumi.Input ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(context.Context) CompliancePackConfigRuleConfigRuleParameterOutput }
CompliancePackConfigRuleConfigRuleParameterInput is an input type that accepts CompliancePackConfigRuleConfigRuleParameterArgs and CompliancePackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `CompliancePackConfigRuleConfigRuleParameterInput` via:
CompliancePackConfigRuleConfigRuleParameterArgs{...}
type CompliancePackConfigRuleConfigRuleParameterOutput ¶
type CompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType ¶
func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName ¶
func (o CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringPtrOutput
The parameter name.
func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue ¶
func (o CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringPtrOutput
The parameter value.
func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput ¶
func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput
func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext ¶
func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput
type CompliancePackConfigRuleId ¶
type CompliancePackConfigRuleId struct { // The rule ID of Config Rule. ConfigRuleId *string `pulumi:"configRuleId"` }
type CompliancePackConfigRuleIdArgs ¶
type CompliancePackConfigRuleIdArgs struct { // The rule ID of Config Rule. ConfigRuleId pulumi.StringPtrInput `pulumi:"configRuleId"` }
func (CompliancePackConfigRuleIdArgs) ElementType ¶
func (CompliancePackConfigRuleIdArgs) ElementType() reflect.Type
func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput ¶
func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput
func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext ¶
func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput
type CompliancePackConfigRuleIdArray ¶
type CompliancePackConfigRuleIdArray []CompliancePackConfigRuleIdInput
func (CompliancePackConfigRuleIdArray) ElementType ¶
func (CompliancePackConfigRuleIdArray) ElementType() reflect.Type
func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput ¶
func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput
func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext ¶
func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput
type CompliancePackConfigRuleIdArrayInput ¶
type CompliancePackConfigRuleIdArrayInput interface { pulumi.Input ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput ToCompliancePackConfigRuleIdArrayOutputWithContext(context.Context) CompliancePackConfigRuleIdArrayOutput }
CompliancePackConfigRuleIdArrayInput is an input type that accepts CompliancePackConfigRuleIdArray and CompliancePackConfigRuleIdArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleIdArrayInput` via:
CompliancePackConfigRuleIdArray{ CompliancePackConfigRuleIdArgs{...} }
type CompliancePackConfigRuleIdArrayOutput ¶
type CompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleIdArrayOutput) ElementType ¶
func (CompliancePackConfigRuleIdArrayOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleIdArrayOutput) Index ¶
func (o CompliancePackConfigRuleIdArrayOutput) Index(i pulumi.IntInput) CompliancePackConfigRuleIdOutput
func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput ¶
func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput
func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext ¶
func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput
type CompliancePackConfigRuleIdInput ¶
type CompliancePackConfigRuleIdInput interface { pulumi.Input ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput ToCompliancePackConfigRuleIdOutputWithContext(context.Context) CompliancePackConfigRuleIdOutput }
CompliancePackConfigRuleIdInput is an input type that accepts CompliancePackConfigRuleIdArgs and CompliancePackConfigRuleIdOutput values. You can construct a concrete instance of `CompliancePackConfigRuleIdInput` via:
CompliancePackConfigRuleIdArgs{...}
type CompliancePackConfigRuleIdOutput ¶
type CompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleIdOutput) ConfigRuleId ¶
func (o CompliancePackConfigRuleIdOutput) ConfigRuleId() pulumi.StringPtrOutput
The rule ID of Config Rule.
func (CompliancePackConfigRuleIdOutput) ElementType ¶
func (CompliancePackConfigRuleIdOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput ¶
func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput
func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext ¶
func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput
type CompliancePackConfigRuleInput ¶
type CompliancePackConfigRuleInput interface { pulumi.Input ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput ToCompliancePackConfigRuleOutputWithContext(context.Context) CompliancePackConfigRuleOutput }
CompliancePackConfigRuleInput is an input type that accepts CompliancePackConfigRuleArgs and CompliancePackConfigRuleOutput values. You can construct a concrete instance of `CompliancePackConfigRuleInput` via:
CompliancePackConfigRuleArgs{...}
type CompliancePackConfigRuleOutput ¶
type CompliancePackConfigRuleOutput struct{ *pulumi.OutputState }
func (CompliancePackConfigRuleOutput) ConfigRuleParameters ¶
func (o CompliancePackConfigRuleOutput) ConfigRuleParameters() CompliancePackConfigRuleConfigRuleParameterArrayOutput
A list of Config Rule Parameters.
func (CompliancePackConfigRuleOutput) ElementType ¶
func (CompliancePackConfigRuleOutput) ElementType() reflect.Type
func (CompliancePackConfigRuleOutput) ManagedRuleIdentifier ¶
func (o CompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
The Managed Rule Identifier.
func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput ¶
func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput
func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext ¶
func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput
type CompliancePackInput ¶
type CompliancePackInput interface { pulumi.Input ToCompliancePackOutput() CompliancePackOutput ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput }
type CompliancePackMap ¶
type CompliancePackMap map[string]CompliancePackInput
func (CompliancePackMap) ElementType ¶
func (CompliancePackMap) ElementType() reflect.Type
func (CompliancePackMap) ToCompliancePackMapOutput ¶
func (i CompliancePackMap) ToCompliancePackMapOutput() CompliancePackMapOutput
func (CompliancePackMap) ToCompliancePackMapOutputWithContext ¶
func (i CompliancePackMap) ToCompliancePackMapOutputWithContext(ctx context.Context) CompliancePackMapOutput
type CompliancePackMapInput ¶
type CompliancePackMapInput interface { pulumi.Input ToCompliancePackMapOutput() CompliancePackMapOutput ToCompliancePackMapOutputWithContext(context.Context) CompliancePackMapOutput }
CompliancePackMapInput is an input type that accepts CompliancePackMap and CompliancePackMapOutput values. You can construct a concrete instance of `CompliancePackMapInput` via:
CompliancePackMap{ "key": CompliancePackArgs{...} }
type CompliancePackMapOutput ¶
type CompliancePackMapOutput struct{ *pulumi.OutputState }
func (CompliancePackMapOutput) ElementType ¶
func (CompliancePackMapOutput) ElementType() reflect.Type
func (CompliancePackMapOutput) MapIndex ¶
func (o CompliancePackMapOutput) MapIndex(k pulumi.StringInput) CompliancePackOutput
func (CompliancePackMapOutput) ToCompliancePackMapOutput ¶
func (o CompliancePackMapOutput) ToCompliancePackMapOutput() CompliancePackMapOutput
func (CompliancePackMapOutput) ToCompliancePackMapOutputWithContext ¶
func (o CompliancePackMapOutput) ToCompliancePackMapOutputWithContext(ctx context.Context) CompliancePackMapOutput
type CompliancePackOutput ¶
type CompliancePackOutput struct{ *pulumi.OutputState }
func (CompliancePackOutput) CompliancePackName ¶
func (o CompliancePackOutput) CompliancePackName() pulumi.StringOutput
The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0.
func (CompliancePackOutput) CompliancePackTemplateId ¶
func (o CompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput
Compliance Package Template Id.
func (CompliancePackOutput) ConfigRuleIds ¶
func (o CompliancePackOutput) ConfigRuleIds() CompliancePackConfigRuleIdArrayOutput
A list of Config Rule IDs.
func (CompliancePackOutput) ConfigRules
deprecated
func (o CompliancePackOutput) ConfigRules() CompliancePackConfigRuleArrayOutput
A list of Config Rules.
Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
func (CompliancePackOutput) Description ¶
func (o CompliancePackOutput) Description() pulumi.StringOutput
The Description of compliance pack.
func (CompliancePackOutput) ElementType ¶
func (CompliancePackOutput) ElementType() reflect.Type
func (CompliancePackOutput) RiskLevel ¶
func (o CompliancePackOutput) RiskLevel() pulumi.IntOutput
The Risk Level. Valid values: `1`: critical, `2`: warning, `3`: info.
func (CompliancePackOutput) Status ¶
func (o CompliancePackOutput) Status() pulumi.StringOutput
The status of the resource. The valid values: `CREATING`, `ACTIVE`.
func (CompliancePackOutput) ToCompliancePackOutput ¶
func (o CompliancePackOutput) ToCompliancePackOutput() CompliancePackOutput
func (CompliancePackOutput) ToCompliancePackOutputWithContext ¶
func (o CompliancePackOutput) ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput
type CompliancePackState ¶
type CompliancePackState struct { // The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0. CompliancePackName pulumi.StringPtrInput // Compliance Package Template Id. CompliancePackTemplateId pulumi.StringPtrInput // A list of Config Rule IDs. ConfigRuleIds CompliancePackConfigRuleIdArrayInput // A list of Config Rules. // // Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead. ConfigRules CompliancePackConfigRuleArrayInput // The Description of compliance pack. Description pulumi.StringPtrInput // The Risk Level. Valid values: `1`: critical, `2`: warning, `3`: info. RiskLevel pulumi.IntPtrInput // The status of the resource. The valid values: `CREATING`, `ACTIVE`. Status pulumi.StringPtrInput }
func (CompliancePackState) ElementType ¶
func (CompliancePackState) ElementType() reflect.Type
type ConfigurationRecorder ¶
type ConfigurationRecorder struct { pulumi.CustomResourceState EnterpriseEdition pulumi.BoolOutput `pulumi:"enterpriseEdition"` // Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled. OrganizationEnableStatus pulumi.StringOutput `pulumi:"organizationEnableStatus"` // The ID of the Enterprise management account. OrganizationMasterId pulumi.IntOutput `pulumi:"organizationMasterId"` // A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) // * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed. // * If you use an enterprise account, the `resourceTypes` does not support updating. ResourceTypes pulumi.StringArrayOutput `pulumi:"resourceTypes"` // Status of resource monitoring. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Alicloud Config Configuration Recorder resource. Cloud Config is a specialized service for evaluating resources. Cloud Config tracks configuration changes of your resources and evaluates configuration compliance. Cloud Config can help you evaluate numerous resources and maintain the continuous compliance of your cloud infrastructure. For information about Alicloud Config Configuration Recorder and how to use it, see [What is Configuration Recorder.](https://www.alibabacloud.com/help/en/doc-detail/153156.html)
> **NOTE:** Available in v1.99.0+.
> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cfg.NewConfigurationRecorder(ctx, "example", &cfg.ConfigurationRecorderArgs{ ResourceTypes: pulumi.StringArray{ pulumi.String("ACS::ECS::Instance"), pulumi.String("ACS::ECS::Disk"), }, }) if err != nil { return err } return nil }) }
```
## Import
Alicloud Config Configuration Recorder can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/configurationRecorder:ConfigurationRecorder example 122378463********
```
func GetConfigurationRecorder ¶
func GetConfigurationRecorder(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationRecorderState, opts ...pulumi.ResourceOption) (*ConfigurationRecorder, error)
GetConfigurationRecorder gets an existing ConfigurationRecorder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfigurationRecorder ¶
func NewConfigurationRecorder(ctx *pulumi.Context, name string, args *ConfigurationRecorderArgs, opts ...pulumi.ResourceOption) (*ConfigurationRecorder, error)
NewConfigurationRecorder registers a new resource with the given unique name, arguments, and options.
func (*ConfigurationRecorder) ElementType ¶
func (*ConfigurationRecorder) ElementType() reflect.Type
func (*ConfigurationRecorder) ToConfigurationRecorderOutput ¶
func (i *ConfigurationRecorder) ToConfigurationRecorderOutput() ConfigurationRecorderOutput
func (*ConfigurationRecorder) ToConfigurationRecorderOutputWithContext ¶
func (i *ConfigurationRecorder) ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput
type ConfigurationRecorderArgs ¶
type ConfigurationRecorderArgs struct { EnterpriseEdition pulumi.BoolPtrInput // A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) // * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed. // * If you use an enterprise account, the `resourceTypes` does not support updating. ResourceTypes pulumi.StringArrayInput }
The set of arguments for constructing a ConfigurationRecorder resource.
func (ConfigurationRecorderArgs) ElementType ¶
func (ConfigurationRecorderArgs) ElementType() reflect.Type
type ConfigurationRecorderArray ¶
type ConfigurationRecorderArray []ConfigurationRecorderInput
func (ConfigurationRecorderArray) ElementType ¶
func (ConfigurationRecorderArray) ElementType() reflect.Type
func (ConfigurationRecorderArray) ToConfigurationRecorderArrayOutput ¶
func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput
func (ConfigurationRecorderArray) ToConfigurationRecorderArrayOutputWithContext ¶
func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput
type ConfigurationRecorderArrayInput ¶
type ConfigurationRecorderArrayInput interface { pulumi.Input ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput ToConfigurationRecorderArrayOutputWithContext(context.Context) ConfigurationRecorderArrayOutput }
ConfigurationRecorderArrayInput is an input type that accepts ConfigurationRecorderArray and ConfigurationRecorderArrayOutput values. You can construct a concrete instance of `ConfigurationRecorderArrayInput` via:
ConfigurationRecorderArray{ ConfigurationRecorderArgs{...} }
type ConfigurationRecorderArrayOutput ¶
type ConfigurationRecorderArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationRecorderArrayOutput) ElementType ¶
func (ConfigurationRecorderArrayOutput) ElementType() reflect.Type
func (ConfigurationRecorderArrayOutput) Index ¶
func (o ConfigurationRecorderArrayOutput) Index(i pulumi.IntInput) ConfigurationRecorderOutput
func (ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutput ¶
func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput
func (ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutputWithContext ¶
func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput
type ConfigurationRecorderInput ¶
type ConfigurationRecorderInput interface { pulumi.Input ToConfigurationRecorderOutput() ConfigurationRecorderOutput ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput }
type ConfigurationRecorderMap ¶
type ConfigurationRecorderMap map[string]ConfigurationRecorderInput
func (ConfigurationRecorderMap) ElementType ¶
func (ConfigurationRecorderMap) ElementType() reflect.Type
func (ConfigurationRecorderMap) ToConfigurationRecorderMapOutput ¶
func (i ConfigurationRecorderMap) ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput
func (ConfigurationRecorderMap) ToConfigurationRecorderMapOutputWithContext ¶
func (i ConfigurationRecorderMap) ToConfigurationRecorderMapOutputWithContext(ctx context.Context) ConfigurationRecorderMapOutput
type ConfigurationRecorderMapInput ¶
type ConfigurationRecorderMapInput interface { pulumi.Input ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput ToConfigurationRecorderMapOutputWithContext(context.Context) ConfigurationRecorderMapOutput }
ConfigurationRecorderMapInput is an input type that accepts ConfigurationRecorderMap and ConfigurationRecorderMapOutput values. You can construct a concrete instance of `ConfigurationRecorderMapInput` via:
ConfigurationRecorderMap{ "key": ConfigurationRecorderArgs{...} }
type ConfigurationRecorderMapOutput ¶
type ConfigurationRecorderMapOutput struct{ *pulumi.OutputState }
func (ConfigurationRecorderMapOutput) ElementType ¶
func (ConfigurationRecorderMapOutput) ElementType() reflect.Type
func (ConfigurationRecorderMapOutput) MapIndex ¶
func (o ConfigurationRecorderMapOutput) MapIndex(k pulumi.StringInput) ConfigurationRecorderOutput
func (ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutput ¶
func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput
func (ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutputWithContext ¶
func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutputWithContext(ctx context.Context) ConfigurationRecorderMapOutput
type ConfigurationRecorderOutput ¶
type ConfigurationRecorderOutput struct{ *pulumi.OutputState }
func (ConfigurationRecorderOutput) ElementType ¶
func (ConfigurationRecorderOutput) ElementType() reflect.Type
func (ConfigurationRecorderOutput) EnterpriseEdition ¶
func (o ConfigurationRecorderOutput) EnterpriseEdition() pulumi.BoolOutput
func (ConfigurationRecorderOutput) OrganizationEnableStatus ¶
func (o ConfigurationRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput
Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled.
func (ConfigurationRecorderOutput) OrganizationMasterId ¶
func (o ConfigurationRecorderOutput) OrganizationMasterId() pulumi.IntOutput
The ID of the Enterprise management account.
func (ConfigurationRecorderOutput) ResourceTypes ¶
func (o ConfigurationRecorderOutput) ResourceTypes() pulumi.StringArrayOutput
A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed. * If you use an enterprise account, the `resourceTypes` does not support updating.
func (ConfigurationRecorderOutput) Status ¶
func (o ConfigurationRecorderOutput) Status() pulumi.StringOutput
Status of resource monitoring. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding.
func (ConfigurationRecorderOutput) ToConfigurationRecorderOutput ¶
func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutput() ConfigurationRecorderOutput
func (ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext ¶
func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput
type ConfigurationRecorderState ¶
type ConfigurationRecorderState struct { EnterpriseEdition pulumi.BoolPtrInput // Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled. OrganizationEnableStatus pulumi.StringPtrInput // The ID of the Enterprise management account. OrganizationMasterId pulumi.IntPtrInput // A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) // * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed. // * If you use an enterprise account, the `resourceTypes` does not support updating. ResourceTypes pulumi.StringArrayInput // Status of resource monitoring. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding. Status pulumi.StringPtrInput }
func (ConfigurationRecorderState) ElementType ¶
func (ConfigurationRecorderState) ElementType() reflect.Type
type Delivery ¶
type Delivery struct { pulumi.CustomResourceState // Open or close delivery configuration change history. true: open, false: close. ConfigurationItemChangeNotification pulumi.BoolOutput `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolOutput `pulumi:"configurationSnapshot"` // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrOutput `pulumi:"deliveryChannelCondition"` // The name of the delivery method. DeliveryChannelName pulumi.StringPtrOutput `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringOutput `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"` // The description of the delivery method. Description pulumi.StringPtrOutput `pulumi:"description"` // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolOutput `pulumi:"nonCompliantNotification"` // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrOutput `pulumi:"oversizedDataOssTargetArn"` // 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. Status pulumi.IntOutput `pulumi:"status"` }
Provides a Cloud Config Delivery resource.
For information about Cloud Config Delivery and how to use it, see [What is Delivery](https://help.aliyun.com/document_detail/429798.html).
> **NOTE:** Available in v1.171.0+.
## Import
Cloud Config Delivery can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/delivery:Delivery example <id>
```
func GetDelivery ¶
func GetDelivery(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeliveryState, opts ...pulumi.ResourceOption) (*Delivery, error)
GetDelivery gets an existing Delivery resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDelivery ¶
func NewDelivery(ctx *pulumi.Context, name string, args *DeliveryArgs, opts ...pulumi.ResourceOption) (*Delivery, error)
NewDelivery registers a new resource with the given unique name, arguments, and options.
func (*Delivery) ElementType ¶
func (*Delivery) ToDeliveryOutput ¶
func (i *Delivery) ToDeliveryOutput() DeliveryOutput
func (*Delivery) ToDeliveryOutputWithContext ¶
func (i *Delivery) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput
type DeliveryArgs ¶
type DeliveryArgs struct { // Open or close delivery configuration change history. true: open, false: close. ConfigurationItemChangeNotification pulumi.BoolPtrInput // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolPtrInput // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrInput // The name of the delivery method. DeliveryChannelName pulumi.StringPtrInput // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringInput // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringInput // The description of the delivery method. Description pulumi.StringPtrInput // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolPtrInput // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
The set of arguments for constructing a Delivery resource.
func (DeliveryArgs) ElementType ¶
func (DeliveryArgs) ElementType() reflect.Type
type DeliveryArray ¶
type DeliveryArray []DeliveryInput
func (DeliveryArray) ElementType ¶
func (DeliveryArray) ElementType() reflect.Type
func (DeliveryArray) ToDeliveryArrayOutput ¶
func (i DeliveryArray) ToDeliveryArrayOutput() DeliveryArrayOutput
func (DeliveryArray) ToDeliveryArrayOutputWithContext ¶
func (i DeliveryArray) ToDeliveryArrayOutputWithContext(ctx context.Context) DeliveryArrayOutput
type DeliveryArrayInput ¶
type DeliveryArrayInput interface { pulumi.Input ToDeliveryArrayOutput() DeliveryArrayOutput ToDeliveryArrayOutputWithContext(context.Context) DeliveryArrayOutput }
DeliveryArrayInput is an input type that accepts DeliveryArray and DeliveryArrayOutput values. You can construct a concrete instance of `DeliveryArrayInput` via:
DeliveryArray{ DeliveryArgs{...} }
type DeliveryArrayOutput ¶
type DeliveryArrayOutput struct{ *pulumi.OutputState }
func (DeliveryArrayOutput) ElementType ¶
func (DeliveryArrayOutput) ElementType() reflect.Type
func (DeliveryArrayOutput) Index ¶
func (o DeliveryArrayOutput) Index(i pulumi.IntInput) DeliveryOutput
func (DeliveryArrayOutput) ToDeliveryArrayOutput ¶
func (o DeliveryArrayOutput) ToDeliveryArrayOutput() DeliveryArrayOutput
func (DeliveryArrayOutput) ToDeliveryArrayOutputWithContext ¶
func (o DeliveryArrayOutput) ToDeliveryArrayOutputWithContext(ctx context.Context) DeliveryArrayOutput
type DeliveryChannel ¶
type DeliveryChannel struct { pulumi.CustomResourceState // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn pulumi.StringOutput `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format. DeliveryChannelCondition pulumi.StringOutput `pulumi:"deliveryChannelCondition"` // The name of the delivery channel. DeliveryChannelName pulumi.StringOutput `pulumi:"deliveryChannelName"` // - The ARN of the delivery destination. This parameter is required when you create a delivery method. 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. // - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringOutput `pulumi:"deliveryChannelTargetArn"` // - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"` // The description of the delivery method. Description pulumi.StringOutput `pulumi:"description"` // 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. Status pulumi.IntOutput `pulumi:"status"` }
## Import
Alicloud Config Delivery Channel can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/deliveryChannel:DeliveryChannel example cdc-49a2ad756057********
```
func GetDeliveryChannel ¶
func GetDeliveryChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeliveryChannelState, opts ...pulumi.ResourceOption) (*DeliveryChannel, error)
GetDeliveryChannel gets an existing DeliveryChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDeliveryChannel ¶
func NewDeliveryChannel(ctx *pulumi.Context, name string, args *DeliveryChannelArgs, opts ...pulumi.ResourceOption) (*DeliveryChannel, error)
NewDeliveryChannel registers a new resource with the given unique name, arguments, and options.
func (*DeliveryChannel) ElementType ¶
func (*DeliveryChannel) ElementType() reflect.Type
func (*DeliveryChannel) ToDeliveryChannelOutput ¶
func (i *DeliveryChannel) ToDeliveryChannelOutput() DeliveryChannelOutput
func (*DeliveryChannel) ToDeliveryChannelOutputWithContext ¶
func (i *DeliveryChannel) ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput
type DeliveryChannelArgs ¶
type DeliveryChannelArgs struct { // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn pulumi.StringInput // The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format. DeliveryChannelCondition pulumi.StringPtrInput // The name of the delivery channel. DeliveryChannelName pulumi.StringPtrInput // - The ARN of the delivery destination. This parameter is required when you create a delivery method. 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. // - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringInput // - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringInput // The description of the delivery method. Description pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
The set of arguments for constructing a DeliveryChannel resource.
func (DeliveryChannelArgs) ElementType ¶
func (DeliveryChannelArgs) ElementType() reflect.Type
type DeliveryChannelArray ¶
type DeliveryChannelArray []DeliveryChannelInput
func (DeliveryChannelArray) ElementType ¶
func (DeliveryChannelArray) ElementType() reflect.Type
func (DeliveryChannelArray) ToDeliveryChannelArrayOutput ¶
func (i DeliveryChannelArray) ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput
func (DeliveryChannelArray) ToDeliveryChannelArrayOutputWithContext ¶
func (i DeliveryChannelArray) ToDeliveryChannelArrayOutputWithContext(ctx context.Context) DeliveryChannelArrayOutput
type DeliveryChannelArrayInput ¶
type DeliveryChannelArrayInput interface { pulumi.Input ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput ToDeliveryChannelArrayOutputWithContext(context.Context) DeliveryChannelArrayOutput }
DeliveryChannelArrayInput is an input type that accepts DeliveryChannelArray and DeliveryChannelArrayOutput values. You can construct a concrete instance of `DeliveryChannelArrayInput` via:
DeliveryChannelArray{ DeliveryChannelArgs{...} }
type DeliveryChannelArrayOutput ¶
type DeliveryChannelArrayOutput struct{ *pulumi.OutputState }
func (DeliveryChannelArrayOutput) ElementType ¶
func (DeliveryChannelArrayOutput) ElementType() reflect.Type
func (DeliveryChannelArrayOutput) Index ¶
func (o DeliveryChannelArrayOutput) Index(i pulumi.IntInput) DeliveryChannelOutput
func (DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutput ¶
func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput
func (DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutputWithContext ¶
func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutputWithContext(ctx context.Context) DeliveryChannelArrayOutput
type DeliveryChannelInput ¶
type DeliveryChannelInput interface { pulumi.Input ToDeliveryChannelOutput() DeliveryChannelOutput ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput }
type DeliveryChannelMap ¶
type DeliveryChannelMap map[string]DeliveryChannelInput
func (DeliveryChannelMap) ElementType ¶
func (DeliveryChannelMap) ElementType() reflect.Type
func (DeliveryChannelMap) ToDeliveryChannelMapOutput ¶
func (i DeliveryChannelMap) ToDeliveryChannelMapOutput() DeliveryChannelMapOutput
func (DeliveryChannelMap) ToDeliveryChannelMapOutputWithContext ¶
func (i DeliveryChannelMap) ToDeliveryChannelMapOutputWithContext(ctx context.Context) DeliveryChannelMapOutput
type DeliveryChannelMapInput ¶
type DeliveryChannelMapInput interface { pulumi.Input ToDeliveryChannelMapOutput() DeliveryChannelMapOutput ToDeliveryChannelMapOutputWithContext(context.Context) DeliveryChannelMapOutput }
DeliveryChannelMapInput is an input type that accepts DeliveryChannelMap and DeliveryChannelMapOutput values. You can construct a concrete instance of `DeliveryChannelMapInput` via:
DeliveryChannelMap{ "key": DeliveryChannelArgs{...} }
type DeliveryChannelMapOutput ¶
type DeliveryChannelMapOutput struct{ *pulumi.OutputState }
func (DeliveryChannelMapOutput) ElementType ¶
func (DeliveryChannelMapOutput) ElementType() reflect.Type
func (DeliveryChannelMapOutput) MapIndex ¶
func (o DeliveryChannelMapOutput) MapIndex(k pulumi.StringInput) DeliveryChannelOutput
func (DeliveryChannelMapOutput) ToDeliveryChannelMapOutput ¶
func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutput() DeliveryChannelMapOutput
func (DeliveryChannelMapOutput) ToDeliveryChannelMapOutputWithContext ¶
func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutputWithContext(ctx context.Context) DeliveryChannelMapOutput
type DeliveryChannelOutput ¶
type DeliveryChannelOutput struct{ *pulumi.OutputState }
func (DeliveryChannelOutput) DeliveryChannelAssumeRoleArn ¶
func (o DeliveryChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
func (DeliveryChannelOutput) DeliveryChannelCondition ¶
func (o DeliveryChannelOutput) DeliveryChannelCondition() pulumi.StringOutput
The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format.
func (DeliveryChannelOutput) DeliveryChannelName ¶
func (o DeliveryChannelOutput) DeliveryChannelName() pulumi.StringOutput
The name of the delivery channel.
func (DeliveryChannelOutput) DeliveryChannelTargetArn ¶
func (o DeliveryChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput
- The ARN of the delivery destination. This parameter is required when you create a delivery method. 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. - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
func (DeliveryChannelOutput) DeliveryChannelType ¶
func (o DeliveryChannelOutput) DeliveryChannelType() pulumi.StringOutput
- The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
func (DeliveryChannelOutput) Description ¶
func (o DeliveryChannelOutput) Description() pulumi.StringOutput
The description of the delivery method.
func (DeliveryChannelOutput) ElementType ¶
func (DeliveryChannelOutput) ElementType() reflect.Type
func (DeliveryChannelOutput) Status ¶
func (o DeliveryChannelOutput) Status() pulumi.IntOutput
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.
func (DeliveryChannelOutput) ToDeliveryChannelOutput ¶
func (o DeliveryChannelOutput) ToDeliveryChannelOutput() DeliveryChannelOutput
func (DeliveryChannelOutput) ToDeliveryChannelOutputWithContext ¶
func (o DeliveryChannelOutput) ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput
type DeliveryChannelState ¶
type DeliveryChannelState struct { // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn pulumi.StringPtrInput // The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format. DeliveryChannelCondition pulumi.StringPtrInput // The name of the delivery channel. DeliveryChannelName pulumi.StringPtrInput // - The ARN of the delivery destination. This parameter is required when you create a delivery method. 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. // - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringPtrInput // - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringPtrInput // The description of the delivery method. Description pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
func (DeliveryChannelState) ElementType ¶
func (DeliveryChannelState) ElementType() reflect.Type
type DeliveryInput ¶
type DeliveryInput interface { pulumi.Input ToDeliveryOutput() DeliveryOutput ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput }
type DeliveryMap ¶
type DeliveryMap map[string]DeliveryInput
func (DeliveryMap) ElementType ¶
func (DeliveryMap) ElementType() reflect.Type
func (DeliveryMap) ToDeliveryMapOutput ¶
func (i DeliveryMap) ToDeliveryMapOutput() DeliveryMapOutput
func (DeliveryMap) ToDeliveryMapOutputWithContext ¶
func (i DeliveryMap) ToDeliveryMapOutputWithContext(ctx context.Context) DeliveryMapOutput
type DeliveryMapInput ¶
type DeliveryMapInput interface { pulumi.Input ToDeliveryMapOutput() DeliveryMapOutput ToDeliveryMapOutputWithContext(context.Context) DeliveryMapOutput }
DeliveryMapInput is an input type that accepts DeliveryMap and DeliveryMapOutput values. You can construct a concrete instance of `DeliveryMapInput` via:
DeliveryMap{ "key": DeliveryArgs{...} }
type DeliveryMapOutput ¶
type DeliveryMapOutput struct{ *pulumi.OutputState }
func (DeliveryMapOutput) ElementType ¶
func (DeliveryMapOutput) ElementType() reflect.Type
func (DeliveryMapOutput) MapIndex ¶
func (o DeliveryMapOutput) MapIndex(k pulumi.StringInput) DeliveryOutput
func (DeliveryMapOutput) ToDeliveryMapOutput ¶
func (o DeliveryMapOutput) ToDeliveryMapOutput() DeliveryMapOutput
func (DeliveryMapOutput) ToDeliveryMapOutputWithContext ¶
func (o DeliveryMapOutput) ToDeliveryMapOutputWithContext(ctx context.Context) DeliveryMapOutput
type DeliveryOutput ¶
type DeliveryOutput struct{ *pulumi.OutputState }
func (DeliveryOutput) ConfigurationItemChangeNotification ¶
func (o DeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
Open or close delivery configuration change history. true: open, false: close.
func (DeliveryOutput) ConfigurationSnapshot ¶
func (o DeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
func (DeliveryOutput) DeliveryChannelCondition ¶
func (o DeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput
The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
func (DeliveryOutput) DeliveryChannelName ¶
func (o DeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput
The name of the delivery method.
func (DeliveryOutput) DeliveryChannelTargetArn ¶
func (o DeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
The ARN of the delivery destination. 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. * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
func (DeliveryOutput) DeliveryChannelType ¶
func (o DeliveryOutput) DeliveryChannelType() pulumi.StringOutput
The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
func (DeliveryOutput) Description ¶
func (o DeliveryOutput) Description() pulumi.StringPtrOutput
The description of the delivery method.
func (DeliveryOutput) ElementType ¶
func (DeliveryOutput) ElementType() reflect.Type
func (DeliveryOutput) NonCompliantNotification ¶
func (o DeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
func (DeliveryOutput) OversizedDataOssTargetArn ¶
func (o DeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput
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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
func (DeliveryOutput) Status ¶
func (o DeliveryOutput) Status() pulumi.IntOutput
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.
func (DeliveryOutput) ToDeliveryOutput ¶
func (o DeliveryOutput) ToDeliveryOutput() DeliveryOutput
func (DeliveryOutput) ToDeliveryOutputWithContext ¶
func (o DeliveryOutput) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput
type DeliveryState ¶
type DeliveryState struct { // Open or close delivery configuration change history. true: open, false: close. ConfigurationItemChangeNotification pulumi.BoolPtrInput // Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`. ConfigurationSnapshot pulumi.BoolPtrInput // The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`. DeliveryChannelCondition pulumi.StringPtrInput // The name of the delivery method. DeliveryChannelName pulumi.StringPtrInput // The ARN of the delivery destination. 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. // * `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic. // * `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore. DeliveryChannelTargetArn pulumi.StringPtrInput // The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service. DeliveryChannelType pulumi.StringPtrInput // The description of the delivery method. Description pulumi.StringPtrInput // Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`. NonCompliantNotification pulumi.BoolPtrInput // 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}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. // * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB. OversizedDataOssTargetArn pulumi.StringPtrInput // 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. Status pulumi.IntPtrInput }
func (DeliveryState) ElementType ¶
func (DeliveryState) ElementType() reflect.Type
type GetAggregateCompliancePacksArgs ¶
type GetAggregateCompliancePacksArgs struct { // The ID of aggregator. AggregatorId string `pulumi:"aggregatorId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Aggregate Compliance Pack IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Aggregate Compliance Pack name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getAggregateCompliancePacks.
type GetAggregateCompliancePacksOutputArgs ¶
type GetAggregateCompliancePacksOutputArgs struct { // The ID of aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Aggregate Compliance Pack IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Aggregate Compliance Pack name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAggregateCompliancePacks.
func (GetAggregateCompliancePacksOutputArgs) ElementType ¶
func (GetAggregateCompliancePacksOutputArgs) ElementType() reflect.Type
type GetAggregateCompliancePacksPack ¶
type GetAggregateCompliancePacksPack struct { // The Aliyun User Id. AccountId string `pulumi:"accountId"` AggregateCompliancePackName string `pulumi:"aggregateCompliancePackName"` // The Aggregate Compliance Package Id. // * `aggregateCompliancePackName` -The Aggregate Compliance Package Name. AggregatorCompliancePackId string `pulumi:"aggregatorCompliancePackId"` // The template ID of the Compliance Package. CompliancePackTemplateId string `pulumi:"compliancePackTemplateId"` // A list of The Aggregate Compliance Package Rules. ConfigRules []GetAggregateCompliancePacksPackConfigRule `pulumi:"configRules"` // The description of aggregate compliance pack. Description string `pulumi:"description"` // The ID of the Aggregate Compliance Pack. Id string `pulumi:"id"` // The Risk Level. RiskLevel int `pulumi:"riskLevel"` // The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`. Status string `pulumi:"status"` }
type GetAggregateCompliancePacksPackArgs ¶
type GetAggregateCompliancePacksPackArgs struct { // The Aliyun User Id. AccountId pulumi.StringInput `pulumi:"accountId"` AggregateCompliancePackName pulumi.StringInput `pulumi:"aggregateCompliancePackName"` // The Aggregate Compliance Package Id. // * `aggregateCompliancePackName` -The Aggregate Compliance Package Name. AggregatorCompliancePackId pulumi.StringInput `pulumi:"aggregatorCompliancePackId"` // The template ID of the Compliance Package. CompliancePackTemplateId pulumi.StringInput `pulumi:"compliancePackTemplateId"` // A list of The Aggregate Compliance Package Rules. ConfigRules GetAggregateCompliancePacksPackConfigRuleArrayInput `pulumi:"configRules"` // The description of aggregate compliance pack. Description pulumi.StringInput `pulumi:"description"` // The ID of the Aggregate Compliance Pack. Id pulumi.StringInput `pulumi:"id"` // The Risk Level. RiskLevel pulumi.IntInput `pulumi:"riskLevel"` // The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`. Status pulumi.StringInput `pulumi:"status"` }
func (GetAggregateCompliancePacksPackArgs) ElementType ¶
func (GetAggregateCompliancePacksPackArgs) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput ¶
func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput
func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext ¶
func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput
type GetAggregateCompliancePacksPackArray ¶
type GetAggregateCompliancePacksPackArray []GetAggregateCompliancePacksPackInput
func (GetAggregateCompliancePacksPackArray) ElementType ¶
func (GetAggregateCompliancePacksPackArray) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput ¶
func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput
func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext ¶
func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput
type GetAggregateCompliancePacksPackArrayInput ¶
type GetAggregateCompliancePacksPackArrayInput interface { pulumi.Input ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput ToGetAggregateCompliancePacksPackArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackArrayOutput }
GetAggregateCompliancePacksPackArrayInput is an input type that accepts GetAggregateCompliancePacksPackArray and GetAggregateCompliancePacksPackArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackArrayInput` via:
GetAggregateCompliancePacksPackArray{ GetAggregateCompliancePacksPackArgs{...} }
type GetAggregateCompliancePacksPackArrayOutput ¶
type GetAggregateCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackArrayOutput) ElementType ¶
func (GetAggregateCompliancePacksPackArrayOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput ¶
func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput
func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext ¶
func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput
type GetAggregateCompliancePacksPackConfigRule ¶
type GetAggregateCompliancePacksPackConfigRule struct { // The ID of the rule. ConfigRuleId string `pulumi:"configRuleId"` // A list of parameter rules. ConfigRuleParameters []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"` // Managed Rule Identifier. ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"` }
type GetAggregateCompliancePacksPackConfigRuleArgs ¶
type GetAggregateCompliancePacksPackConfigRuleArgs struct { // The ID of the rule. ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"` // A list of parameter rules. ConfigRuleParameters GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"` // Managed Rule Identifier. ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"` }
func (GetAggregateCompliancePacksPackConfigRuleArgs) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleArgs) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput ¶
func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput
func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext ¶
func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput
type GetAggregateCompliancePacksPackConfigRuleArray ¶
type GetAggregateCompliancePacksPackConfigRuleArray []GetAggregateCompliancePacksPackConfigRuleInput
func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput ¶
func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput
func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext ¶
func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput
type GetAggregateCompliancePacksPackConfigRuleArrayInput ¶
type GetAggregateCompliancePacksPackConfigRuleArrayInput interface { pulumi.Input ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput }
GetAggregateCompliancePacksPackConfigRuleArrayInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleArray and GetAggregateCompliancePacksPackConfigRuleArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleArrayInput` via:
GetAggregateCompliancePacksPackConfigRuleArray{ GetAggregateCompliancePacksPackConfigRuleArgs{...} }
type GetAggregateCompliancePacksPackConfigRuleArrayOutput ¶
type GetAggregateCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput ¶
func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput
func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext ¶
func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs struct { // The Parameter Name. ParameterName pulumi.StringInput `pulumi:"parameterName"` // The Parameter Value. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` // Required. Required pulumi.BoolInput `pulumi:"required"` }
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext ¶
func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface { pulumi.Input ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput }
GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray and GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput` via:
GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput interface { pulumi.Input ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput }
GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs and GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput` via:
GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringOutput
The Parameter Name.
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringOutput
The Parameter Value.
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required() pulumi.BoolOutput
Required.
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext ¶
func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
type GetAggregateCompliancePacksPackConfigRuleInput ¶
type GetAggregateCompliancePacksPackConfigRuleInput interface { pulumi.Input ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleOutput }
GetAggregateCompliancePacksPackConfigRuleInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleArgs and GetAggregateCompliancePacksPackConfigRuleOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleInput` via:
GetAggregateCompliancePacksPackConfigRuleArgs{...}
type GetAggregateCompliancePacksPackConfigRuleOutput ¶
type GetAggregateCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId ¶
func (o GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
The ID of the rule.
func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters ¶
func (o GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
A list of parameter rules.
func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType ¶
func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier ¶
func (o GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
Managed Rule Identifier.
func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput ¶
func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput
func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext ¶
func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput
type GetAggregateCompliancePacksPackInput ¶
type GetAggregateCompliancePacksPackInput interface { pulumi.Input ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput ToGetAggregateCompliancePacksPackOutputWithContext(context.Context) GetAggregateCompliancePacksPackOutput }
GetAggregateCompliancePacksPackInput is an input type that accepts GetAggregateCompliancePacksPackArgs and GetAggregateCompliancePacksPackOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackInput` via:
GetAggregateCompliancePacksPackArgs{...}
type GetAggregateCompliancePacksPackOutput ¶
type GetAggregateCompliancePacksPackOutput struct{ *pulumi.OutputState }
func (GetAggregateCompliancePacksPackOutput) AccountId ¶
func (o GetAggregateCompliancePacksPackOutput) AccountId() pulumi.StringOutput
The Aliyun User Id.
func (GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName ¶
func (o GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName() pulumi.StringOutput
func (GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId ¶
func (o GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId() pulumi.StringOutput
The Aggregate Compliance Package Id. * `aggregateCompliancePackName` -The Aggregate Compliance Package Name.
func (GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId ¶
func (o GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput
The template ID of the Compliance Package.
func (GetAggregateCompliancePacksPackOutput) ConfigRules ¶
func (o GetAggregateCompliancePacksPackOutput) ConfigRules() GetAggregateCompliancePacksPackConfigRuleArrayOutput
A list of The Aggregate Compliance Package Rules.
func (GetAggregateCompliancePacksPackOutput) Description ¶
func (o GetAggregateCompliancePacksPackOutput) Description() pulumi.StringOutput
The description of aggregate compliance pack.
func (GetAggregateCompliancePacksPackOutput) ElementType ¶
func (GetAggregateCompliancePacksPackOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksPackOutput) Id ¶
func (o GetAggregateCompliancePacksPackOutput) Id() pulumi.StringOutput
The ID of the Aggregate Compliance Pack.
func (GetAggregateCompliancePacksPackOutput) RiskLevel ¶
func (o GetAggregateCompliancePacksPackOutput) RiskLevel() pulumi.IntOutput
The Risk Level.
func (GetAggregateCompliancePacksPackOutput) Status ¶
func (o GetAggregateCompliancePacksPackOutput) Status() pulumi.StringOutput
The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.
func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput ¶
func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput
func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext ¶
func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput
type GetAggregateCompliancePacksResult ¶
type GetAggregateCompliancePacksResult struct { AggregatorId string `pulumi:"aggregatorId"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Config Aggregate Compliance Pack names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of Config Aggregate Compliance Packs. Each element contains the following attributes: Packs []GetAggregateCompliancePacksPack `pulumi:"packs"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of values returned by getAggregateCompliancePacks.
func GetAggregateCompliancePacks ¶
func GetAggregateCompliancePacks(ctx *pulumi.Context, args *GetAggregateCompliancePacksArgs, opts ...pulumi.InvokeOption) (*GetAggregateCompliancePacksResult, error)
This data source provides the Config Aggregate Compliance Packs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetAggregateCompliancePacks(ctx, &cfg.GetAggregateCompliancePacksArgs{ AggregatorId: "ca-3a9b626622af001d****", Ids: []string{ "cp-152a626622af00bc****", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstConfigAggregateCompliancePackId", example.Packs[0].Id) return nil }) }
```
type GetAggregateCompliancePacksResultOutput ¶
type GetAggregateCompliancePacksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAggregateCompliancePacks.
func GetAggregateCompliancePacksOutput ¶
func GetAggregateCompliancePacksOutput(ctx *pulumi.Context, args GetAggregateCompliancePacksOutputArgs, opts ...pulumi.InvokeOption) GetAggregateCompliancePacksResultOutput
func (GetAggregateCompliancePacksResultOutput) AggregatorId ¶
func (o GetAggregateCompliancePacksResultOutput) AggregatorId() pulumi.StringOutput
func (GetAggregateCompliancePacksResultOutput) ElementType ¶
func (GetAggregateCompliancePacksResultOutput) ElementType() reflect.Type
func (GetAggregateCompliancePacksResultOutput) EnableDetails ¶
func (o GetAggregateCompliancePacksResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetAggregateCompliancePacksResultOutput) Id ¶
func (o GetAggregateCompliancePacksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAggregateCompliancePacksResultOutput) Ids ¶
func (o GetAggregateCompliancePacksResultOutput) Ids() pulumi.StringArrayOutput
func (GetAggregateCompliancePacksResultOutput) NameRegex ¶
func (o GetAggregateCompliancePacksResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAggregateCompliancePacksResultOutput) Names ¶
func (o GetAggregateCompliancePacksResultOutput) Names() pulumi.StringArrayOutput
A list of Config Aggregate Compliance Pack names.
func (GetAggregateCompliancePacksResultOutput) OutputFile ¶
func (o GetAggregateCompliancePacksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAggregateCompliancePacksResultOutput) Packs ¶
A list of Config Aggregate Compliance Packs. Each element contains the following attributes:
func (GetAggregateCompliancePacksResultOutput) Status ¶
func (o GetAggregateCompliancePacksResultOutput) Status() pulumi.StringPtrOutput
The status of the resource.
func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput ¶
func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput() GetAggregateCompliancePacksResultOutput
func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext ¶
func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext(ctx context.Context) GetAggregateCompliancePacksResultOutput
type GetAggregateConfigRulesArgs ¶
type GetAggregateConfigRulesArgs struct { // The config rule name. AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"` // The ID of aggregator. AggregatorId string `pulumi:"aggregatorId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Aggregate Config Rule IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Aggregate Config Rule name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info. RiskLevel *int `pulumi:"riskLevel"` // The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getAggregateConfigRules.
type GetAggregateConfigRulesOutputArgs ¶
type GetAggregateConfigRulesOutputArgs struct { // The config rule name. AggregateConfigRuleName pulumi.StringPtrInput `pulumi:"aggregateConfigRuleName"` // The ID of aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Aggregate Config Rule IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Aggregate Config Rule name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info. RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"` // The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAggregateConfigRules.
func (GetAggregateConfigRulesOutputArgs) ElementType ¶
func (GetAggregateConfigRulesOutputArgs) ElementType() reflect.Type
type GetAggregateConfigRulesResult ¶
type GetAggregateConfigRulesResult struct { // The name of the rule. AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"` // The ID of Aggregator. // * `compliance` -The Compliance information. AggregatorId string `pulumi:"aggregatorId"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Aggregate Config Rule names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info. RiskLevel *int `pulumi:"riskLevel"` // A list of Config Aggregate Config Rules. Each element contains the following attributes: Rules []GetAggregateConfigRulesRule `pulumi:"rules"` // The status of the rule. Status *string `pulumi:"status"` }
A collection of values returned by getAggregateConfigRules.
func GetAggregateConfigRules ¶
func GetAggregateConfigRules(ctx *pulumi.Context, args *GetAggregateConfigRulesArgs, opts ...pulumi.InvokeOption) (*GetAggregateConfigRulesResult, error)
This data source provides the Config Aggregate Config Rules of the current Alibaba Cloud user.
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetAggregateConfigRules(ctx, &cfg.GetAggregateConfigRulesArgs{ AggregatorId: "ca-3a9b626622af001d****", Ids: []string{ "cr-5154626622af0034****", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstConfigAggregateConfigRuleId", example.Rules[0].Id) return nil }) }
```
type GetAggregateConfigRulesResultOutput ¶
type GetAggregateConfigRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAggregateConfigRules.
func GetAggregateConfigRulesOutput ¶
func GetAggregateConfigRulesOutput(ctx *pulumi.Context, args GetAggregateConfigRulesOutputArgs, opts ...pulumi.InvokeOption) GetAggregateConfigRulesResultOutput
func (GetAggregateConfigRulesResultOutput) AggregateConfigRuleName ¶
func (o GetAggregateConfigRulesResultOutput) AggregateConfigRuleName() pulumi.StringPtrOutput
The name of the rule.
func (GetAggregateConfigRulesResultOutput) AggregatorId ¶
func (o GetAggregateConfigRulesResultOutput) AggregatorId() pulumi.StringOutput
The ID of Aggregator. * `compliance` -The Compliance information.
func (GetAggregateConfigRulesResultOutput) ElementType ¶
func (GetAggregateConfigRulesResultOutput) ElementType() reflect.Type
func (GetAggregateConfigRulesResultOutput) EnableDetails ¶
func (o GetAggregateConfigRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetAggregateConfigRulesResultOutput) Id ¶
func (o GetAggregateConfigRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAggregateConfigRulesResultOutput) Ids ¶
func (o GetAggregateConfigRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetAggregateConfigRulesResultOutput) NameRegex ¶
func (o GetAggregateConfigRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAggregateConfigRulesResultOutput) Names ¶
func (o GetAggregateConfigRulesResultOutput) Names() pulumi.StringArrayOutput
A list of Aggregate Config Rule names.
func (GetAggregateConfigRulesResultOutput) OutputFile ¶
func (o GetAggregateConfigRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAggregateConfigRulesResultOutput) RiskLevel ¶
func (o GetAggregateConfigRulesResultOutput) RiskLevel() pulumi.IntPtrOutput
The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.
func (GetAggregateConfigRulesResultOutput) Rules ¶
A list of Config Aggregate Config Rules. Each element contains the following attributes:
func (GetAggregateConfigRulesResultOutput) Status ¶
func (o GetAggregateConfigRulesResultOutput) Status() pulumi.StringPtrOutput
The status of the rule.
func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput ¶
func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput() GetAggregateConfigRulesResultOutput
func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext ¶
func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext(ctx context.Context) GetAggregateConfigRulesResultOutput
type GetAggregateConfigRulesRule ¶
type GetAggregateConfigRulesRule struct { // The Aliyun User ID. AccountId string `pulumi:"accountId"` // The config rule name. AggregateConfigRuleName string `pulumi:"aggregateConfigRuleName"` // The ID of aggregator. AggregatorId string `pulumi:"aggregatorId"` // The ID of Compliance Package. CompliancePackId string `pulumi:"compliancePackId"` Compliances []GetAggregateConfigRulesRuleCompliance `pulumi:"compliances"` // The config rule arn. ConfigRuleArn string `pulumi:"configRuleArn"` // The ID of the rule. ConfigRuleId string `pulumi:"configRuleId"` // The trigger types of config rules. ConfigRuleTriggerTypes string `pulumi:"configRuleTriggerTypes"` // The description of the rule. Description string `pulumi:"description"` // Event source of the Config Rule. EventSource string `pulumi:"eventSource"` // The id of the resources to be evaluated against the rule. // * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. // * `sourceOwner`- The source owner of the Config Rule. ExcludeResourceIdsScope string `pulumi:"excludeResourceIdsScope"` // The ID of the Aggregate Config Rule. Id string `pulumi:"id"` // The settings of the input parameters for the rule. InputParameters map[string]interface{} `pulumi:"inputParameters"` // The frequency of the compliance evaluations. MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"` // The timestamp when the rule was last modified. ModifiedTimestamp string `pulumi:"modifiedTimestamp"` // The scope of resource region ids. RegionIdsScope string `pulumi:"regionIdsScope"` // The scope of resource group ids. ResourceGroupIdsScope string `pulumi:"resourceGroupIdsScope"` ResourceTypesScopes []string `pulumi:"resourceTypesScopes"` // Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info. RiskLevel int `pulumi:"riskLevel"` SourceIdentifier string `pulumi:"sourceIdentifier"` SourceOwner string `pulumi:"sourceOwner"` // The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status string `pulumi:"status"` // The scope of tay key. TagKeyScope string `pulumi:"tagKeyScope"` // The scope of tay value. TagValueScope string `pulumi:"tagValueScope"` }
type GetAggregateConfigRulesRuleArgs ¶
type GetAggregateConfigRulesRuleArgs struct { // The Aliyun User ID. AccountId pulumi.StringInput `pulumi:"accountId"` // The config rule name. AggregateConfigRuleName pulumi.StringInput `pulumi:"aggregateConfigRuleName"` // The ID of aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // The ID of Compliance Package. CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"` Compliances GetAggregateConfigRulesRuleComplianceArrayInput `pulumi:"compliances"` // The config rule arn. ConfigRuleArn pulumi.StringInput `pulumi:"configRuleArn"` // The ID of the rule. ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"` // The trigger types of config rules. ConfigRuleTriggerTypes pulumi.StringInput `pulumi:"configRuleTriggerTypes"` // The description of the rule. Description pulumi.StringInput `pulumi:"description"` // Event source of the Config Rule. EventSource pulumi.StringInput `pulumi:"eventSource"` // The id of the resources to be evaluated against the rule. // * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. // * `sourceOwner`- The source owner of the Config Rule. ExcludeResourceIdsScope pulumi.StringInput `pulumi:"excludeResourceIdsScope"` // The ID of the Aggregate Config Rule. Id pulumi.StringInput `pulumi:"id"` // The settings of the input parameters for the rule. InputParameters pulumi.MapInput `pulumi:"inputParameters"` // The frequency of the compliance evaluations. MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"` // The timestamp when the rule was last modified. ModifiedTimestamp pulumi.StringInput `pulumi:"modifiedTimestamp"` // The scope of resource region ids. RegionIdsScope pulumi.StringInput `pulumi:"regionIdsScope"` // The scope of resource group ids. ResourceGroupIdsScope pulumi.StringInput `pulumi:"resourceGroupIdsScope"` ResourceTypesScopes pulumi.StringArrayInput `pulumi:"resourceTypesScopes"` // Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info. RiskLevel pulumi.IntInput `pulumi:"riskLevel"` SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"` SourceOwner pulumi.StringInput `pulumi:"sourceOwner"` // The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status pulumi.StringInput `pulumi:"status"` // The scope of tay key. TagKeyScope pulumi.StringInput `pulumi:"tagKeyScope"` // The scope of tay value. TagValueScope pulumi.StringInput `pulumi:"tagValueScope"` }
func (GetAggregateConfigRulesRuleArgs) ElementType ¶
func (GetAggregateConfigRulesRuleArgs) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput ¶
func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput
func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext ¶
func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput
type GetAggregateConfigRulesRuleArray ¶
type GetAggregateConfigRulesRuleArray []GetAggregateConfigRulesRuleInput
func (GetAggregateConfigRulesRuleArray) ElementType ¶
func (GetAggregateConfigRulesRuleArray) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput ¶
func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput
func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext ¶
func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput
type GetAggregateConfigRulesRuleArrayInput ¶
type GetAggregateConfigRulesRuleArrayInput interface { pulumi.Input ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput ToGetAggregateConfigRulesRuleArrayOutputWithContext(context.Context) GetAggregateConfigRulesRuleArrayOutput }
GetAggregateConfigRulesRuleArrayInput is an input type that accepts GetAggregateConfigRulesRuleArray and GetAggregateConfigRulesRuleArrayOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleArrayInput` via:
GetAggregateConfigRulesRuleArray{ GetAggregateConfigRulesRuleArgs{...} }
type GetAggregateConfigRulesRuleArrayOutput ¶
type GetAggregateConfigRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateConfigRulesRuleArrayOutput) ElementType ¶
func (GetAggregateConfigRulesRuleArrayOutput) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput ¶
func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput
func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext ¶
func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput
type GetAggregateConfigRulesRuleComplianceArgs ¶
type GetAggregateConfigRulesRuleComplianceArgs struct { // The Compliance Type. ComplianceType pulumi.StringInput `pulumi:"complianceType"` // The Count. Count pulumi.IntInput `pulumi:"count"` }
func (GetAggregateConfigRulesRuleComplianceArgs) ElementType ¶
func (GetAggregateConfigRulesRuleComplianceArgs) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput ¶
func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput
func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext ¶
func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput
type GetAggregateConfigRulesRuleComplianceArray ¶
type GetAggregateConfigRulesRuleComplianceArray []GetAggregateConfigRulesRuleComplianceInput
func (GetAggregateConfigRulesRuleComplianceArray) ElementType ¶
func (GetAggregateConfigRulesRuleComplianceArray) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput ¶
func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput
func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext ¶
func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput
type GetAggregateConfigRulesRuleComplianceArrayInput ¶
type GetAggregateConfigRulesRuleComplianceArrayInput interface { pulumi.Input ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput }
GetAggregateConfigRulesRuleComplianceArrayInput is an input type that accepts GetAggregateConfigRulesRuleComplianceArray and GetAggregateConfigRulesRuleComplianceArrayOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleComplianceArrayInput` via:
GetAggregateConfigRulesRuleComplianceArray{ GetAggregateConfigRulesRuleComplianceArgs{...} }
type GetAggregateConfigRulesRuleComplianceArrayOutput ¶
type GetAggregateConfigRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType ¶
func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput ¶
func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput
func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext ¶
func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput
type GetAggregateConfigRulesRuleComplianceInput ¶
type GetAggregateConfigRulesRuleComplianceInput interface { pulumi.Input ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput ToGetAggregateConfigRulesRuleComplianceOutputWithContext(context.Context) GetAggregateConfigRulesRuleComplianceOutput }
GetAggregateConfigRulesRuleComplianceInput is an input type that accepts GetAggregateConfigRulesRuleComplianceArgs and GetAggregateConfigRulesRuleComplianceOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleComplianceInput` via:
GetAggregateConfigRulesRuleComplianceArgs{...}
type GetAggregateConfigRulesRuleComplianceOutput ¶
type GetAggregateConfigRulesRuleComplianceOutput struct{ *pulumi.OutputState }
func (GetAggregateConfigRulesRuleComplianceOutput) ComplianceType ¶
func (o GetAggregateConfigRulesRuleComplianceOutput) ComplianceType() pulumi.StringOutput
The Compliance Type.
func (GetAggregateConfigRulesRuleComplianceOutput) Count ¶
func (o GetAggregateConfigRulesRuleComplianceOutput) Count() pulumi.IntOutput
The Count.
func (GetAggregateConfigRulesRuleComplianceOutput) ElementType ¶
func (GetAggregateConfigRulesRuleComplianceOutput) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput ¶
func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput
func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext ¶
func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput
type GetAggregateConfigRulesRuleInput ¶
type GetAggregateConfigRulesRuleInput interface { pulumi.Input ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput ToGetAggregateConfigRulesRuleOutputWithContext(context.Context) GetAggregateConfigRulesRuleOutput }
GetAggregateConfigRulesRuleInput is an input type that accepts GetAggregateConfigRulesRuleArgs and GetAggregateConfigRulesRuleOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleInput` via:
GetAggregateConfigRulesRuleArgs{...}
type GetAggregateConfigRulesRuleOutput ¶
type GetAggregateConfigRulesRuleOutput struct{ *pulumi.OutputState }
func (GetAggregateConfigRulesRuleOutput) AccountId ¶
func (o GetAggregateConfigRulesRuleOutput) AccountId() pulumi.StringOutput
The Aliyun User ID.
func (GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName ¶
func (o GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName() pulumi.StringOutput
The config rule name.
func (GetAggregateConfigRulesRuleOutput) AggregatorId ¶
func (o GetAggregateConfigRulesRuleOutput) AggregatorId() pulumi.StringOutput
The ID of aggregator.
func (GetAggregateConfigRulesRuleOutput) CompliancePackId ¶
func (o GetAggregateConfigRulesRuleOutput) CompliancePackId() pulumi.StringOutput
The ID of Compliance Package.
func (GetAggregateConfigRulesRuleOutput) Compliances ¶
func (o GetAggregateConfigRulesRuleOutput) Compliances() GetAggregateConfigRulesRuleComplianceArrayOutput
func (GetAggregateConfigRulesRuleOutput) ConfigRuleArn ¶
func (o GetAggregateConfigRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput
The config rule arn.
func (GetAggregateConfigRulesRuleOutput) ConfigRuleId ¶
func (o GetAggregateConfigRulesRuleOutput) ConfigRuleId() pulumi.StringOutput
The ID of the rule.
func (GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes ¶
func (o GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
The trigger types of config rules.
func (GetAggregateConfigRulesRuleOutput) Description ¶
func (o GetAggregateConfigRulesRuleOutput) Description() pulumi.StringOutput
The description of the rule.
func (GetAggregateConfigRulesRuleOutput) ElementType ¶
func (GetAggregateConfigRulesRuleOutput) ElementType() reflect.Type
func (GetAggregateConfigRulesRuleOutput) EventSource ¶
func (o GetAggregateConfigRulesRuleOutput) EventSource() pulumi.StringOutput
Event source of the Config Rule.
func (GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope ¶
func (o GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput
The id of the resources to be evaluated against the rule. * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. * `sourceOwner`- The source owner of the Config Rule.
func (GetAggregateConfigRulesRuleOutput) Id ¶
func (o GetAggregateConfigRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Aggregate Config Rule.
func (GetAggregateConfigRulesRuleOutput) InputParameters ¶
func (o GetAggregateConfigRulesRuleOutput) InputParameters() pulumi.MapOutput
The settings of the input parameters for the rule.
func (GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency ¶
func (o GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
The frequency of the compliance evaluations.
func (GetAggregateConfigRulesRuleOutput) ModifiedTimestamp ¶
func (o GetAggregateConfigRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput
The timestamp when the rule was last modified.
func (GetAggregateConfigRulesRuleOutput) RegionIdsScope ¶
func (o GetAggregateConfigRulesRuleOutput) RegionIdsScope() pulumi.StringOutput
The scope of resource region ids.
func (GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope ¶
func (o GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput
The scope of resource group ids.
func (GetAggregateConfigRulesRuleOutput) ResourceTypesScopes ¶
func (o GetAggregateConfigRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
func (GetAggregateConfigRulesRuleOutput) RiskLevel ¶
func (o GetAggregateConfigRulesRuleOutput) RiskLevel() pulumi.IntOutput
Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.
func (GetAggregateConfigRulesRuleOutput) SourceIdentifier ¶
func (o GetAggregateConfigRulesRuleOutput) SourceIdentifier() pulumi.StringOutput
func (GetAggregateConfigRulesRuleOutput) SourceOwner ¶
func (o GetAggregateConfigRulesRuleOutput) SourceOwner() pulumi.StringOutput
func (GetAggregateConfigRulesRuleOutput) Status ¶
func (o GetAggregateConfigRulesRuleOutput) Status() pulumi.StringOutput
The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
func (GetAggregateConfigRulesRuleOutput) TagKeyScope ¶
func (o GetAggregateConfigRulesRuleOutput) TagKeyScope() pulumi.StringOutput
The scope of tay key.
func (GetAggregateConfigRulesRuleOutput) TagValueScope ¶
func (o GetAggregateConfigRulesRuleOutput) TagValueScope() pulumi.StringOutput
The scope of tay value.
func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput ¶
func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput
func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext ¶
func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput
type GetAggregateDeliveriesArgs ¶
type GetAggregateDeliveriesArgs struct { // The ID of the Aggregator. AggregatorId string `pulumi:"aggregatorId"` // A list of Aggregate Delivery IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status *int `pulumi:"status"` }
A collection of arguments for invoking getAggregateDeliveries.
type GetAggregateDeliveriesDelivery ¶
type GetAggregateDeliveriesDelivery struct { // The Aliyun User Id. AccountId string `pulumi:"accountId"` // The ID of the Aggregator. AggregatorId string `pulumi:"aggregatorId"` // Open or close delivery configuration change history. ConfigurationItemChangeNotification bool `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. ConfigurationSnapshot bool `pulumi:"configurationSnapshot"` // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"` // The ID of the delivery method. DeliveryChannelId string `pulumi:"deliveryChannelId"` // The name of the delivery method. DeliveryChannelName string `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn string `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. DeliveryChannelType string `pulumi:"deliveryChannelType"` // The description of the delivery method. Description string `pulumi:"description"` // The ID of the Aggregate Delivery. Id string `pulumi:"id"` // Open or close non-compliance events of delivery resources. NonCompliantNotification bool `pulumi:"nonCompliantNotification"` // The oss ARN of the delivery channel when the value data oversized limit. OversizedDataOssTargetArn string `pulumi:"oversizedDataOssTargetArn"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status int `pulumi:"status"` }
type GetAggregateDeliveriesDeliveryArgs ¶
type GetAggregateDeliveriesDeliveryArgs struct { // The Aliyun User Id. AccountId pulumi.StringInput `pulumi:"accountId"` // The ID of the Aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // Open or close delivery configuration change history. ConfigurationItemChangeNotification pulumi.BoolInput `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. ConfigurationSnapshot pulumi.BoolInput `pulumi:"configurationSnapshot"` // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"` // The ID of the delivery method. DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"` // The name of the delivery method. DeliveryChannelName pulumi.StringInput `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn pulumi.StringInput `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. DeliveryChannelType pulumi.StringInput `pulumi:"deliveryChannelType"` // The description of the delivery method. Description pulumi.StringInput `pulumi:"description"` // The ID of the Aggregate Delivery. Id pulumi.StringInput `pulumi:"id"` // Open or close non-compliance events of delivery resources. NonCompliantNotification pulumi.BoolInput `pulumi:"nonCompliantNotification"` // The oss ARN of the delivery channel when the value data oversized limit. OversizedDataOssTargetArn pulumi.StringInput `pulumi:"oversizedDataOssTargetArn"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status pulumi.IntInput `pulumi:"status"` }
func (GetAggregateDeliveriesDeliveryArgs) ElementType ¶
func (GetAggregateDeliveriesDeliveryArgs) ElementType() reflect.Type
func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput ¶
func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput
func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext ¶
func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput
type GetAggregateDeliveriesDeliveryArray ¶
type GetAggregateDeliveriesDeliveryArray []GetAggregateDeliveriesDeliveryInput
func (GetAggregateDeliveriesDeliveryArray) ElementType ¶
func (GetAggregateDeliveriesDeliveryArray) ElementType() reflect.Type
func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput ¶
func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput
func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext ¶
func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput
type GetAggregateDeliveriesDeliveryArrayInput ¶
type GetAggregateDeliveriesDeliveryArrayInput interface { pulumi.Input ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(context.Context) GetAggregateDeliveriesDeliveryArrayOutput }
GetAggregateDeliveriesDeliveryArrayInput is an input type that accepts GetAggregateDeliveriesDeliveryArray and GetAggregateDeliveriesDeliveryArrayOutput values. You can construct a concrete instance of `GetAggregateDeliveriesDeliveryArrayInput` via:
GetAggregateDeliveriesDeliveryArray{ GetAggregateDeliveriesDeliveryArgs{...} }
type GetAggregateDeliveriesDeliveryArrayOutput ¶
type GetAggregateDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }
func (GetAggregateDeliveriesDeliveryArrayOutput) ElementType ¶
func (GetAggregateDeliveriesDeliveryArrayOutput) ElementType() reflect.Type
func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput ¶
func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput
func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext ¶
func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput
type GetAggregateDeliveriesDeliveryInput ¶
type GetAggregateDeliveriesDeliveryInput interface { pulumi.Input ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput ToGetAggregateDeliveriesDeliveryOutputWithContext(context.Context) GetAggregateDeliveriesDeliveryOutput }
GetAggregateDeliveriesDeliveryInput is an input type that accepts GetAggregateDeliveriesDeliveryArgs and GetAggregateDeliveriesDeliveryOutput values. You can construct a concrete instance of `GetAggregateDeliveriesDeliveryInput` via:
GetAggregateDeliveriesDeliveryArgs{...}
type GetAggregateDeliveriesDeliveryOutput ¶
type GetAggregateDeliveriesDeliveryOutput struct{ *pulumi.OutputState }
func (GetAggregateDeliveriesDeliveryOutput) AccountId ¶
func (o GetAggregateDeliveriesDeliveryOutput) AccountId() pulumi.StringOutput
The Aliyun User Id.
func (GetAggregateDeliveriesDeliveryOutput) AggregatorId ¶
func (o GetAggregateDeliveriesDeliveryOutput) AggregatorId() pulumi.StringOutput
The ID of the Aggregator.
func (GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification ¶
func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
Open or close delivery configuration change history.
func (GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot ¶
func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
Open or close timed snapshot of shipping resources.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput
The rule attached to the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelId ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
The ID of the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelName ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput
The name of the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
The ARN of the delivery destination.
func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelType ¶
func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
The type of the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) Description ¶
func (o GetAggregateDeliveriesDeliveryOutput) Description() pulumi.StringOutput
The description of the delivery method.
func (GetAggregateDeliveriesDeliveryOutput) ElementType ¶
func (GetAggregateDeliveriesDeliveryOutput) ElementType() reflect.Type
func (GetAggregateDeliveriesDeliveryOutput) Id ¶
func (o GetAggregateDeliveriesDeliveryOutput) Id() pulumi.StringOutput
The ID of the Aggregate Delivery.
func (GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification ¶
func (o GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
Open or close non-compliance events of delivery resources.
func (GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn ¶
func (o GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput
The oss ARN of the delivery channel when the value data oversized limit.
func (GetAggregateDeliveriesDeliveryOutput) Status ¶
func (o GetAggregateDeliveriesDeliveryOutput) Status() pulumi.IntOutput
The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput ¶
func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput
func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext ¶
func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput
type GetAggregateDeliveriesOutputArgs ¶
type GetAggregateDeliveriesOutputArgs struct { // The ID of the Aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // A list of Aggregate Delivery IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status pulumi.IntPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAggregateDeliveries.
func (GetAggregateDeliveriesOutputArgs) ElementType ¶
func (GetAggregateDeliveriesOutputArgs) ElementType() reflect.Type
type GetAggregateDeliveriesResult ¶
type GetAggregateDeliveriesResult struct { AggregatorId string `pulumi:"aggregatorId"` Deliveries []GetAggregateDeliveriesDelivery `pulumi:"deliveries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *int `pulumi:"status"` }
A collection of values returned by getAggregateDeliveries.
func GetAggregateDeliveries ¶
func GetAggregateDeliveries(ctx *pulumi.Context, args *GetAggregateDeliveriesArgs, opts ...pulumi.InvokeOption) (*GetAggregateDeliveriesResult, error)
This data source provides the Config Aggregate Deliveries of the current Alibaba Cloud user.
> **NOTE:** Available in v1.172.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := cfg.GetAggregateDeliveries(ctx, &cfg.GetAggregateDeliveriesArgs{ AggregatorId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("configAggregateDeliveryId1", ids.Deliveries[0].Id) return nil }) }
```
type GetAggregateDeliveriesResultOutput ¶
type GetAggregateDeliveriesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAggregateDeliveries.
func GetAggregateDeliveriesOutput ¶
func GetAggregateDeliveriesOutput(ctx *pulumi.Context, args GetAggregateDeliveriesOutputArgs, opts ...pulumi.InvokeOption) GetAggregateDeliveriesResultOutput
func (GetAggregateDeliveriesResultOutput) AggregatorId ¶
func (o GetAggregateDeliveriesResultOutput) AggregatorId() pulumi.StringOutput
func (GetAggregateDeliveriesResultOutput) Deliveries ¶
func (o GetAggregateDeliveriesResultOutput) Deliveries() GetAggregateDeliveriesDeliveryArrayOutput
func (GetAggregateDeliveriesResultOutput) ElementType ¶
func (GetAggregateDeliveriesResultOutput) ElementType() reflect.Type
func (GetAggregateDeliveriesResultOutput) Id ¶
func (o GetAggregateDeliveriesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAggregateDeliveriesResultOutput) Ids ¶
func (o GetAggregateDeliveriesResultOutput) Ids() pulumi.StringArrayOutput
func (GetAggregateDeliveriesResultOutput) NameRegex ¶
func (o GetAggregateDeliveriesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAggregateDeliveriesResultOutput) Names ¶
func (o GetAggregateDeliveriesResultOutput) Names() pulumi.StringArrayOutput
func (GetAggregateDeliveriesResultOutput) OutputFile ¶
func (o GetAggregateDeliveriesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAggregateDeliveriesResultOutput) Status ¶
func (o GetAggregateDeliveriesResultOutput) Status() pulumi.IntPtrOutput
func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput ¶
func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput() GetAggregateDeliveriesResultOutput
func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext ¶
func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext(ctx context.Context) GetAggregateDeliveriesResultOutput
type GetAggregatorsAggregator ¶
type GetAggregatorsAggregator struct { // Aggregator account uid. AccountId string `pulumi:"accountId"` // Account information in aggregator. AggregatorAccounts []GetAggregatorsAggregatorAggregatorAccount `pulumi:"aggregatorAccounts"` // The id of aggregator. AggregatorId string `pulumi:"aggregatorId"` // The name of aggregator. AggregatorName string `pulumi:"aggregatorName"` // The type of aggregator. AggregatorType string `pulumi:"aggregatorType"` // The description of aggregator. Description string `pulumi:"description"` // The id of the aggregator. Id string `pulumi:"id"` // The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting. Status string `pulumi:"status"` }
type GetAggregatorsAggregatorAggregatorAccountArgs ¶
type GetAggregatorsAggregatorAggregatorAccountArgs struct { // Aggregator account uid. AccountId pulumi.StringInput `pulumi:"accountId"` // Aggregator account name. AccountName pulumi.StringInput `pulumi:"accountName"` // Aggregator account source type. AccountType pulumi.StringInput `pulumi:"accountType"` }
func (GetAggregatorsAggregatorAggregatorAccountArgs) ElementType ¶
func (GetAggregatorsAggregatorAggregatorAccountArgs) ElementType() reflect.Type
func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput ¶
func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput
func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext ¶
func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput
type GetAggregatorsAggregatorAggregatorAccountArray ¶
type GetAggregatorsAggregatorAggregatorAccountArray []GetAggregatorsAggregatorAggregatorAccountInput
func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType ¶
func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType() reflect.Type
func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput ¶
func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput
func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext ¶
func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput
type GetAggregatorsAggregatorAggregatorAccountArrayInput ¶
type GetAggregatorsAggregatorAggregatorAccountArrayInput interface { pulumi.Input ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput }
GetAggregatorsAggregatorAggregatorAccountArrayInput is an input type that accepts GetAggregatorsAggregatorAggregatorAccountArray and GetAggregatorsAggregatorAggregatorAccountArrayOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorAggregatorAccountArrayInput` via:
GetAggregatorsAggregatorAggregatorAccountArray{ GetAggregatorsAggregatorAggregatorAccountArgs{...} }
type GetAggregatorsAggregatorAggregatorAccountArrayOutput ¶
type GetAggregatorsAggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }
func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType ¶
func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType() reflect.Type
func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput ¶
func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput
func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext ¶
func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput
type GetAggregatorsAggregatorAggregatorAccountInput ¶
type GetAggregatorsAggregatorAggregatorAccountInput interface { pulumi.Input ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(context.Context) GetAggregatorsAggregatorAggregatorAccountOutput }
GetAggregatorsAggregatorAggregatorAccountInput is an input type that accepts GetAggregatorsAggregatorAggregatorAccountArgs and GetAggregatorsAggregatorAggregatorAccountOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorAggregatorAccountInput` via:
GetAggregatorsAggregatorAggregatorAccountArgs{...}
type GetAggregatorsAggregatorAggregatorAccountOutput ¶
type GetAggregatorsAggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }
func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountId ¶
func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountId() pulumi.StringOutput
Aggregator account uid.
func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountName ¶
func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountName() pulumi.StringOutput
Aggregator account name.
func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountType ¶
func (o GetAggregatorsAggregatorAggregatorAccountOutput) AccountType() pulumi.StringOutput
Aggregator account source type.
func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType ¶
func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType() reflect.Type
func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput ¶
func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput
func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext ¶
func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput
type GetAggregatorsAggregatorArgs ¶
type GetAggregatorsAggregatorArgs struct { // Aggregator account uid. AccountId pulumi.StringInput `pulumi:"accountId"` // Account information in aggregator. AggregatorAccounts GetAggregatorsAggregatorAggregatorAccountArrayInput `pulumi:"aggregatorAccounts"` // The id of aggregator. AggregatorId pulumi.StringInput `pulumi:"aggregatorId"` // The name of aggregator. AggregatorName pulumi.StringInput `pulumi:"aggregatorName"` // The type of aggregator. AggregatorType pulumi.StringInput `pulumi:"aggregatorType"` // The description of aggregator. Description pulumi.StringInput `pulumi:"description"` // The id of the aggregator. Id pulumi.StringInput `pulumi:"id"` // The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting. Status pulumi.StringInput `pulumi:"status"` }
func (GetAggregatorsAggregatorArgs) ElementType ¶
func (GetAggregatorsAggregatorArgs) ElementType() reflect.Type
func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput ¶
func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput
func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext ¶
func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput
type GetAggregatorsAggregatorArray ¶
type GetAggregatorsAggregatorArray []GetAggregatorsAggregatorInput
func (GetAggregatorsAggregatorArray) ElementType ¶
func (GetAggregatorsAggregatorArray) ElementType() reflect.Type
func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput ¶
func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput
func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext ¶
func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput
type GetAggregatorsAggregatorArrayInput ¶
type GetAggregatorsAggregatorArrayInput interface { pulumi.Input ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput ToGetAggregatorsAggregatorArrayOutputWithContext(context.Context) GetAggregatorsAggregatorArrayOutput }
GetAggregatorsAggregatorArrayInput is an input type that accepts GetAggregatorsAggregatorArray and GetAggregatorsAggregatorArrayOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorArrayInput` via:
GetAggregatorsAggregatorArray{ GetAggregatorsAggregatorArgs{...} }
type GetAggregatorsAggregatorArrayOutput ¶
type GetAggregatorsAggregatorArrayOutput struct{ *pulumi.OutputState }
func (GetAggregatorsAggregatorArrayOutput) ElementType ¶
func (GetAggregatorsAggregatorArrayOutput) ElementType() reflect.Type
func (GetAggregatorsAggregatorArrayOutput) Index ¶
func (o GetAggregatorsAggregatorArrayOutput) Index(i pulumi.IntInput) GetAggregatorsAggregatorOutput
func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput ¶
func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput
func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext ¶
func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput
type GetAggregatorsAggregatorInput ¶
type GetAggregatorsAggregatorInput interface { pulumi.Input ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput ToGetAggregatorsAggregatorOutputWithContext(context.Context) GetAggregatorsAggregatorOutput }
GetAggregatorsAggregatorInput is an input type that accepts GetAggregatorsAggregatorArgs and GetAggregatorsAggregatorOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorInput` via:
GetAggregatorsAggregatorArgs{...}
type GetAggregatorsAggregatorOutput ¶
type GetAggregatorsAggregatorOutput struct{ *pulumi.OutputState }
func (GetAggregatorsAggregatorOutput) AccountId ¶
func (o GetAggregatorsAggregatorOutput) AccountId() pulumi.StringOutput
Aggregator account uid.
func (GetAggregatorsAggregatorOutput) AggregatorAccounts ¶
func (o GetAggregatorsAggregatorOutput) AggregatorAccounts() GetAggregatorsAggregatorAggregatorAccountArrayOutput
Account information in aggregator.
func (GetAggregatorsAggregatorOutput) AggregatorId ¶
func (o GetAggregatorsAggregatorOutput) AggregatorId() pulumi.StringOutput
The id of aggregator.
func (GetAggregatorsAggregatorOutput) AggregatorName ¶
func (o GetAggregatorsAggregatorOutput) AggregatorName() pulumi.StringOutput
The name of aggregator.
func (GetAggregatorsAggregatorOutput) AggregatorType ¶
func (o GetAggregatorsAggregatorOutput) AggregatorType() pulumi.StringOutput
The type of aggregator.
func (GetAggregatorsAggregatorOutput) Description ¶
func (o GetAggregatorsAggregatorOutput) Description() pulumi.StringOutput
The description of aggregator.
func (GetAggregatorsAggregatorOutput) ElementType ¶
func (GetAggregatorsAggregatorOutput) ElementType() reflect.Type
func (GetAggregatorsAggregatorOutput) Id ¶
func (o GetAggregatorsAggregatorOutput) Id() pulumi.StringOutput
The id of the aggregator.
func (GetAggregatorsAggregatorOutput) Status ¶
func (o GetAggregatorsAggregatorOutput) Status() pulumi.StringOutput
The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting.
func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput ¶
func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput
func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext ¶
func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput
type GetAggregatorsArgs ¶
type GetAggregatorsArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of aggregator ids. Ids []string `pulumi:"ids"` // A regex string to filter results by aggregator name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting. Status *string `pulumi:"status"` }
A collection of arguments for invoking getAggregators.
type GetAggregatorsOutputArgs ¶
type GetAggregatorsOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of aggregator ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by aggregator name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAggregators.
func (GetAggregatorsOutputArgs) ElementType ¶
func (GetAggregatorsOutputArgs) ElementType() reflect.Type
type GetAggregatorsResult ¶
type GetAggregatorsResult struct { // A list of config aggregators. Each element contains the following attributes: Aggregators []GetAggregatorsAggregator `pulumi:"aggregators"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Aggregator names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of values returned by getAggregators.
func GetAggregators ¶
func GetAggregators(ctx *pulumi.Context, args *GetAggregatorsArgs, opts ...pulumi.InvokeOption) (*GetAggregatorsResult, error)
This data source provides the Config Aggregators of the current Alibaba Cloud user.
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetAggregators(ctx, &cfg.GetAggregatorsArgs{ Ids: []string{ "ca-3ce2626622af0005****", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstConfigAggregatorId", example.Aggregators[0].Id) return nil }) }
```
type GetAggregatorsResultOutput ¶
type GetAggregatorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAggregators.
func GetAggregatorsOutput ¶
func GetAggregatorsOutput(ctx *pulumi.Context, args GetAggregatorsOutputArgs, opts ...pulumi.InvokeOption) GetAggregatorsResultOutput
func (GetAggregatorsResultOutput) Aggregators ¶
func (o GetAggregatorsResultOutput) Aggregators() GetAggregatorsAggregatorArrayOutput
A list of config aggregators. Each element contains the following attributes:
func (GetAggregatorsResultOutput) ElementType ¶
func (GetAggregatorsResultOutput) ElementType() reflect.Type
func (GetAggregatorsResultOutput) EnableDetails ¶
func (o GetAggregatorsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetAggregatorsResultOutput) Id ¶
func (o GetAggregatorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAggregatorsResultOutput) Ids ¶
func (o GetAggregatorsResultOutput) Ids() pulumi.StringArrayOutput
func (GetAggregatorsResultOutput) NameRegex ¶
func (o GetAggregatorsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAggregatorsResultOutput) Names ¶
func (o GetAggregatorsResultOutput) Names() pulumi.StringArrayOutput
A list of Aggregator names.
func (GetAggregatorsResultOutput) OutputFile ¶
func (o GetAggregatorsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAggregatorsResultOutput) Status ¶
func (o GetAggregatorsResultOutput) Status() pulumi.StringPtrOutput
The status of the resource.
func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutput ¶
func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutput() GetAggregatorsResultOutput
func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext ¶
func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext(ctx context.Context) GetAggregatorsResultOutput
type GetCompliancePacksArgs ¶
type GetCompliancePacksArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Compliance Pack IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Compliance Pack name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Valid values `ACTIVE`, `CREATING`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getCompliancePacks.
type GetCompliancePacksOutputArgs ¶
type GetCompliancePacksOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Compliance Pack IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Compliance Pack name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Valid values `ACTIVE`, `CREATING`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getCompliancePacks.
func (GetCompliancePacksOutputArgs) ElementType ¶
func (GetCompliancePacksOutputArgs) ElementType() reflect.Type
type GetCompliancePacksPack ¶
type GetCompliancePacksPack struct { // The Aliyun User Id. AccountId string `pulumi:"accountId"` // The Compliance Package ID. CompliancePackId string `pulumi:"compliancePackId"` // The Compliance Package Name. CompliancePackName string `pulumi:"compliancePackName"` // The template ID of the Compliance Package. CompliancePackTemplateId string `pulumi:"compliancePackTemplateId"` // A list of The Compliance Package Rules. ConfigRules []GetCompliancePacksPackConfigRule `pulumi:"configRules"` // The description of compliance pack. Description string `pulumi:"description"` // The ID of the Compliance Pack. Id string `pulumi:"id"` // The Ris Level. RiskLevel int `pulumi:"riskLevel"` // The status of the resource. Valid values `ACTIVE`, `CREATING`. Status string `pulumi:"status"` }
type GetCompliancePacksPackArgs ¶
type GetCompliancePacksPackArgs struct { // The Aliyun User Id. AccountId pulumi.StringInput `pulumi:"accountId"` // The Compliance Package ID. CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"` // The Compliance Package Name. CompliancePackName pulumi.StringInput `pulumi:"compliancePackName"` // The template ID of the Compliance Package. CompliancePackTemplateId pulumi.StringInput `pulumi:"compliancePackTemplateId"` // A list of The Compliance Package Rules. ConfigRules GetCompliancePacksPackConfigRuleArrayInput `pulumi:"configRules"` // The description of compliance pack. Description pulumi.StringInput `pulumi:"description"` // The ID of the Compliance Pack. Id pulumi.StringInput `pulumi:"id"` // The Ris Level. RiskLevel pulumi.IntInput `pulumi:"riskLevel"` // The status of the resource. Valid values `ACTIVE`, `CREATING`. Status pulumi.StringInput `pulumi:"status"` }
func (GetCompliancePacksPackArgs) ElementType ¶
func (GetCompliancePacksPackArgs) ElementType() reflect.Type
func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput ¶
func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput
func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext ¶
func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext(ctx context.Context) GetCompliancePacksPackOutput
type GetCompliancePacksPackArray ¶
type GetCompliancePacksPackArray []GetCompliancePacksPackInput
func (GetCompliancePacksPackArray) ElementType ¶
func (GetCompliancePacksPackArray) ElementType() reflect.Type
func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput ¶
func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput
func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext ¶
func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput
type GetCompliancePacksPackArrayInput ¶
type GetCompliancePacksPackArrayInput interface { pulumi.Input ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput ToGetCompliancePacksPackArrayOutputWithContext(context.Context) GetCompliancePacksPackArrayOutput }
GetCompliancePacksPackArrayInput is an input type that accepts GetCompliancePacksPackArray and GetCompliancePacksPackArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackArrayInput` via:
GetCompliancePacksPackArray{ GetCompliancePacksPackArgs{...} }
type GetCompliancePacksPackArrayOutput ¶
type GetCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackArrayOutput) ElementType ¶
func (GetCompliancePacksPackArrayOutput) ElementType() reflect.Type
func (GetCompliancePacksPackArrayOutput) Index ¶
func (o GetCompliancePacksPackArrayOutput) Index(i pulumi.IntInput) GetCompliancePacksPackOutput
func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput ¶
func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput
func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext ¶
func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput
type GetCompliancePacksPackConfigRule ¶
type GetCompliancePacksPackConfigRule struct { // The ID of the rule. ConfigRuleId string `pulumi:"configRuleId"` // A list of parameter rules. ConfigRuleParameters []GetCompliancePacksPackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"` // Managed Rule Identifier. ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"` }
type GetCompliancePacksPackConfigRuleArgs ¶
type GetCompliancePacksPackConfigRuleArgs struct { // The ID of the rule. ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"` // A list of parameter rules. ConfigRuleParameters GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"` // Managed Rule Identifier. ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"` }
func (GetCompliancePacksPackConfigRuleArgs) ElementType ¶
func (GetCompliancePacksPackConfigRuleArgs) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput ¶
func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput
func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext ¶
func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput
type GetCompliancePacksPackConfigRuleArray ¶
type GetCompliancePacksPackConfigRuleArray []GetCompliancePacksPackConfigRuleInput
func (GetCompliancePacksPackConfigRuleArray) ElementType ¶
func (GetCompliancePacksPackConfigRuleArray) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput ¶
func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput
func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext ¶
func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput
type GetCompliancePacksPackConfigRuleArrayInput ¶
type GetCompliancePacksPackConfigRuleArrayInput interface { pulumi.Input ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleArrayOutput }
GetCompliancePacksPackConfigRuleArrayInput is an input type that accepts GetCompliancePacksPackConfigRuleArray and GetCompliancePacksPackConfigRuleArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleArrayInput` via:
GetCompliancePacksPackConfigRuleArray{ GetCompliancePacksPackConfigRuleArgs{...} }
type GetCompliancePacksPackConfigRuleArrayOutput ¶
type GetCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType ¶
func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput ¶
func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput
func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext ¶
func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput
type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs struct { // The Parameter Name. ParameterName pulumi.StringInput `pulumi:"parameterName"` // The Parameter Value. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` // Required. Required pulumi.BoolInput `pulumi:"required"` }
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType ¶
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext ¶
func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
type GetCompliancePacksPackConfigRuleConfigRuleParameterArray ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterArray []GetCompliancePacksPackConfigRuleConfigRuleParameterInput
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType ¶
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface { pulumi.Input ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput }
GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput is an input type that accepts GetCompliancePacksPackConfigRuleConfigRuleParameterArray and GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput` via:
GetCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }
type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType ¶
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
type GetCompliancePacksPackConfigRuleConfigRuleParameterInput ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterInput interface { pulumi.Input ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput }
GetCompliancePacksPackConfigRuleConfigRuleParameterInput is an input type that accepts GetCompliancePacksPackConfigRuleConfigRuleParameterArgs and GetCompliancePacksPackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleConfigRuleParameterInput` via:
GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}
type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType ¶
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName() pulumi.StringOutput
The Parameter Name.
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue() pulumi.StringOutput
The Parameter Value.
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required() pulumi.BoolOutput
Required.
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext ¶
func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
type GetCompliancePacksPackConfigRuleInput ¶
type GetCompliancePacksPackConfigRuleInput interface { pulumi.Input ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput ToGetCompliancePacksPackConfigRuleOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleOutput }
GetCompliancePacksPackConfigRuleInput is an input type that accepts GetCompliancePacksPackConfigRuleArgs and GetCompliancePacksPackConfigRuleOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleInput` via:
GetCompliancePacksPackConfigRuleArgs{...}
type GetCompliancePacksPackConfigRuleOutput ¶
type GetCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleId ¶
func (o GetCompliancePacksPackConfigRuleOutput) ConfigRuleId() pulumi.StringOutput
The ID of the rule.
func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters ¶
func (o GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
A list of parameter rules.
func (GetCompliancePacksPackConfigRuleOutput) ElementType ¶
func (GetCompliancePacksPackConfigRuleOutput) ElementType() reflect.Type
func (GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier ¶
func (o GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput
Managed Rule Identifier.
func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput ¶
func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput
func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext ¶
func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput
type GetCompliancePacksPackInput ¶
type GetCompliancePacksPackInput interface { pulumi.Input ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput ToGetCompliancePacksPackOutputWithContext(context.Context) GetCompliancePacksPackOutput }
GetCompliancePacksPackInput is an input type that accepts GetCompliancePacksPackArgs and GetCompliancePacksPackOutput values. You can construct a concrete instance of `GetCompliancePacksPackInput` via:
GetCompliancePacksPackArgs{...}
type GetCompliancePacksPackOutput ¶
type GetCompliancePacksPackOutput struct{ *pulumi.OutputState }
func (GetCompliancePacksPackOutput) AccountId ¶
func (o GetCompliancePacksPackOutput) AccountId() pulumi.StringOutput
The Aliyun User Id.
func (GetCompliancePacksPackOutput) CompliancePackId ¶
func (o GetCompliancePacksPackOutput) CompliancePackId() pulumi.StringOutput
The Compliance Package ID.
func (GetCompliancePacksPackOutput) CompliancePackName ¶
func (o GetCompliancePacksPackOutput) CompliancePackName() pulumi.StringOutput
The Compliance Package Name.
func (GetCompliancePacksPackOutput) CompliancePackTemplateId ¶
func (o GetCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput
The template ID of the Compliance Package.
func (GetCompliancePacksPackOutput) ConfigRules ¶
func (o GetCompliancePacksPackOutput) ConfigRules() GetCompliancePacksPackConfigRuleArrayOutput
A list of The Compliance Package Rules.
func (GetCompliancePacksPackOutput) Description ¶
func (o GetCompliancePacksPackOutput) Description() pulumi.StringOutput
The description of compliance pack.
func (GetCompliancePacksPackOutput) ElementType ¶
func (GetCompliancePacksPackOutput) ElementType() reflect.Type
func (GetCompliancePacksPackOutput) Id ¶
func (o GetCompliancePacksPackOutput) Id() pulumi.StringOutput
The ID of the Compliance Pack.
func (GetCompliancePacksPackOutput) RiskLevel ¶
func (o GetCompliancePacksPackOutput) RiskLevel() pulumi.IntOutput
The Ris Level.
func (GetCompliancePacksPackOutput) Status ¶
func (o GetCompliancePacksPackOutput) Status() pulumi.StringOutput
The status of the resource. Valid values `ACTIVE`, `CREATING`.
func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput ¶
func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput
func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext ¶
func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext(ctx context.Context) GetCompliancePacksPackOutput
type GetCompliancePacksResult ¶
type GetCompliancePacksResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Compliance Pack names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of Config Compliance Packs. Each element contains the following attributes: Packs []GetCompliancePacksPack `pulumi:"packs"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of values returned by getCompliancePacks.
func GetCompliancePacks ¶
func GetCompliancePacks(ctx *pulumi.Context, args *GetCompliancePacksArgs, opts ...pulumi.InvokeOption) (*GetCompliancePacksResult, error)
This data source provides the Config Compliance Packs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.124.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetCompliancePacks(ctx, &cfg.GetCompliancePacksArgs{ Ids: []string{ "cp-152a626622af00bc****", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstConfigCompliancePackId", example.Packs[0].Id) return nil }) }
```
type GetCompliancePacksResultOutput ¶
type GetCompliancePacksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCompliancePacks.
func GetCompliancePacksOutput ¶
func GetCompliancePacksOutput(ctx *pulumi.Context, args GetCompliancePacksOutputArgs, opts ...pulumi.InvokeOption) GetCompliancePacksResultOutput
func (GetCompliancePacksResultOutput) ElementType ¶
func (GetCompliancePacksResultOutput) ElementType() reflect.Type
func (GetCompliancePacksResultOutput) EnableDetails ¶
func (o GetCompliancePacksResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetCompliancePacksResultOutput) Id ¶
func (o GetCompliancePacksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCompliancePacksResultOutput) Ids ¶
func (o GetCompliancePacksResultOutput) Ids() pulumi.StringArrayOutput
func (GetCompliancePacksResultOutput) NameRegex ¶
func (o GetCompliancePacksResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetCompliancePacksResultOutput) Names ¶
func (o GetCompliancePacksResultOutput) Names() pulumi.StringArrayOutput
A list of Compliance Pack names.
func (GetCompliancePacksResultOutput) OutputFile ¶
func (o GetCompliancePacksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetCompliancePacksResultOutput) Packs ¶
func (o GetCompliancePacksResultOutput) Packs() GetCompliancePacksPackArrayOutput
A list of Config Compliance Packs. Each element contains the following attributes:
func (GetCompliancePacksResultOutput) Status ¶
func (o GetCompliancePacksResultOutput) Status() pulumi.StringPtrOutput
The status of the resource.
func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput ¶
func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput() GetCompliancePacksResultOutput
func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext ¶
func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext(ctx context.Context) GetCompliancePacksResultOutput
type GetConfigurationRecordersArgs ¶
type GetConfigurationRecordersArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getConfigurationRecorders.
type GetConfigurationRecordersOutputArgs ¶
type GetConfigurationRecordersOutputArgs struct {
OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}
A collection of arguments for invoking getConfigurationRecorders.
func (GetConfigurationRecordersOutputArgs) ElementType ¶
func (GetConfigurationRecordersOutputArgs) ElementType() reflect.Type
type GetConfigurationRecordersRecorder ¶
type GetConfigurationRecordersRecorder struct { AccountId string `pulumi:"accountId"` // The ID of the Config Configuration Recorder. Value as the `accountId`. // * `accountId`- The ID of the Alicloud account. Id string `pulumi:"id"` // Enterprise version configuration audit enabled status. OrganizationEnableStatus string `pulumi:"organizationEnableStatus"` // The ID of the Enterprise management account. OrganizationMasterId int `pulumi:"organizationMasterId"` // A list of resource types to be monitored. ResourceTypes []string `pulumi:"resourceTypes"` // Status of resource monitoring. Status string `pulumi:"status"` }
type GetConfigurationRecordersRecorderArgs ¶
type GetConfigurationRecordersRecorderArgs struct { AccountId pulumi.StringInput `pulumi:"accountId"` // The ID of the Config Configuration Recorder. Value as the `accountId`. // * `accountId`- The ID of the Alicloud account. Id pulumi.StringInput `pulumi:"id"` // Enterprise version configuration audit enabled status. OrganizationEnableStatus pulumi.StringInput `pulumi:"organizationEnableStatus"` // The ID of the Enterprise management account. OrganizationMasterId pulumi.IntInput `pulumi:"organizationMasterId"` // A list of resource types to be monitored. ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"` // Status of resource monitoring. Status pulumi.StringInput `pulumi:"status"` }
func (GetConfigurationRecordersRecorderArgs) ElementType ¶
func (GetConfigurationRecordersRecorderArgs) ElementType() reflect.Type
func (GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutput ¶
func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput
func (GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutputWithContext ¶
func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput
type GetConfigurationRecordersRecorderArray ¶
type GetConfigurationRecordersRecorderArray []GetConfigurationRecordersRecorderInput
func (GetConfigurationRecordersRecorderArray) ElementType ¶
func (GetConfigurationRecordersRecorderArray) ElementType() reflect.Type
func (GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutput ¶
func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput
func (GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutputWithContext ¶
func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput
type GetConfigurationRecordersRecorderArrayInput ¶
type GetConfigurationRecordersRecorderArrayInput interface { pulumi.Input ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput ToGetConfigurationRecordersRecorderArrayOutputWithContext(context.Context) GetConfigurationRecordersRecorderArrayOutput }
GetConfigurationRecordersRecorderArrayInput is an input type that accepts GetConfigurationRecordersRecorderArray and GetConfigurationRecordersRecorderArrayOutput values. You can construct a concrete instance of `GetConfigurationRecordersRecorderArrayInput` via:
GetConfigurationRecordersRecorderArray{ GetConfigurationRecordersRecorderArgs{...} }
type GetConfigurationRecordersRecorderArrayOutput ¶
type GetConfigurationRecordersRecorderArrayOutput struct{ *pulumi.OutputState }
func (GetConfigurationRecordersRecorderArrayOutput) ElementType ¶
func (GetConfigurationRecordersRecorderArrayOutput) ElementType() reflect.Type
func (GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutput ¶
func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput
func (GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutputWithContext ¶
func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput
type GetConfigurationRecordersRecorderInput ¶
type GetConfigurationRecordersRecorderInput interface { pulumi.Input ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput ToGetConfigurationRecordersRecorderOutputWithContext(context.Context) GetConfigurationRecordersRecorderOutput }
GetConfigurationRecordersRecorderInput is an input type that accepts GetConfigurationRecordersRecorderArgs and GetConfigurationRecordersRecorderOutput values. You can construct a concrete instance of `GetConfigurationRecordersRecorderInput` via:
GetConfigurationRecordersRecorderArgs{...}
type GetConfigurationRecordersRecorderOutput ¶
type GetConfigurationRecordersRecorderOutput struct{ *pulumi.OutputState }
func (GetConfigurationRecordersRecorderOutput) AccountId ¶
func (o GetConfigurationRecordersRecorderOutput) AccountId() pulumi.StringOutput
func (GetConfigurationRecordersRecorderOutput) ElementType ¶
func (GetConfigurationRecordersRecorderOutput) ElementType() reflect.Type
func (GetConfigurationRecordersRecorderOutput) Id ¶
func (o GetConfigurationRecordersRecorderOutput) Id() pulumi.StringOutput
The ID of the Config Configuration Recorder. Value as the `accountId`. * `accountId`- The ID of the Alicloud account.
func (GetConfigurationRecordersRecorderOutput) OrganizationEnableStatus ¶
func (o GetConfigurationRecordersRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput
Enterprise version configuration audit enabled status.
func (GetConfigurationRecordersRecorderOutput) OrganizationMasterId ¶
func (o GetConfigurationRecordersRecorderOutput) OrganizationMasterId() pulumi.IntOutput
The ID of the Enterprise management account.
func (GetConfigurationRecordersRecorderOutput) ResourceTypes ¶
func (o GetConfigurationRecordersRecorderOutput) ResourceTypes() pulumi.StringArrayOutput
A list of resource types to be monitored.
func (GetConfigurationRecordersRecorderOutput) Status ¶
func (o GetConfigurationRecordersRecorderOutput) Status() pulumi.StringOutput
Status of resource monitoring.
func (GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutput ¶
func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput
func (GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutputWithContext ¶
func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput
type GetConfigurationRecordersResult ¶
type GetConfigurationRecordersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` // A list of Config Configuration Recorders. Each element contains the following attributes: Recorders []GetConfigurationRecordersRecorder `pulumi:"recorders"` }
A collection of values returned by getConfigurationRecorders.
func GetConfigurationRecorders ¶
func GetConfigurationRecorders(ctx *pulumi.Context, args *GetConfigurationRecordersArgs, opts ...pulumi.InvokeOption) (*GetConfigurationRecordersResult, error)
This data source provides the Config Configuration Recorders of the current Alibaba Cloud user.
> **NOTE:** Available in 1.99.0+.
> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cfg.GetConfigurationRecorders(ctx, nil, nil) if err != nil { return err } ctx.Export("listOfResourceTypes", data.Alicloud_config_configuration_recorders.This.Recorders[0].Resource_types) return nil }) }
```
type GetConfigurationRecordersResultOutput ¶
type GetConfigurationRecordersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConfigurationRecorders.
func GetConfigurationRecordersOutput ¶
func GetConfigurationRecordersOutput(ctx *pulumi.Context, args GetConfigurationRecordersOutputArgs, opts ...pulumi.InvokeOption) GetConfigurationRecordersResultOutput
func (GetConfigurationRecordersResultOutput) ElementType ¶
func (GetConfigurationRecordersResultOutput) ElementType() reflect.Type
func (GetConfigurationRecordersResultOutput) Id ¶
func (o GetConfigurationRecordersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetConfigurationRecordersResultOutput) OutputFile ¶
func (o GetConfigurationRecordersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetConfigurationRecordersResultOutput) Recorders ¶
func (o GetConfigurationRecordersResultOutput) Recorders() GetConfigurationRecordersRecorderArrayOutput
A list of Config Configuration Recorders. Each element contains the following attributes:
func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput ¶
func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput() GetConfigurationRecordersResultOutput
func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext ¶
func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext(ctx context.Context) GetConfigurationRecordersResultOutput
type GetDeliveriesArgs ¶
type GetDeliveriesArgs struct { // A list of Delivery IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by delivery channel name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status *int `pulumi:"status"` }
A collection of arguments for invoking getDeliveries.
type GetDeliveriesDelivery ¶
type GetDeliveriesDelivery struct { // The Aliyun User Id. AccountId string `pulumi:"accountId"` // Open or close delivery configuration change history. ConfigurationItemChangeNotification bool `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. ConfigurationSnapshot bool `pulumi:"configurationSnapshot"` // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"` // The ID of the delivery method. DeliveryChannelId string `pulumi:"deliveryChannelId"` // The name of the delivery method. DeliveryChannelName string `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn string `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. DeliveryChannelType string `pulumi:"deliveryChannelType"` // The description of the delivery method. Description string `pulumi:"description"` // The ID of the Delivery. Id string `pulumi:"id"` // Open or close non-compliance events of delivery resources. NonCompliantNotification bool `pulumi:"nonCompliantNotification"` // The oss ARN of the delivery channel when the value data oversized limit. OversizedDataOssTargetArn string `pulumi:"oversizedDataOssTargetArn"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status int `pulumi:"status"` }
type GetDeliveriesDeliveryArgs ¶
type GetDeliveriesDeliveryArgs struct { // The Aliyun User Id. AccountId pulumi.StringInput `pulumi:"accountId"` // Open or close delivery configuration change history. ConfigurationItemChangeNotification pulumi.BoolInput `pulumi:"configurationItemChangeNotification"` // Open or close timed snapshot of shipping resources. ConfigurationSnapshot pulumi.BoolInput `pulumi:"configurationSnapshot"` // The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method. DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"` // The ID of the delivery method. DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"` // The name of the delivery method. DeliveryChannelName pulumi.StringInput `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn pulumi.StringInput `pulumi:"deliveryChannelTargetArn"` // The type of the delivery method. DeliveryChannelType pulumi.StringInput `pulumi:"deliveryChannelType"` // The description of the delivery method. Description pulumi.StringInput `pulumi:"description"` // The ID of the Delivery. Id pulumi.StringInput `pulumi:"id"` // Open or close non-compliance events of delivery resources. NonCompliantNotification pulumi.BoolInput `pulumi:"nonCompliantNotification"` // The oss ARN of the delivery channel when the value data oversized limit. OversizedDataOssTargetArn pulumi.StringInput `pulumi:"oversizedDataOssTargetArn"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status pulumi.IntInput `pulumi:"status"` }
func (GetDeliveriesDeliveryArgs) ElementType ¶
func (GetDeliveriesDeliveryArgs) ElementType() reflect.Type
func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput ¶
func (i GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput
func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutputWithContext ¶
func (i GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutputWithContext(ctx context.Context) GetDeliveriesDeliveryOutput
type GetDeliveriesDeliveryArray ¶
type GetDeliveriesDeliveryArray []GetDeliveriesDeliveryInput
func (GetDeliveriesDeliveryArray) ElementType ¶
func (GetDeliveriesDeliveryArray) ElementType() reflect.Type
func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput ¶
func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput
func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext ¶
func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput
type GetDeliveriesDeliveryArrayInput ¶
type GetDeliveriesDeliveryArrayInput interface { pulumi.Input ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput ToGetDeliveriesDeliveryArrayOutputWithContext(context.Context) GetDeliveriesDeliveryArrayOutput }
GetDeliveriesDeliveryArrayInput is an input type that accepts GetDeliveriesDeliveryArray and GetDeliveriesDeliveryArrayOutput values. You can construct a concrete instance of `GetDeliveriesDeliveryArrayInput` via:
GetDeliveriesDeliveryArray{ GetDeliveriesDeliveryArgs{...} }
type GetDeliveriesDeliveryArrayOutput ¶
type GetDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }
func (GetDeliveriesDeliveryArrayOutput) ElementType ¶
func (GetDeliveriesDeliveryArrayOutput) ElementType() reflect.Type
func (GetDeliveriesDeliveryArrayOutput) Index ¶
func (o GetDeliveriesDeliveryArrayOutput) Index(i pulumi.IntInput) GetDeliveriesDeliveryOutput
func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput ¶
func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput
func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext ¶
func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput
type GetDeliveriesDeliveryInput ¶
type GetDeliveriesDeliveryInput interface { pulumi.Input ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput ToGetDeliveriesDeliveryOutputWithContext(context.Context) GetDeliveriesDeliveryOutput }
GetDeliveriesDeliveryInput is an input type that accepts GetDeliveriesDeliveryArgs and GetDeliveriesDeliveryOutput values. You can construct a concrete instance of `GetDeliveriesDeliveryInput` via:
GetDeliveriesDeliveryArgs{...}
type GetDeliveriesDeliveryOutput ¶
type GetDeliveriesDeliveryOutput struct{ *pulumi.OutputState }
func (GetDeliveriesDeliveryOutput) AccountId ¶
func (o GetDeliveriesDeliveryOutput) AccountId() pulumi.StringOutput
The Aliyun User Id.
func (GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification ¶
func (o GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput
Open or close delivery configuration change history.
func (GetDeliveriesDeliveryOutput) ConfigurationSnapshot ¶
func (o GetDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput
Open or close timed snapshot of shipping resources.
func (GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
func (GetDeliveriesDeliveryOutput) DeliveryChannelCondition ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput
The rule attached to the delivery method.
func (GetDeliveriesDeliveryOutput) DeliveryChannelId ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput
The ID of the delivery method.
func (GetDeliveriesDeliveryOutput) DeliveryChannelName ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput
The name of the delivery method.
func (GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput
The ARN of the delivery destination.
func (GetDeliveriesDeliveryOutput) DeliveryChannelType ¶
func (o GetDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput
The type of the delivery method.
func (GetDeliveriesDeliveryOutput) Description ¶
func (o GetDeliveriesDeliveryOutput) Description() pulumi.StringOutput
The description of the delivery method.
func (GetDeliveriesDeliveryOutput) ElementType ¶
func (GetDeliveriesDeliveryOutput) ElementType() reflect.Type
func (GetDeliveriesDeliveryOutput) Id ¶
func (o GetDeliveriesDeliveryOutput) Id() pulumi.StringOutput
The ID of the Delivery.
func (GetDeliveriesDeliveryOutput) NonCompliantNotification ¶
func (o GetDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput
Open or close non-compliance events of delivery resources.
func (GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn ¶
func (o GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput
The oss ARN of the delivery channel when the value data oversized limit.
func (GetDeliveriesDeliveryOutput) Status ¶
func (o GetDeliveriesDeliveryOutput) Status() pulumi.IntOutput
The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput ¶
func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput
func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext ¶
func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext(ctx context.Context) GetDeliveriesDeliveryOutput
type GetDeliveriesOutputArgs ¶
type GetDeliveriesOutputArgs struct { // A list of Delivery IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by delivery channel name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled. Status pulumi.IntPtrInput `pulumi:"status"` }
A collection of arguments for invoking getDeliveries.
func (GetDeliveriesOutputArgs) ElementType ¶
func (GetDeliveriesOutputArgs) ElementType() reflect.Type
type GetDeliveriesResult ¶
type GetDeliveriesResult struct { Deliveries []GetDeliveriesDelivery `pulumi:"deliveries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *int `pulumi:"status"` }
A collection of values returned by getDeliveries.
func GetDeliveries ¶
func GetDeliveries(ctx *pulumi.Context, args *GetDeliveriesArgs, opts ...pulumi.InvokeOption) (*GetDeliveriesResult, error)
This data source provides the Config Deliveries of the current Alibaba Cloud user.
> **NOTE:** Available in v1.171.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := cfg.GetDeliveries(ctx, &cfg.GetDeliveriesArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("configDeliveryId1", ids.Deliveries[0].Id) return nil }) }
```
type GetDeliveriesResultOutput ¶
type GetDeliveriesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDeliveries.
func GetDeliveriesOutput ¶
func GetDeliveriesOutput(ctx *pulumi.Context, args GetDeliveriesOutputArgs, opts ...pulumi.InvokeOption) GetDeliveriesResultOutput
func (GetDeliveriesResultOutput) Deliveries ¶
func (o GetDeliveriesResultOutput) Deliveries() GetDeliveriesDeliveryArrayOutput
func (GetDeliveriesResultOutput) ElementType ¶
func (GetDeliveriesResultOutput) ElementType() reflect.Type
func (GetDeliveriesResultOutput) Id ¶
func (o GetDeliveriesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDeliveriesResultOutput) Ids ¶
func (o GetDeliveriesResultOutput) Ids() pulumi.StringArrayOutput
func (GetDeliveriesResultOutput) NameRegex ¶
func (o GetDeliveriesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDeliveriesResultOutput) Names ¶
func (o GetDeliveriesResultOutput) Names() pulumi.StringArrayOutput
func (GetDeliveriesResultOutput) OutputFile ¶
func (o GetDeliveriesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDeliveriesResultOutput) Status ¶
func (o GetDeliveriesResultOutput) Status() pulumi.IntPtrOutput
func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutput ¶
func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutput() GetDeliveriesResultOutput
func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext ¶
func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext(ctx context.Context) GetDeliveriesResultOutput
type GetDeliveryChannelsArgs ¶
type GetDeliveryChannelsArgs struct { // A list of Config Delivery Channel IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by delivery channel name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel. Status *int `pulumi:"status"` }
A collection of arguments for invoking getDeliveryChannels.
type GetDeliveryChannelsChannel ¶
type GetDeliveryChannelsChannel struct { // The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method. DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type. DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"` // The ID of the delivery channel. DeliveryChannelId string `pulumi:"deliveryChannelId"` // The name of the delivery channel. DeliveryChannelName string `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn string `pulumi:"deliveryChannelTargetArn"` // The type of the delivery channel. DeliveryChannelType string `pulumi:"deliveryChannelType"` // The description of the delivery channel. Description string `pulumi:"description"` // The ID of the Config Delivery Channel. Id string `pulumi:"id"` // The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel. Status int `pulumi:"status"` }
type GetDeliveryChannelsChannelArgs ¶
type GetDeliveryChannelsChannelArgs struct { // The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method. DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"` // The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type. DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"` // The ID of the delivery channel. DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"` // The name of the delivery channel. DeliveryChannelName pulumi.StringInput `pulumi:"deliveryChannelName"` // The ARN of the delivery destination. DeliveryChannelTargetArn pulumi.StringInput `pulumi:"deliveryChannelTargetArn"` // The type of the delivery channel. DeliveryChannelType pulumi.StringInput `pulumi:"deliveryChannelType"` // The description of the delivery channel. Description pulumi.StringInput `pulumi:"description"` // The ID of the Config Delivery Channel. Id pulumi.StringInput `pulumi:"id"` // The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel. Status pulumi.IntInput `pulumi:"status"` }
func (GetDeliveryChannelsChannelArgs) ElementType ¶
func (GetDeliveryChannelsChannelArgs) ElementType() reflect.Type
func (GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutput ¶
func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput
func (GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutputWithContext ¶
func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput
type GetDeliveryChannelsChannelArray ¶
type GetDeliveryChannelsChannelArray []GetDeliveryChannelsChannelInput
func (GetDeliveryChannelsChannelArray) ElementType ¶
func (GetDeliveryChannelsChannelArray) ElementType() reflect.Type
func (GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutput ¶
func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput
func (GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutputWithContext ¶
func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput
type GetDeliveryChannelsChannelArrayInput ¶
type GetDeliveryChannelsChannelArrayInput interface { pulumi.Input ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput ToGetDeliveryChannelsChannelArrayOutputWithContext(context.Context) GetDeliveryChannelsChannelArrayOutput }
GetDeliveryChannelsChannelArrayInput is an input type that accepts GetDeliveryChannelsChannelArray and GetDeliveryChannelsChannelArrayOutput values. You can construct a concrete instance of `GetDeliveryChannelsChannelArrayInput` via:
GetDeliveryChannelsChannelArray{ GetDeliveryChannelsChannelArgs{...} }
type GetDeliveryChannelsChannelArrayOutput ¶
type GetDeliveryChannelsChannelArrayOutput struct{ *pulumi.OutputState }
func (GetDeliveryChannelsChannelArrayOutput) ElementType ¶
func (GetDeliveryChannelsChannelArrayOutput) ElementType() reflect.Type
func (GetDeliveryChannelsChannelArrayOutput) Index ¶
func (o GetDeliveryChannelsChannelArrayOutput) Index(i pulumi.IntInput) GetDeliveryChannelsChannelOutput
func (GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutput ¶
func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput
func (GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutputWithContext ¶
func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput
type GetDeliveryChannelsChannelInput ¶
type GetDeliveryChannelsChannelInput interface { pulumi.Input ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput ToGetDeliveryChannelsChannelOutputWithContext(context.Context) GetDeliveryChannelsChannelOutput }
GetDeliveryChannelsChannelInput is an input type that accepts GetDeliveryChannelsChannelArgs and GetDeliveryChannelsChannelOutput values. You can construct a concrete instance of `GetDeliveryChannelsChannelInput` via:
GetDeliveryChannelsChannelArgs{...}
type GetDeliveryChannelsChannelOutput ¶
type GetDeliveryChannelsChannelOutput struct{ *pulumi.OutputState }
func (GetDeliveryChannelsChannelOutput) DeliveryChannelAssumeRoleArn ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput
The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method.
func (GetDeliveryChannelsChannelOutput) DeliveryChannelCondition ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelCondition() pulumi.StringOutput
The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type.
func (GetDeliveryChannelsChannelOutput) DeliveryChannelId ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelId() pulumi.StringOutput
The ID of the delivery channel.
func (GetDeliveryChannelsChannelOutput) DeliveryChannelName ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelName() pulumi.StringOutput
The name of the delivery channel.
func (GetDeliveryChannelsChannelOutput) DeliveryChannelTargetArn ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput
The ARN of the delivery destination.
func (GetDeliveryChannelsChannelOutput) DeliveryChannelType ¶
func (o GetDeliveryChannelsChannelOutput) DeliveryChannelType() pulumi.StringOutput
The type of the delivery channel.
func (GetDeliveryChannelsChannelOutput) Description ¶
func (o GetDeliveryChannelsChannelOutput) Description() pulumi.StringOutput
The description of the delivery channel.
func (GetDeliveryChannelsChannelOutput) ElementType ¶
func (GetDeliveryChannelsChannelOutput) ElementType() reflect.Type
func (GetDeliveryChannelsChannelOutput) Id ¶
func (o GetDeliveryChannelsChannelOutput) Id() pulumi.StringOutput
The ID of the Config Delivery Channel.
func (GetDeliveryChannelsChannelOutput) Status ¶
func (o GetDeliveryChannelsChannelOutput) Status() pulumi.IntOutput
The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.
func (GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutput ¶
func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput
func (GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutputWithContext ¶
func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput
type GetDeliveryChannelsOutputArgs ¶
type GetDeliveryChannelsOutputArgs struct { // A list of Config Delivery Channel IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by delivery channel name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel. Status pulumi.IntPtrInput `pulumi:"status"` }
A collection of arguments for invoking getDeliveryChannels.
func (GetDeliveryChannelsOutputArgs) ElementType ¶
func (GetDeliveryChannelsOutputArgs) ElementType() reflect.Type
type GetDeliveryChannelsResult ¶
type GetDeliveryChannelsResult struct { // A list of Config Delivery Channels. Each element contains the following attributes: Channels []GetDeliveryChannelsChannel `pulumi:"channels"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Config Delivery Channel IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Config Delivery Channel names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The status of the delivery channel. Status *int `pulumi:"status"` }
A collection of values returned by getDeliveryChannels.
func GetDeliveryChannels ¶
func GetDeliveryChannels(ctx *pulumi.Context, args *GetDeliveryChannelsArgs, opts ...pulumi.InvokeOption) (*GetDeliveryChannelsResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetDeliveryChannels(ctx, &cfg.GetDeliveryChannelsArgs{ Ids: []string{ "cdc-49a2ad756057********", }, NameRegex: pulumi.StringRef("tftest"), }, nil) if err != nil { return err } ctx.Export("firstConfigDeliveryChannelId", example.Channels[0].Id) return nil }) }
```
type GetDeliveryChannelsResultOutput ¶
type GetDeliveryChannelsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDeliveryChannels.
func GetDeliveryChannelsOutput ¶
func GetDeliveryChannelsOutput(ctx *pulumi.Context, args GetDeliveryChannelsOutputArgs, opts ...pulumi.InvokeOption) GetDeliveryChannelsResultOutput
func (GetDeliveryChannelsResultOutput) Channels ¶
func (o GetDeliveryChannelsResultOutput) Channels() GetDeliveryChannelsChannelArrayOutput
A list of Config Delivery Channels. Each element contains the following attributes:
func (GetDeliveryChannelsResultOutput) ElementType ¶
func (GetDeliveryChannelsResultOutput) ElementType() reflect.Type
func (GetDeliveryChannelsResultOutput) Id ¶
func (o GetDeliveryChannelsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDeliveryChannelsResultOutput) Ids ¶
func (o GetDeliveryChannelsResultOutput) Ids() pulumi.StringArrayOutput
A list of Config Delivery Channel IDs.
func (GetDeliveryChannelsResultOutput) NameRegex ¶
func (o GetDeliveryChannelsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDeliveryChannelsResultOutput) Names ¶
func (o GetDeliveryChannelsResultOutput) Names() pulumi.StringArrayOutput
A list of Config Delivery Channel names.
func (GetDeliveryChannelsResultOutput) OutputFile ¶
func (o GetDeliveryChannelsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDeliveryChannelsResultOutput) Status ¶
func (o GetDeliveryChannelsResultOutput) Status() pulumi.IntPtrOutput
The status of the delivery channel.
func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput ¶
func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput() GetDeliveryChannelsResultOutput
func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext ¶
func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext(ctx context.Context) GetDeliveryChannelsResultOutput
type GetRulesArgs ¶
type GetRulesArgs struct { // Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead. // // Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead. ConfigRuleState *string `pulumi:"configRuleState"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Config Rule IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by rule name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel *int `pulumi:"riskLevel"` // The name of config rule. RuleName *string `pulumi:"ruleName"` // The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getRules.
type GetRulesOutputArgs ¶
type GetRulesOutputArgs struct { // Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead. // // Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead. ConfigRuleState pulumi.StringPtrInput `pulumi:"configRuleState"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Config Rule IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by rule name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"` // The name of config rule. RuleName pulumi.StringPtrInput `pulumi:"ruleName"` // The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶
type GetRulesResult struct { // Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead. ConfigRuleState *string `pulumi:"configRuleState"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Config Rule IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Config Rule names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` RiskLevel *int `pulumi:"riskLevel"` RuleName *string `pulumi:"ruleName"` // A list of Config Rules. Each element contains the following attributes: Rules []GetRulesRule `pulumi:"rules"` // (Available in 1.124.1+) The status of config rule. Status *string `pulumi:"status"` }
A collection of values returned by getRules.
func GetRules ¶
func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)
This data source provides the Config Rules of the current Alibaba Cloud user.
> **NOTE:** Available in 1.99.0+.
> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cfg.GetRules(ctx, &cfg.GetRulesArgs{ Ids: []string{ "cr-ed4bad756057********", }, NameRegex: pulumi.StringRef("tftest"), }, nil) if err != nil { return err } ctx.Export("firstConfigRuleId", example.Rules[0].Id) return nil }) }
```
type GetRulesResultOutput ¶
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ConfigRuleState
deprecated
func (o GetRulesResultOutput) ConfigRuleState() pulumi.StringPtrOutput
Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
func (GetRulesResultOutput) ElementType ¶
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) EnableDetails ¶
func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetRulesResultOutput) Id ¶
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
A list of Config Rule IDs.
func (GetRulesResultOutput) NameRegex ¶
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
A list of Config Rule names.
func (GetRulesResultOutput) OutputFile ¶
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) RiskLevel ¶
func (o GetRulesResultOutput) RiskLevel() pulumi.IntPtrOutput
func (GetRulesResultOutput) RuleName ¶
func (o GetRulesResultOutput) RuleName() pulumi.StringPtrOutput
func (GetRulesResultOutput) Rules ¶
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
A list of Config Rules. Each element contains the following attributes:
func (GetRulesResultOutput) Status ¶
func (o GetRulesResultOutput) Status() pulumi.StringPtrOutput
(Available in 1.124.1+) The status of config rule.
func (GetRulesResultOutput) ToGetRulesResultOutput ¶
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesRule ¶
type GetRulesRule struct { AccountId string `pulumi:"accountId"` CompliancePackId string `pulumi:"compliancePackId"` // The information about the compliance evaluations based on the rule. Compliances []GetRulesRuleCompliance `pulumi:"compliances"` ConfigRuleArn string `pulumi:"configRuleArn"` ConfigRuleId string `pulumi:"configRuleId"` // Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead. ConfigRuleState string `pulumi:"configRuleState"` // (Available in 1.124.1+) A list of trigger types of config rule. ConfigRuleTriggerTypes string `pulumi:"configRuleTriggerTypes"` Description string `pulumi:"description"` // Event source of the Config Rule. EventSource string `pulumi:"eventSource"` // (Available in 1.124.1+) The scope of exclude of resource ids. ExcludeResourceIdsScope string `pulumi:"excludeResourceIdsScope"` // The ID of the Config Rule. // * `accountId`- The ID of the Alicloud account. // * `configRuleArn`- The ARN of the Config Rule. // * `configRuleId`- The ID of the Config Rule. // * `configRuleState`- The state of the Config Rule. // * `description`- The description of the Config Rule. // * `inputParameters`- The input parameters of the Config Rule. // * `modifiedTimestamp`- the timestamp of the Config Rule modified. // * `riskLevel`- The risk level of the Config Rule. // * `ruleName`- The name of the Config Rule. Id string `pulumi:"id"` InputParameters map[string]interface{} `pulumi:"inputParameters"` // (Available in 1.124.1+) The frequency of maximum execution. MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"` ModifiedTimestamp string `pulumi:"modifiedTimestamp"` // (Available in 1.124.1+) The scope of region ids. RegionIdsScope string `pulumi:"regionIdsScope"` // (Available in 1.124.1+) The scope of resource group ids. ResourceGroupIdsScope string `pulumi:"resourceGroupIdsScope"` // (Available in 1.124.1+) The scope of resource types. ResourceTypesScopes []string `pulumi:"resourceTypesScopes"` // The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel int `pulumi:"riskLevel"` // The name of config rule. RuleName string `pulumi:"ruleName"` // The types of the resources to be evaluated against the rule. ScopeComplianceResourceTypes []string `pulumi:"scopeComplianceResourceTypes"` // Rule trigger mechanism. SourceDetailMessageType string `pulumi:"sourceDetailMessageType"` SourceIdentifier string `pulumi:"sourceIdentifier"` // Rule execution cycle. // * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. // * `sourceOwner`- The source owner of the Config Rule. SourceMaximumExecutionFrequency string `pulumi:"sourceMaximumExecutionFrequency"` SourceOwner string `pulumi:"sourceOwner"` // The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status string `pulumi:"status"` // (Available in 1.124.1+) The scope of tag key. TagKeyScope string `pulumi:"tagKeyScope"` // (Available in 1.124.1+) The scope of tag value. TagValueScope string `pulumi:"tagValueScope"` }
type GetRulesRuleArgs ¶
type GetRulesRuleArgs struct { AccountId pulumi.StringInput `pulumi:"accountId"` CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"` // The information about the compliance evaluations based on the rule. Compliances GetRulesRuleComplianceArrayInput `pulumi:"compliances"` ConfigRuleArn pulumi.StringInput `pulumi:"configRuleArn"` ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"` // Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead. ConfigRuleState pulumi.StringInput `pulumi:"configRuleState"` // (Available in 1.124.1+) A list of trigger types of config rule. ConfigRuleTriggerTypes pulumi.StringInput `pulumi:"configRuleTriggerTypes"` Description pulumi.StringInput `pulumi:"description"` // Event source of the Config Rule. EventSource pulumi.StringInput `pulumi:"eventSource"` // (Available in 1.124.1+) The scope of exclude of resource ids. ExcludeResourceIdsScope pulumi.StringInput `pulumi:"excludeResourceIdsScope"` // The ID of the Config Rule. // * `accountId`- The ID of the Alicloud account. // * `configRuleArn`- The ARN of the Config Rule. // * `configRuleId`- The ID of the Config Rule. // * `configRuleState`- The state of the Config Rule. // * `description`- The description of the Config Rule. // * `inputParameters`- The input parameters of the Config Rule. // * `modifiedTimestamp`- the timestamp of the Config Rule modified. // * `riskLevel`- The risk level of the Config Rule. // * `ruleName`- The name of the Config Rule. Id pulumi.StringInput `pulumi:"id"` InputParameters pulumi.MapInput `pulumi:"inputParameters"` // (Available in 1.124.1+) The frequency of maximum execution. MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"` ModifiedTimestamp pulumi.StringInput `pulumi:"modifiedTimestamp"` // (Available in 1.124.1+) The scope of region ids. RegionIdsScope pulumi.StringInput `pulumi:"regionIdsScope"` // (Available in 1.124.1+) The scope of resource group ids. ResourceGroupIdsScope pulumi.StringInput `pulumi:"resourceGroupIdsScope"` // (Available in 1.124.1+) The scope of resource types. ResourceTypesScopes pulumi.StringArrayInput `pulumi:"resourceTypesScopes"` // The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel pulumi.IntInput `pulumi:"riskLevel"` // The name of config rule. RuleName pulumi.StringInput `pulumi:"ruleName"` // The types of the resources to be evaluated against the rule. ScopeComplianceResourceTypes pulumi.StringArrayInput `pulumi:"scopeComplianceResourceTypes"` // Rule trigger mechanism. SourceDetailMessageType pulumi.StringInput `pulumi:"sourceDetailMessageType"` SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"` // Rule execution cycle. // * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. // * `sourceOwner`- The source owner of the Config Rule. SourceMaximumExecutionFrequency pulumi.StringInput `pulumi:"sourceMaximumExecutionFrequency"` SourceOwner pulumi.StringInput `pulumi:"sourceOwner"` // The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`. Status pulumi.StringInput `pulumi:"status"` // (Available in 1.124.1+) The scope of tag key. TagKeyScope pulumi.StringInput `pulumi:"tagKeyScope"` // (Available in 1.124.1+) The scope of tag value. TagValueScope pulumi.StringInput `pulumi:"tagValueScope"` }
func (GetRulesRuleArgs) ElementType ¶
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleArray ¶
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleArrayInput ¶
type GetRulesRuleArrayInput interface { pulumi.Input ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput }
GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:
GetRulesRuleArray{ GetRulesRuleArgs{...} }
type GetRulesRuleArrayOutput ¶
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleCompliance ¶
type GetRulesRuleComplianceArgs ¶
type GetRulesRuleComplianceArgs struct { // The compliance evaluation result of the target resources. ComplianceType pulumi.StringInput `pulumi:"complianceType"` // The number of resources with the specified compliance evaluation result. Count pulumi.IntInput `pulumi:"count"` }
func (GetRulesRuleComplianceArgs) ElementType ¶
func (GetRulesRuleComplianceArgs) ElementType() reflect.Type
func (GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutput ¶
func (i GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput
func (GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutputWithContext ¶
func (i GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutputWithContext(ctx context.Context) GetRulesRuleComplianceOutput
type GetRulesRuleComplianceArray ¶
type GetRulesRuleComplianceArray []GetRulesRuleComplianceInput
func (GetRulesRuleComplianceArray) ElementType ¶
func (GetRulesRuleComplianceArray) ElementType() reflect.Type
func (GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutput ¶
func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput
func (GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutputWithContext ¶
func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput
type GetRulesRuleComplianceArrayInput ¶
type GetRulesRuleComplianceArrayInput interface { pulumi.Input ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput ToGetRulesRuleComplianceArrayOutputWithContext(context.Context) GetRulesRuleComplianceArrayOutput }
GetRulesRuleComplianceArrayInput is an input type that accepts GetRulesRuleComplianceArray and GetRulesRuleComplianceArrayOutput values. You can construct a concrete instance of `GetRulesRuleComplianceArrayInput` via:
GetRulesRuleComplianceArray{ GetRulesRuleComplianceArgs{...} }
type GetRulesRuleComplianceArrayOutput ¶
type GetRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleComplianceArrayOutput) ElementType ¶
func (GetRulesRuleComplianceArrayOutput) ElementType() reflect.Type
func (GetRulesRuleComplianceArrayOutput) Index ¶
func (o GetRulesRuleComplianceArrayOutput) Index(i pulumi.IntInput) GetRulesRuleComplianceOutput
func (GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutput ¶
func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput
func (GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutputWithContext ¶
func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput
type GetRulesRuleComplianceInput ¶
type GetRulesRuleComplianceInput interface { pulumi.Input ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput ToGetRulesRuleComplianceOutputWithContext(context.Context) GetRulesRuleComplianceOutput }
GetRulesRuleComplianceInput is an input type that accepts GetRulesRuleComplianceArgs and GetRulesRuleComplianceOutput values. You can construct a concrete instance of `GetRulesRuleComplianceInput` via:
GetRulesRuleComplianceArgs{...}
type GetRulesRuleComplianceOutput ¶
type GetRulesRuleComplianceOutput struct{ *pulumi.OutputState }
func (GetRulesRuleComplianceOutput) ComplianceType ¶
func (o GetRulesRuleComplianceOutput) ComplianceType() pulumi.StringOutput
The compliance evaluation result of the target resources.
func (GetRulesRuleComplianceOutput) Count ¶
func (o GetRulesRuleComplianceOutput) Count() pulumi.IntOutput
The number of resources with the specified compliance evaluation result.
func (GetRulesRuleComplianceOutput) ElementType ¶
func (GetRulesRuleComplianceOutput) ElementType() reflect.Type
func (GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutput ¶
func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput
func (GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutputWithContext ¶
func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutputWithContext(ctx context.Context) GetRulesRuleComplianceOutput
type GetRulesRuleInput ¶
type GetRulesRuleInput interface { pulumi.Input ToGetRulesRuleOutput() GetRulesRuleOutput ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput }
GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:
GetRulesRuleArgs{...}
type GetRulesRuleOutput ¶
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) AccountId ¶
func (o GetRulesRuleOutput) AccountId() pulumi.StringOutput
func (GetRulesRuleOutput) CompliancePackId ¶
func (o GetRulesRuleOutput) CompliancePackId() pulumi.StringOutput
func (GetRulesRuleOutput) Compliances ¶
func (o GetRulesRuleOutput) Compliances() GetRulesRuleComplianceArrayOutput
The information about the compliance evaluations based on the rule.
func (GetRulesRuleOutput) ConfigRuleArn ¶
func (o GetRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput
func (GetRulesRuleOutput) ConfigRuleId ¶
func (o GetRulesRuleOutput) ConfigRuleId() pulumi.StringOutput
func (GetRulesRuleOutput) ConfigRuleState ¶
func (o GetRulesRuleOutput) ConfigRuleState() pulumi.StringOutput
Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
func (GetRulesRuleOutput) ConfigRuleTriggerTypes ¶
func (o GetRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
(Available in 1.124.1+) A list of trigger types of config rule.
func (GetRulesRuleOutput) Description ¶
func (o GetRulesRuleOutput) Description() pulumi.StringOutput
func (GetRulesRuleOutput) ElementType ¶
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) EventSource ¶
func (o GetRulesRuleOutput) EventSource() pulumi.StringOutput
Event source of the Config Rule.
func (GetRulesRuleOutput) ExcludeResourceIdsScope ¶
func (o GetRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput
(Available in 1.124.1+) The scope of exclude of resource ids.
func (GetRulesRuleOutput) Id ¶
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Config Rule. * `accountId`- The ID of the Alicloud account. * `configRuleArn`- The ARN of the Config Rule. * `configRuleId`- The ID of the Config Rule. * `configRuleState`- The state of the Config Rule. * `description`- The description of the Config Rule. * `inputParameters`- The input parameters of the Config Rule. * `modifiedTimestamp`- the timestamp of the Config Rule modified. * `riskLevel`- The risk level of the Config Rule. * `ruleName`- The name of the Config Rule.
func (GetRulesRuleOutput) InputParameters ¶
func (o GetRulesRuleOutput) InputParameters() pulumi.MapOutput
func (GetRulesRuleOutput) MaximumExecutionFrequency ¶
func (o GetRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
(Available in 1.124.1+) The frequency of maximum execution.
func (GetRulesRuleOutput) ModifiedTimestamp ¶
func (o GetRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput
func (GetRulesRuleOutput) RegionIdsScope ¶
func (o GetRulesRuleOutput) RegionIdsScope() pulumi.StringOutput
(Available in 1.124.1+) The scope of region ids.
func (GetRulesRuleOutput) ResourceGroupIdsScope ¶
func (o GetRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput
(Available in 1.124.1+) The scope of resource group ids.
func (GetRulesRuleOutput) ResourceTypesScopes ¶
func (o GetRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
(Available in 1.124.1+) The scope of resource types.
func (GetRulesRuleOutput) RiskLevel ¶
func (o GetRulesRuleOutput) RiskLevel() pulumi.IntOutput
The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
func (GetRulesRuleOutput) RuleName ¶
func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
The name of config rule.
func (GetRulesRuleOutput) ScopeComplianceResourceTypes ¶
func (o GetRulesRuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput
The types of the resources to be evaluated against the rule.
func (GetRulesRuleOutput) SourceDetailMessageType ¶
func (o GetRulesRuleOutput) SourceDetailMessageType() pulumi.StringOutput
Rule trigger mechanism.
func (GetRulesRuleOutput) SourceIdentifier ¶
func (o GetRulesRuleOutput) SourceIdentifier() pulumi.StringOutput
func (GetRulesRuleOutput) SourceMaximumExecutionFrequency ¶
func (o GetRulesRuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput
Rule execution cycle. * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. * `sourceOwner`- The source owner of the Config Rule.
func (GetRulesRuleOutput) SourceOwner ¶
func (o GetRulesRuleOutput) SourceOwner() pulumi.StringOutput
func (GetRulesRuleOutput) Status ¶
func (o GetRulesRuleOutput) Status() pulumi.StringOutput
The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
func (GetRulesRuleOutput) TagKeyScope ¶
func (o GetRulesRuleOutput) TagKeyScope() pulumi.StringOutput
(Available in 1.124.1+) The scope of tag key.
func (GetRulesRuleOutput) TagValueScope ¶
func (o GetRulesRuleOutput) TagValueScope() pulumi.StringOutput
(Available in 1.124.1+) The scope of tag value.
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type Rule ¶
type Rule struct { pulumi.CustomResourceState // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringOutput `pulumi:"configRuleTriggerTypes"` // The description of the Config Rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrOutput `pulumi:"excludeResourceIdsScope"` // Threshold value for managed rule triggering. InputParameters pulumi.MapOutput `pulumi:"inputParameters"` // The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. MaximumExecutionFrequency pulumi.StringOutput `pulumi:"maximumExecutionFrequency"` // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrOutput `pulumi:"regionIdsScope"` // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrOutput `pulumi:"resourceGroupIdsScope"` // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayOutput `pulumi:"resourceTypesScopes"` // The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel pulumi.IntOutput `pulumi:"riskLevel"` // The name of the Config Rule. RuleName pulumi.StringOutput `pulumi:"ruleName"` // Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead. // // Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead. ScopeComplianceResourceTypes pulumi.StringArrayOutput `pulumi:"scopeComplianceResourceTypes"` // Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead. // // Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead. SourceDetailMessageType pulumi.StringOutput `pulumi:"sourceDetailMessageType"` // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringOutput `pulumi:"sourceIdentifier"` // Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead. // // Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead. SourceMaximumExecutionFrequency pulumi.StringOutput `pulumi:"sourceMaximumExecutionFrequency"` // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringOutput `pulumi:"sourceOwner"` // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringOutput `pulumi:"status"` // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrOutput `pulumi:"tagKeyScope"` // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrOutput `pulumi:"tagValueScope"` }
Provides a a Alicloud Config Rule resource. Cloud Config checks the validity of resources based on rules. You can create rules to evaluate resources as needed. For information about Alicloud Config Rule and how to use it, see [What is Alicloud Config Rule](https://www.alibabacloud.com/help/doc-detail/154216.html).
> **NOTE:** Available in v1.99.0+.
> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.
> **NOTE:** If you use custom rules, you need to create your own rule functions in advance. Please refer to the link for [Create a custom rule.](https://www.alibabacloud.com/help/en/doc-detail/127405.htm)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cfg.NewRule(ctx, "example", &cfg.RuleArgs{ ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"), Description: pulumi.String("ecs instances in vpc"), InputParameters: pulumi.AnyMap{ "vpcIds": pulumi.Any("vpc-uf6gksw4ctjd******"), }, ResourceTypesScopes: pulumi.StringArray{ pulumi.String("ACS::ECS::Instance"), }, RiskLevel: pulumi.Int(1), RuleName: pulumi.String("instances-in-vpc"), SourceIdentifier: pulumi.String("ecs-instances-in-vpc"), SourceOwner: pulumi.String("ALIYUN"), }) if err != nil { return err } return nil }) }
```
## Import
Alicloud Config Rule can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cfg/rule:Rule this cr-ed4bad756057********
```
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶
type RuleArgs struct { // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringPtrInput // The description of the Config Rule. Description pulumi.StringPtrInput // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrInput // Threshold value for managed rule triggering. InputParameters pulumi.MapInput // The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. MaximumExecutionFrequency pulumi.StringPtrInput // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrInput // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrInput // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayInput // The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel pulumi.IntInput // The name of the Config Rule. RuleName pulumi.StringInput // Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead. // // Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead. ScopeComplianceResourceTypes pulumi.StringArrayInput // Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead. // // Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead. SourceDetailMessageType pulumi.StringPtrInput // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringInput // Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead. // // Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead. SourceMaximumExecutionFrequency pulumi.StringPtrInput // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringInput // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringPtrInput // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrInput // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) ConfigRuleTriggerTypes ¶
func (o RuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput
The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
func (RuleOutput) Description ¶
func (o RuleOutput) Description() pulumi.StringPtrOutput
The description of the Config Rule.
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) ExcludeResourceIdsScope ¶
func (o RuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput
The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty.
func (RuleOutput) InputParameters ¶
func (o RuleOutput) InputParameters() pulumi.MapOutput
Threshold value for managed rule triggering.
func (RuleOutput) MaximumExecutionFrequency ¶
func (o RuleOutput) MaximumExecutionFrequency() pulumi.StringOutput
The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`.
func (RuleOutput) RegionIdsScope ¶
func (o RuleOutput) RegionIdsScope() pulumi.StringPtrOutput
The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
func (RuleOutput) ResourceGroupIdsScope ¶
func (o RuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput
The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
func (RuleOutput) ResourceTypesScopes ¶
func (o RuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput
Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
func (RuleOutput) RiskLevel ¶
func (o RuleOutput) RiskLevel() pulumi.IntOutput
The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
func (RuleOutput) RuleName ¶
func (o RuleOutput) RuleName() pulumi.StringOutput
The name of the Config Rule.
func (RuleOutput) ScopeComplianceResourceTypes
deprecated
func (o RuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput
Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead.
Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
func (RuleOutput) SourceDetailMessageType
deprecated
func (o RuleOutput) SourceDetailMessageType() pulumi.StringOutput
Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead.
Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
func (RuleOutput) SourceIdentifier ¶
func (o RuleOutput) SourceIdentifier() pulumi.StringOutput
The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
func (RuleOutput) SourceMaximumExecutionFrequency
deprecated
func (o RuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput
Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead.
Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead.
func (RuleOutput) SourceOwner ¶
func (o RuleOutput) SourceOwner() pulumi.StringOutput
Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
func (RuleOutput) Status ¶
func (o RuleOutput) Status() pulumi.StringOutput
The rule status. The valid values: `ACTIVE`, `INACTIVE`.
func (RuleOutput) TagKeyScope ¶
func (o RuleOutput) TagKeyScope() pulumi.StringPtrOutput
The rule monitors the tag key, only applies to rules created based on managed rules.
func (RuleOutput) TagValueScope ¶
func (o RuleOutput) TagValueScope() pulumi.StringPtrOutput
The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules.
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleState ¶
type RuleState struct { // The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled. ConfigRuleTriggerTypes pulumi.StringPtrInput // The description of the Config Rule. Description pulumi.StringPtrInput // The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty. ExcludeResourceIdsScope pulumi.StringPtrInput // Threshold value for managed rule triggering. InputParameters pulumi.MapInput // The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. MaximumExecutionFrequency pulumi.StringPtrInput // The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules. RegionIdsScope pulumi.StringPtrInput // The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules. ResourceGroupIdsScope pulumi.StringPtrInput // Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) ResourceTypesScopes pulumi.StringArrayInput // The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info. RiskLevel pulumi.IntPtrInput // The name of the Config Rule. RuleName pulumi.StringPtrInput // Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead. // // Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead. ScopeComplianceResourceTypes pulumi.StringArrayInput // Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead. // // Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead. SourceDetailMessageType pulumi.StringPtrInput // The identifier of the rule. For a managed rule, the value is the identifier of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm) SourceIdentifier pulumi.StringPtrInput // Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead. // // Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead. SourceMaximumExecutionFrequency pulumi.StringPtrInput // Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule. SourceOwner pulumi.StringPtrInput // The rule status. The valid values: `ACTIVE`, `INACTIVE`. Status pulumi.StringPtrInput // The rule monitors the tag key, only applies to rules created based on managed rules. TagKeyScope pulumi.StringPtrInput // The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules. TagValueScope pulumi.StringPtrInput }
func (RuleState) ElementType ¶
Source Files ¶
- aggregateCompliancePack.go
- aggregateConfigRule.go
- aggregateDelivery.go
- aggregator.go
- compliancePack.go
- configurationRecorder.go
- delivery.go
- deliveryChannel.go
- getAggregateCompliancePacks.go
- getAggregateConfigRules.go
- getAggregateDeliveries.go
- getAggregators.go
- getCompliancePacks.go
- getConfigurationRecorders.go
- getDeliveries.go
- getDeliveryChannels.go
- getRules.go
- init.go
- pulumiTypes.go
- pulumiUtilities.go
- rule.go