cfg

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateAuthorization

type AggregateAuthorization struct {
	// contains filtered or unexported fields
}

Manages an AWS Config Aggregate Authorization

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_aggregate_authorization.html.markdown.

func GetAggregateAuthorization

func GetAggregateAuthorization(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AggregateAuthorizationState, opts ...pulumi.ResourceOpt) (*AggregateAuthorization, error)

GetAggregateAuthorization gets an existing AggregateAuthorization 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 NewAggregateAuthorization

func NewAggregateAuthorization(ctx *pulumi.Context,
	name string, args *AggregateAuthorizationArgs, opts ...pulumi.ResourceOpt) (*AggregateAuthorization, error)

NewAggregateAuthorization registers a new resource with the given unique name, arguments, and options.

func (*AggregateAuthorization) AccountId

Account ID

func (*AggregateAuthorization) Arn

The ARN of the authorization

func (*AggregateAuthorization) ID

ID is this resource's unique identifier assigned by its provider.

func (*AggregateAuthorization) Region

Region

func (*AggregateAuthorization) Tags added in v0.18.26

A mapping of tags to assign to the resource.

func (*AggregateAuthorization) URN

URN is this resource's unique name assigned by Pulumi.

type AggregateAuthorizationArgs

type AggregateAuthorizationArgs struct {
	// Account ID
	AccountId interface{}
	// Region
	Region interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a AggregateAuthorization resource.

type AggregateAuthorizationState

type AggregateAuthorizationState struct {
	// Account ID
	AccountId interface{}
	// The ARN of the authorization
	Arn interface{}
	// Region
	Region interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering AggregateAuthorization resources.

type ConfigurationAggregator

type ConfigurationAggregator struct {
	// contains filtered or unexported fields
}

Manages an AWS Config Configuration Aggregator

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_configuration_aggregator.html.markdown.

func GetConfigurationAggregator

func GetConfigurationAggregator(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ConfigurationAggregatorState, opts ...pulumi.ResourceOpt) (*ConfigurationAggregator, error)

GetConfigurationAggregator gets an existing ConfigurationAggregator 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 NewConfigurationAggregator

func NewConfigurationAggregator(ctx *pulumi.Context,
	name string, args *ConfigurationAggregatorArgs, opts ...pulumi.ResourceOpt) (*ConfigurationAggregator, error)

NewConfigurationAggregator registers a new resource with the given unique name, arguments, and options.

func (*ConfigurationAggregator) AccountAggregationSource

func (r *ConfigurationAggregator) AccountAggregationSource() pulumi.Output

The account(s) to aggregate config data from as documented below.

func (*ConfigurationAggregator) Arn

The ARN of the aggregator

func (*ConfigurationAggregator) ID

ID is this resource's unique identifier assigned by its provider.

func (*ConfigurationAggregator) Name

The name of the configuration aggregator.

func (*ConfigurationAggregator) OrganizationAggregationSource

func (r *ConfigurationAggregator) OrganizationAggregationSource() pulumi.Output

The organization to aggregate config data from as documented below.

func (*ConfigurationAggregator) Tags added in v0.18.26

A mapping of tags to assign to the resource.

func (*ConfigurationAggregator) URN

URN is this resource's unique name assigned by Pulumi.

type ConfigurationAggregatorArgs

type ConfigurationAggregatorArgs struct {
	// The account(s) to aggregate config data from as documented below.
	AccountAggregationSource interface{}
	// The name of the configuration aggregator.
	Name interface{}
	// The organization to aggregate config data from as documented below.
	OrganizationAggregationSource interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a ConfigurationAggregator resource.

type ConfigurationAggregatorState

type ConfigurationAggregatorState struct {
	// The account(s) to aggregate config data from as documented below.
	AccountAggregationSource interface{}
	// The ARN of the aggregator
	Arn interface{}
	// The name of the configuration aggregator.
	Name interface{}
	// The organization to aggregate config data from as documented below.
	OrganizationAggregationSource interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering ConfigurationAggregator resources.

type DeliveryChannel

type DeliveryChannel struct {
	// contains filtered or unexported fields
}

Provides an AWS Config Delivery Channel.

> **Note:** Delivery Channel requires a [Configuration Recorder](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder.html) to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_delivery_channel.html.markdown.

func GetDeliveryChannel

func GetDeliveryChannel(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DeliveryChannelState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*DeliveryChannel, error)

NewDeliveryChannel registers a new resource with the given unique name, arguments, and options.

func (*DeliveryChannel) ID

ID is this resource's unique identifier assigned by its provider.

func (*DeliveryChannel) Name

The name of the delivery channel. Defaults to `default`. Changing it recreates the resource.

func (*DeliveryChannel) S3BucketName

func (r *DeliveryChannel) S3BucketName() pulumi.StringOutput

The name of the S3 bucket used to store the configuration history.

func (*DeliveryChannel) S3KeyPrefix

func (r *DeliveryChannel) S3KeyPrefix() pulumi.StringOutput

The prefix for the specified S3 bucket.

func (*DeliveryChannel) SnapshotDeliveryProperties

func (r *DeliveryChannel) SnapshotDeliveryProperties() pulumi.Output

Options for how AWS Config delivers configuration snapshots. See below

func (*DeliveryChannel) SnsTopicArn

func (r *DeliveryChannel) SnsTopicArn() pulumi.StringOutput

The ARN of the SNS topic that AWS Config delivers notifications to.

func (*DeliveryChannel) URN

func (r *DeliveryChannel) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DeliveryChannelArgs

type DeliveryChannelArgs struct {
	// The name of the delivery channel. Defaults to `default`. Changing it recreates the resource.
	Name interface{}
	// The name of the S3 bucket used to store the configuration history.
	S3BucketName interface{}
	// The prefix for the specified S3 bucket.
	S3KeyPrefix interface{}
	// Options for how AWS Config delivers configuration snapshots. See below
	SnapshotDeliveryProperties interface{}
	// The ARN of the SNS topic that AWS Config delivers notifications to.
	SnsTopicArn interface{}
}

The set of arguments for constructing a DeliveryChannel resource.

type DeliveryChannelState

type DeliveryChannelState struct {
	// The name of the delivery channel. Defaults to `default`. Changing it recreates the resource.
	Name interface{}
	// The name of the S3 bucket used to store the configuration history.
	S3BucketName interface{}
	// The prefix for the specified S3 bucket.
	S3KeyPrefix interface{}
	// Options for how AWS Config delivers configuration snapshots. See below
	SnapshotDeliveryProperties interface{}
	// The ARN of the SNS topic that AWS Config delivers notifications to.
	SnsTopicArn interface{}
}

Input properties used for looking up and filtering DeliveryChannel resources.

type OrganizationCustomRule added in v1.0.0

type OrganizationCustomRule struct {
	// contains filtered or unexported fields
}

Manages a Config Organization Custom Rule. More information about these rules can be found in the [Enabling AWS Config Rules Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/config-rule-multi-account-deployment.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. For working with Organization Managed Rules (those invoking an AWS managed rule), see the [`aws_config_organization_managed__rule` resource](https://www.terraform.io/docs/providers/aws/r/config_organization_managed_rule.html).

> **NOTE:** This resource must be created in the Organization master account and rules will include the master account unless its ID is added to the `excludedAccounts` argument.

> **NOTE:** The proper Lambda permission to allow the AWS Config service invoke the Lambda Function must be in place before the rule will successfully create or update. See also the [`lambda.Permission` resource](https://www.terraform.io/docs/providers/aws/r/lambda_permission.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_organization_custom_rule.html.markdown.

func GetOrganizationCustomRule added in v1.0.0

func GetOrganizationCustomRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *OrganizationCustomRuleState, opts ...pulumi.ResourceOpt) (*OrganizationCustomRule, error)

GetOrganizationCustomRule gets an existing OrganizationCustomRule 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 NewOrganizationCustomRule added in v1.0.0

func NewOrganizationCustomRule(ctx *pulumi.Context,
	name string, args *OrganizationCustomRuleArgs, opts ...pulumi.ResourceOpt) (*OrganizationCustomRule, error)

NewOrganizationCustomRule registers a new resource with the given unique name, arguments, and options.

func (*OrganizationCustomRule) Arn added in v1.0.0

Amazon Resource Name (ARN) of the rule

func (*OrganizationCustomRule) Description added in v1.0.0

func (r *OrganizationCustomRule) Description() pulumi.StringOutput

Description of the rule

func (*OrganizationCustomRule) ExcludedAccounts added in v1.0.0

func (r *OrganizationCustomRule) ExcludedAccounts() pulumi.ArrayOutput

List of AWS account identifiers to exclude from the rule

func (*OrganizationCustomRule) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*OrganizationCustomRule) InputParameters added in v1.0.0

func (r *OrganizationCustomRule) InputParameters() pulumi.StringOutput

A string in JSON format that is passed to the AWS Config Rule Lambda Function

func (*OrganizationCustomRule) LambdaFunctionArn added in v1.0.0

func (r *OrganizationCustomRule) LambdaFunctionArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the rule Lambda Function

func (*OrganizationCustomRule) MaximumExecutionFrequency added in v1.0.0

func (r *OrganizationCustomRule) MaximumExecutionFrequency() pulumi.StringOutput

The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.

func (*OrganizationCustomRule) Name added in v1.0.0

The name of the rule

func (*OrganizationCustomRule) ResourceIdScope added in v1.0.0

func (r *OrganizationCustomRule) ResourceIdScope() pulumi.StringOutput

Identifier of the AWS resource to evaluate

func (*OrganizationCustomRule) ResourceTypesScopes added in v1.0.0

func (r *OrganizationCustomRule) ResourceTypesScopes() pulumi.ArrayOutput

List of types of AWS resources to evaluate

func (*OrganizationCustomRule) TagKeyScope added in v1.0.0

func (r *OrganizationCustomRule) TagKeyScope() pulumi.StringOutput

Tag key of AWS resources to evaluate

func (*OrganizationCustomRule) TagValueScope added in v1.0.0

func (r *OrganizationCustomRule) TagValueScope() pulumi.StringOutput

Tag value of AWS resources to evaluate

func (*OrganizationCustomRule) TriggerTypes added in v1.0.0

func (r *OrganizationCustomRule) TriggerTypes() pulumi.ArrayOutput

List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification`, and `ScheduledNotification`

func (*OrganizationCustomRule) URN added in v1.0.0

URN is this resource's unique name assigned by Pulumi.

type OrganizationCustomRuleArgs added in v1.0.0

type OrganizationCustomRuleArgs struct {
	// Description of the rule
	Description interface{}
	// List of AWS account identifiers to exclude from the rule
	ExcludedAccounts interface{}
	// A string in JSON format that is passed to the AWS Config Rule Lambda Function
	InputParameters interface{}
	// Amazon Resource Name (ARN) of the rule Lambda Function
	LambdaFunctionArn interface{}
	// The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// Identifier of the AWS resource to evaluate
	ResourceIdScope interface{}
	// List of types of AWS resources to evaluate
	ResourceTypesScopes interface{}
	// Tag key of AWS resources to evaluate
	TagKeyScope interface{}
	// Tag value of AWS resources to evaluate
	TagValueScope interface{}
	// List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification`, and `ScheduledNotification`
	TriggerTypes interface{}
}

The set of arguments for constructing a OrganizationCustomRule resource.

type OrganizationCustomRuleState added in v1.0.0

type OrganizationCustomRuleState struct {
	// Amazon Resource Name (ARN) of the rule
	Arn interface{}
	// Description of the rule
	Description interface{}
	// List of AWS account identifiers to exclude from the rule
	ExcludedAccounts interface{}
	// A string in JSON format that is passed to the AWS Config Rule Lambda Function
	InputParameters interface{}
	// Amazon Resource Name (ARN) of the rule Lambda Function
	LambdaFunctionArn interface{}
	// The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// Identifier of the AWS resource to evaluate
	ResourceIdScope interface{}
	// List of types of AWS resources to evaluate
	ResourceTypesScopes interface{}
	// Tag key of AWS resources to evaluate
	TagKeyScope interface{}
	// Tag value of AWS resources to evaluate
	TagValueScope interface{}
	// List of notification types that trigger AWS Config to run an evaluation for the rule. Valid values: `ConfigurationItemChangeNotification`, `OversizedConfigurationItemChangeNotification`, and `ScheduledNotification`
	TriggerTypes interface{}
}

Input properties used for looking up and filtering OrganizationCustomRule resources.

type OrganizationManagedRule added in v1.0.0

type OrganizationManagedRule struct {
	// contains filtered or unexported fields
}

Manages a Config Organization Managed Rule. More information about these rules can be found in the [Enabling AWS Config Rules Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/config-rule-multi-account-deployment.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. For working with Organization Custom Rules (those invoking a custom Lambda Function), see the [`cfg.OrganizationCustomRule` resource](https://www.terraform.io/docs/providers/aws/r/config_organization_custom_rule.html).

> **NOTE:** This resource must be created in the Organization master account and rules will include the master account unless its ID is added to the `excludedAccounts` argument.

> **NOTE:** Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the rule will successfully create or update. See also the [`cfg.Recorder` resource](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_organization_managed_rule.html.markdown.

func GetOrganizationManagedRule added in v1.0.0

func GetOrganizationManagedRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *OrganizationManagedRuleState, opts ...pulumi.ResourceOpt) (*OrganizationManagedRule, error)

GetOrganizationManagedRule gets an existing OrganizationManagedRule 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 NewOrganizationManagedRule added in v1.0.0

func NewOrganizationManagedRule(ctx *pulumi.Context,
	name string, args *OrganizationManagedRuleArgs, opts ...pulumi.ResourceOpt) (*OrganizationManagedRule, error)

NewOrganizationManagedRule registers a new resource with the given unique name, arguments, and options.

func (*OrganizationManagedRule) Arn added in v1.0.0

Amazon Resource Name (ARN) of the rule

func (*OrganizationManagedRule) Description added in v1.0.0

func (r *OrganizationManagedRule) Description() pulumi.StringOutput

Description of the rule

func (*OrganizationManagedRule) ExcludedAccounts added in v1.0.0

func (r *OrganizationManagedRule) ExcludedAccounts() pulumi.ArrayOutput

List of AWS account identifiers to exclude from the rule

func (*OrganizationManagedRule) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*OrganizationManagedRule) InputParameters added in v1.0.0

func (r *OrganizationManagedRule) InputParameters() pulumi.StringOutput

A string in JSON format that is passed to the AWS Config Rule Lambda Function

func (*OrganizationManagedRule) MaximumExecutionFrequency added in v1.0.0

func (r *OrganizationManagedRule) MaximumExecutionFrequency() pulumi.StringOutput

The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.

func (*OrganizationManagedRule) Name added in v1.0.0

The name of the rule

func (*OrganizationManagedRule) ResourceIdScope added in v1.0.0

func (r *OrganizationManagedRule) ResourceIdScope() pulumi.StringOutput

Identifier of the AWS resource to evaluate

func (*OrganizationManagedRule) ResourceTypesScopes added in v1.0.0

func (r *OrganizationManagedRule) ResourceTypesScopes() pulumi.ArrayOutput

List of types of AWS resources to evaluate

func (*OrganizationManagedRule) RuleIdentifier added in v1.0.0

func (r *OrganizationManagedRule) RuleIdentifier() pulumi.StringOutput

Identifier of an available AWS Config Managed Rule to call. For available values, see the [List of AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html) documentation

func (*OrganizationManagedRule) TagKeyScope added in v1.0.0

func (r *OrganizationManagedRule) TagKeyScope() pulumi.StringOutput

Tag key of AWS resources to evaluate

func (*OrganizationManagedRule) TagValueScope added in v1.0.0

func (r *OrganizationManagedRule) TagValueScope() pulumi.StringOutput

Tag value of AWS resources to evaluate

func (*OrganizationManagedRule) URN added in v1.0.0

URN is this resource's unique name assigned by Pulumi.

type OrganizationManagedRuleArgs added in v1.0.0

type OrganizationManagedRuleArgs struct {
	// Description of the rule
	Description interface{}
	// List of AWS account identifiers to exclude from the rule
	ExcludedAccounts interface{}
	// A string in JSON format that is passed to the AWS Config Rule Lambda Function
	InputParameters interface{}
	// The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// Identifier of the AWS resource to evaluate
	ResourceIdScope interface{}
	// List of types of AWS resources to evaluate
	ResourceTypesScopes interface{}
	// Identifier of an available AWS Config Managed Rule to call. For available values, see the [List of AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html) documentation
	RuleIdentifier interface{}
	// Tag key of AWS resources to evaluate
	TagKeyScope interface{}
	// Tag value of AWS resources to evaluate
	TagValueScope interface{}
}

The set of arguments for constructing a OrganizationManagedRule resource.

type OrganizationManagedRuleState added in v1.0.0

type OrganizationManagedRuleState struct {
	// Amazon Resource Name (ARN) of the rule
	Arn interface{}
	// Description of the rule
	Description interface{}
	// List of AWS account identifiers to exclude from the rule
	ExcludedAccounts interface{}
	// A string in JSON format that is passed to the AWS Config Rule Lambda Function
	InputParameters interface{}
	// The maximum frequency with which AWS Config runs evaluations for a rule, if the rule is triggered at a periodic frequency. Defaults to `TwentyFour_Hours` for periodic frequency triggered rules. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, or `TwentyFour_Hours`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// Identifier of the AWS resource to evaluate
	ResourceIdScope interface{}
	// List of types of AWS resources to evaluate
	ResourceTypesScopes interface{}
	// Identifier of an available AWS Config Managed Rule to call. For available values, see the [List of AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html) documentation
	RuleIdentifier interface{}
	// Tag key of AWS resources to evaluate
	TagKeyScope interface{}
	// Tag value of AWS resources to evaluate
	TagValueScope interface{}
}

Input properties used for looking up and filtering OrganizationManagedRule resources.

type Recorder

type Recorder struct {
	// contains filtered or unexported fields
}

Provides an AWS Config Configuration Recorder. Please note that this resource **does not start** the created recorder automatically.

> **Note:** _Starting_ the Configuration Recorder requires a [delivery channel](https://www.terraform.io/docs/providers/aws/r/config_delivery_channel.html) (while delivery channel creation requires Configuration Recorder). This is why [`cfg.RecorderStatus`](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder_status.html) is a separate resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_configuration_recorder.html.markdown.

func GetRecorder

func GetRecorder(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RecorderState, opts ...pulumi.ResourceOpt) (*Recorder, error)

GetRecorder gets an existing Recorder 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 NewRecorder

func NewRecorder(ctx *pulumi.Context,
	name string, args *RecorderArgs, opts ...pulumi.ResourceOpt) (*Recorder, error)

NewRecorder registers a new resource with the given unique name, arguments, and options.

func (*Recorder) ID

func (r *Recorder) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Recorder) Name

func (r *Recorder) Name() pulumi.StringOutput

The name of the recorder. Defaults to `default`. Changing it recreates the resource.

func (*Recorder) RecordingGroup

func (r *Recorder) RecordingGroup() pulumi.Output

Recording group - see below.

func (*Recorder) RoleArn

func (r *Recorder) RoleArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the IAM role. used to make read or write requests to the delivery channel and to describe the AWS resources associated with the account. See [AWS Docs](http://docs.aws.amazon.com/config/latest/developerguide/iamrole-permissions.html) for more details.

func (*Recorder) URN

func (r *Recorder) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RecorderArgs

type RecorderArgs struct {
	// The name of the recorder. Defaults to `default`. Changing it recreates the resource.
	Name interface{}
	// Recording group - see below.
	RecordingGroup interface{}
	// Amazon Resource Name (ARN) of the IAM role.
	// used to make read or write requests to the delivery channel and to describe the AWS resources associated with the account.
	// See [AWS Docs](http://docs.aws.amazon.com/config/latest/developerguide/iamrole-permissions.html) for more details.
	RoleArn interface{}
}

The set of arguments for constructing a Recorder resource.

type RecorderState

type RecorderState struct {
	// The name of the recorder. Defaults to `default`. Changing it recreates the resource.
	Name interface{}
	// Recording group - see below.
	RecordingGroup interface{}
	// Amazon Resource Name (ARN) of the IAM role.
	// used to make read or write requests to the delivery channel and to describe the AWS resources associated with the account.
	// See [AWS Docs](http://docs.aws.amazon.com/config/latest/developerguide/iamrole-permissions.html) for more details.
	RoleArn interface{}
}

Input properties used for looking up and filtering Recorder resources.

type RecorderStatus

type RecorderStatus struct {
	// contains filtered or unexported fields
}

Manages status (recording / stopped) of an AWS Config Configuration Recorder.

> **Note:** Starting Configuration Recorder requires a [Delivery Channel](https://www.terraform.io/docs/providers/aws/r/config_delivery_channel.html) to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_configuration_recorder_status.html.markdown.

func GetRecorderStatus

func GetRecorderStatus(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RecorderStatusState, opts ...pulumi.ResourceOpt) (*RecorderStatus, error)

GetRecorderStatus gets an existing RecorderStatus 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 NewRecorderStatus

func NewRecorderStatus(ctx *pulumi.Context,
	name string, args *RecorderStatusArgs, opts ...pulumi.ResourceOpt) (*RecorderStatus, error)

NewRecorderStatus registers a new resource with the given unique name, arguments, and options.

func (*RecorderStatus) ID

func (r *RecorderStatus) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*RecorderStatus) IsEnabled

func (r *RecorderStatus) IsEnabled() pulumi.BoolOutput

Whether the configuration recorder should be enabled or disabled.

func (*RecorderStatus) Name

The name of the recorder

func (*RecorderStatus) URN

func (r *RecorderStatus) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RecorderStatusArgs

type RecorderStatusArgs struct {
	// Whether the configuration recorder should be enabled or disabled.
	IsEnabled interface{}
	// The name of the recorder
	Name interface{}
}

The set of arguments for constructing a RecorderStatus resource.

type RecorderStatusState

type RecorderStatusState struct {
	// Whether the configuration recorder should be enabled or disabled.
	IsEnabled interface{}
	// The name of the recorder
	Name interface{}
}

Input properties used for looking up and filtering RecorderStatus resources.

type Rule

type Rule struct {
	// contains filtered or unexported fields
}

Provides an AWS Config Rule.

> **Note:** Config Rule requires an existing [Configuration Recorder](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder.html) to be present. Use of `dependsOn` is recommended (as shown below) to avoid race conditions.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/config_config_rule.html.markdown.

func GetRule

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RuleState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Rule, error)

NewRule registers a new resource with the given unique name, arguments, and options.

func (*Rule) Arn

func (r *Rule) Arn() pulumi.StringOutput

The ARN of the config rule

func (*Rule) Description

func (r *Rule) Description() pulumi.StringOutput

Description of the rule

func (*Rule) ID

func (r *Rule) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Rule) InputParameters

func (r *Rule) InputParameters() pulumi.StringOutput

A string in JSON format that is passed to the AWS Config rule Lambda function.

func (*Rule) MaximumExecutionFrequency

func (r *Rule) MaximumExecutionFrequency() pulumi.StringOutput

The frequency that you want AWS Config to run evaluations for a rule that is triggered periodically. If specified, requires `messageType` to be `ScheduledNotification`.

func (*Rule) Name

func (r *Rule) Name() pulumi.StringOutput

The name of the rule

func (*Rule) RuleId

func (r *Rule) RuleId() pulumi.StringOutput

The ID of the config rule

func (*Rule) Scope

func (r *Rule) Scope() pulumi.Output

Scope defines which resources can trigger an evaluation for the rule as documented below.

func (*Rule) Source

func (r *Rule) Source() pulumi.Output

Source specifies the rule owner, the rule identifier, and the notifications that cause the function to evaluate your AWS resources as documented below.

func (*Rule) Tags added in v0.18.26

func (r *Rule) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Rule) URN

func (r *Rule) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RuleArgs

type RuleArgs struct {
	// Description of the rule
	Description interface{}
	// A string in JSON format that is passed to the AWS Config rule Lambda function.
	InputParameters interface{}
	// The frequency that you want AWS Config to run evaluations for a rule that
	// is triggered periodically. If specified, requires `messageType` to be `ScheduledNotification`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// Scope defines which resources can trigger an evaluation for the rule as documented below.
	Scope interface{}
	// Source specifies the rule owner, the rule identifier, and the notifications that cause
	// the function to evaluate your AWS resources as documented below.
	Source interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Rule resource.

type RuleState

type RuleState struct {
	// The ARN of the config rule
	Arn interface{}
	// Description of the rule
	Description interface{}
	// A string in JSON format that is passed to the AWS Config rule Lambda function.
	InputParameters interface{}
	// The frequency that you want AWS Config to run evaluations for a rule that
	// is triggered periodically. If specified, requires `messageType` to be `ScheduledNotification`.
	MaximumExecutionFrequency interface{}
	// The name of the rule
	Name interface{}
	// The ID of the config rule
	RuleId interface{}
	// Scope defines which resources can trigger an evaluation for the rule as documented below.
	Scope interface{}
	// Source specifies the rule owner, the rule identifier, and the notifications that cause
	// the function to evaluate your AWS resources as documented below.
	Source interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Rule resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL