cfg

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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

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

func (r *AggregateAuthorization) AccountId() *pulumi.StringOutput

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) URN

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

type AggregateAuthorizationArgs

type AggregateAuthorizationArgs struct {
	// Account ID
	AccountId interface{}
	// Region
	Region 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{}
}

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

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) 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{}
}

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{}
}

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 `depends_on` (as shown below) is recommended to avoid race conditions.

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

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

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

func (*DeliveryChannel) Name

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

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 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 [`aws_config_configuration_recorder_status`](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder_status.html) is a separate resource.

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 `depends_on` (as shown below) is recommended to avoid race conditions.

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

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

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 `depends_on` is recommended (as shown below) to avoid race conditions.

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 `message_type` 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) 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 `message_type` 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{}
}

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 `message_type` 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{}
}

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