Documentation ¶
Index ¶
- type DelegatedAdminAccount
- type DelegatedAdminAccountArgs
- type DelegatedAdminAccountArray
- func (DelegatedAdminAccountArray) ElementType() reflect.Type
- func (i DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutput() DelegatedAdminAccountArrayOutput
- func (i DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutputWithContext(ctx context.Context) DelegatedAdminAccountArrayOutput
- type DelegatedAdminAccountArrayInput
- type DelegatedAdminAccountArrayOutput
- func (DelegatedAdminAccountArrayOutput) ElementType() reflect.Type
- func (o DelegatedAdminAccountArrayOutput) Index(i pulumi.IntInput) DelegatedAdminAccountOutput
- func (o DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutput() DelegatedAdminAccountArrayOutput
- func (o DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutputWithContext(ctx context.Context) DelegatedAdminAccountArrayOutput
- type DelegatedAdminAccountInput
- type DelegatedAdminAccountMap
- type DelegatedAdminAccountMapInput
- type DelegatedAdminAccountMapOutput
- func (DelegatedAdminAccountMapOutput) ElementType() reflect.Type
- func (o DelegatedAdminAccountMapOutput) MapIndex(k pulumi.StringInput) DelegatedAdminAccountOutput
- func (o DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutput() DelegatedAdminAccountMapOutput
- func (o DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutputWithContext(ctx context.Context) DelegatedAdminAccountMapOutput
- type DelegatedAdminAccountOutput
- func (o DelegatedAdminAccountOutput) AccountId() pulumi.StringOutput
- func (DelegatedAdminAccountOutput) ElementType() reflect.Type
- func (o DelegatedAdminAccountOutput) RelationshipStatus() pulumi.StringOutput
- func (o DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutput() DelegatedAdminAccountOutput
- func (o DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutputWithContext(ctx context.Context) DelegatedAdminAccountOutput
- type DelegatedAdminAccountState
- type Enabler
- type EnablerArgs
- type EnablerArray
- type EnablerArrayInput
- type EnablerArrayOutput
- type EnablerInput
- type EnablerMap
- type EnablerMapInput
- type EnablerMapOutput
- type EnablerOutput
- func (o EnablerOutput) AccountIds() pulumi.StringArrayOutput
- func (EnablerOutput) ElementType() reflect.Type
- func (o EnablerOutput) ResourceTypes() pulumi.StringArrayOutput
- func (o EnablerOutput) ToEnablerOutput() EnablerOutput
- func (o EnablerOutput) ToEnablerOutputWithContext(ctx context.Context) EnablerOutput
- type EnablerState
- type MemberAssociation
- type MemberAssociationArgs
- type MemberAssociationArray
- type MemberAssociationArrayInput
- type MemberAssociationArrayOutput
- func (MemberAssociationArrayOutput) ElementType() reflect.Type
- func (o MemberAssociationArrayOutput) Index(i pulumi.IntInput) MemberAssociationOutput
- func (o MemberAssociationArrayOutput) ToMemberAssociationArrayOutput() MemberAssociationArrayOutput
- func (o MemberAssociationArrayOutput) ToMemberAssociationArrayOutputWithContext(ctx context.Context) MemberAssociationArrayOutput
- type MemberAssociationInput
- type MemberAssociationMap
- type MemberAssociationMapInput
- type MemberAssociationMapOutput
- func (MemberAssociationMapOutput) ElementType() reflect.Type
- func (o MemberAssociationMapOutput) MapIndex(k pulumi.StringInput) MemberAssociationOutput
- func (o MemberAssociationMapOutput) ToMemberAssociationMapOutput() MemberAssociationMapOutput
- func (o MemberAssociationMapOutput) ToMemberAssociationMapOutputWithContext(ctx context.Context) MemberAssociationMapOutput
- type MemberAssociationOutput
- func (o MemberAssociationOutput) AccountId() pulumi.StringOutput
- func (o MemberAssociationOutput) DelegatedAdminAccountId() pulumi.StringOutput
- func (MemberAssociationOutput) ElementType() reflect.Type
- func (o MemberAssociationOutput) RelationshipStatus() pulumi.StringOutput
- func (o MemberAssociationOutput) ToMemberAssociationOutput() MemberAssociationOutput
- func (o MemberAssociationOutput) ToMemberAssociationOutputWithContext(ctx context.Context) MemberAssociationOutput
- func (o MemberAssociationOutput) UpdatedAt() pulumi.StringOutput
- type MemberAssociationState
- type OrganizationConfiguration
- type OrganizationConfigurationArgs
- type OrganizationConfigurationArray
- func (OrganizationConfigurationArray) ElementType() reflect.Type
- func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput
- func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput
- type OrganizationConfigurationArrayInput
- type OrganizationConfigurationArrayOutput
- func (OrganizationConfigurationArrayOutput) ElementType() reflect.Type
- func (o OrganizationConfigurationArrayOutput) Index(i pulumi.IntInput) OrganizationConfigurationOutput
- func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput
- func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput
- type OrganizationConfigurationAutoEnable
- type OrganizationConfigurationAutoEnableArgs
- func (OrganizationConfigurationAutoEnableArgs) ElementType() reflect.Type
- func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutput() OrganizationConfigurationAutoEnableOutput
- func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnableOutput
- func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
- func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
- type OrganizationConfigurationAutoEnableInput
- type OrganizationConfigurationAutoEnableOutput
- func (o OrganizationConfigurationAutoEnableOutput) Ec2() pulumi.BoolOutput
- func (o OrganizationConfigurationAutoEnableOutput) Ecr() pulumi.BoolOutput
- func (OrganizationConfigurationAutoEnableOutput) ElementType() reflect.Type
- func (o OrganizationConfigurationAutoEnableOutput) Lambda() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnableOutput) LambdaCode() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutput() OrganizationConfigurationAutoEnableOutput
- func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnableOutput
- func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
- func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
- type OrganizationConfigurationAutoEnablePtrInput
- type OrganizationConfigurationAutoEnablePtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) Ec2() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) Ecr() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) Elem() OrganizationConfigurationAutoEnableOutput
- func (OrganizationConfigurationAutoEnablePtrOutput) ElementType() reflect.Type
- func (o OrganizationConfigurationAutoEnablePtrOutput) Lambda() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) LambdaCode() pulumi.BoolPtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
- func (o OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
- type OrganizationConfigurationInput
- type OrganizationConfigurationMap
- func (OrganizationConfigurationMap) ElementType() reflect.Type
- func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput
- func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput
- type OrganizationConfigurationMapInput
- type OrganizationConfigurationMapOutput
- func (OrganizationConfigurationMapOutput) ElementType() reflect.Type
- func (o OrganizationConfigurationMapOutput) MapIndex(k pulumi.StringInput) OrganizationConfigurationOutput
- func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput
- func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput
- type OrganizationConfigurationOutput
- func (o OrganizationConfigurationOutput) AutoEnable() OrganizationConfigurationAutoEnableOutput
- func (OrganizationConfigurationOutput) ElementType() reflect.Type
- func (o OrganizationConfigurationOutput) MaxAccountLimitReached() pulumi.BoolOutput
- func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput
- func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput
- type OrganizationConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelegatedAdminAccount ¶
type DelegatedAdminAccount struct { pulumi.CustomResourceState // Account to enable as delegated admin account. AccountId pulumi.StringOutput `pulumi:"accountId"` // Status of this delegated admin account. RelationshipStatus pulumi.StringOutput `pulumi:"relationshipStatus"` }
Resource for managing an Amazon Inspector Delegated Admin Account.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/inspector2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } _, err = inspector2.NewDelegatedAdminAccount(ctx, "example", &inspector2.DelegatedAdminAccountArgs{ AccountId: pulumi.String(current.AccountId), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Inspector Delegated Admin Account using the `account_id`. For example:
```sh $ pulumi import aws:inspector2/delegatedAdminAccount:DelegatedAdminAccount example 012345678901 ```
func GetDelegatedAdminAccount ¶
func GetDelegatedAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DelegatedAdminAccountState, opts ...pulumi.ResourceOption) (*DelegatedAdminAccount, error)
GetDelegatedAdminAccount gets an existing DelegatedAdminAccount 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 NewDelegatedAdminAccount ¶
func NewDelegatedAdminAccount(ctx *pulumi.Context, name string, args *DelegatedAdminAccountArgs, opts ...pulumi.ResourceOption) (*DelegatedAdminAccount, error)
NewDelegatedAdminAccount registers a new resource with the given unique name, arguments, and options.
func (*DelegatedAdminAccount) ElementType ¶
func (*DelegatedAdminAccount) ElementType() reflect.Type
func (*DelegatedAdminAccount) ToDelegatedAdminAccountOutput ¶
func (i *DelegatedAdminAccount) ToDelegatedAdminAccountOutput() DelegatedAdminAccountOutput
func (*DelegatedAdminAccount) ToDelegatedAdminAccountOutputWithContext ¶
func (i *DelegatedAdminAccount) ToDelegatedAdminAccountOutputWithContext(ctx context.Context) DelegatedAdminAccountOutput
type DelegatedAdminAccountArgs ¶
type DelegatedAdminAccountArgs struct { // Account to enable as delegated admin account. AccountId pulumi.StringInput }
The set of arguments for constructing a DelegatedAdminAccount resource.
func (DelegatedAdminAccountArgs) ElementType ¶
func (DelegatedAdminAccountArgs) ElementType() reflect.Type
type DelegatedAdminAccountArray ¶
type DelegatedAdminAccountArray []DelegatedAdminAccountInput
func (DelegatedAdminAccountArray) ElementType ¶
func (DelegatedAdminAccountArray) ElementType() reflect.Type
func (DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutput ¶
func (i DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutput() DelegatedAdminAccountArrayOutput
func (DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutputWithContext ¶
func (i DelegatedAdminAccountArray) ToDelegatedAdminAccountArrayOutputWithContext(ctx context.Context) DelegatedAdminAccountArrayOutput
type DelegatedAdminAccountArrayInput ¶
type DelegatedAdminAccountArrayInput interface { pulumi.Input ToDelegatedAdminAccountArrayOutput() DelegatedAdminAccountArrayOutput ToDelegatedAdminAccountArrayOutputWithContext(context.Context) DelegatedAdminAccountArrayOutput }
DelegatedAdminAccountArrayInput is an input type that accepts DelegatedAdminAccountArray and DelegatedAdminAccountArrayOutput values. You can construct a concrete instance of `DelegatedAdminAccountArrayInput` via:
DelegatedAdminAccountArray{ DelegatedAdminAccountArgs{...} }
type DelegatedAdminAccountArrayOutput ¶
type DelegatedAdminAccountArrayOutput struct{ *pulumi.OutputState }
func (DelegatedAdminAccountArrayOutput) ElementType ¶
func (DelegatedAdminAccountArrayOutput) ElementType() reflect.Type
func (DelegatedAdminAccountArrayOutput) Index ¶
func (o DelegatedAdminAccountArrayOutput) Index(i pulumi.IntInput) DelegatedAdminAccountOutput
func (DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutput ¶
func (o DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutput() DelegatedAdminAccountArrayOutput
func (DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutputWithContext ¶
func (o DelegatedAdminAccountArrayOutput) ToDelegatedAdminAccountArrayOutputWithContext(ctx context.Context) DelegatedAdminAccountArrayOutput
type DelegatedAdminAccountInput ¶
type DelegatedAdminAccountInput interface { pulumi.Input ToDelegatedAdminAccountOutput() DelegatedAdminAccountOutput ToDelegatedAdminAccountOutputWithContext(ctx context.Context) DelegatedAdminAccountOutput }
type DelegatedAdminAccountMap ¶
type DelegatedAdminAccountMap map[string]DelegatedAdminAccountInput
func (DelegatedAdminAccountMap) ElementType ¶
func (DelegatedAdminAccountMap) ElementType() reflect.Type
func (DelegatedAdminAccountMap) ToDelegatedAdminAccountMapOutput ¶
func (i DelegatedAdminAccountMap) ToDelegatedAdminAccountMapOutput() DelegatedAdminAccountMapOutput
func (DelegatedAdminAccountMap) ToDelegatedAdminAccountMapOutputWithContext ¶
func (i DelegatedAdminAccountMap) ToDelegatedAdminAccountMapOutputWithContext(ctx context.Context) DelegatedAdminAccountMapOutput
type DelegatedAdminAccountMapInput ¶
type DelegatedAdminAccountMapInput interface { pulumi.Input ToDelegatedAdminAccountMapOutput() DelegatedAdminAccountMapOutput ToDelegatedAdminAccountMapOutputWithContext(context.Context) DelegatedAdminAccountMapOutput }
DelegatedAdminAccountMapInput is an input type that accepts DelegatedAdminAccountMap and DelegatedAdminAccountMapOutput values. You can construct a concrete instance of `DelegatedAdminAccountMapInput` via:
DelegatedAdminAccountMap{ "key": DelegatedAdminAccountArgs{...} }
type DelegatedAdminAccountMapOutput ¶
type DelegatedAdminAccountMapOutput struct{ *pulumi.OutputState }
func (DelegatedAdminAccountMapOutput) ElementType ¶
func (DelegatedAdminAccountMapOutput) ElementType() reflect.Type
func (DelegatedAdminAccountMapOutput) MapIndex ¶
func (o DelegatedAdminAccountMapOutput) MapIndex(k pulumi.StringInput) DelegatedAdminAccountOutput
func (DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutput ¶
func (o DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutput() DelegatedAdminAccountMapOutput
func (DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutputWithContext ¶
func (o DelegatedAdminAccountMapOutput) ToDelegatedAdminAccountMapOutputWithContext(ctx context.Context) DelegatedAdminAccountMapOutput
type DelegatedAdminAccountOutput ¶
type DelegatedAdminAccountOutput struct{ *pulumi.OutputState }
func (DelegatedAdminAccountOutput) AccountId ¶
func (o DelegatedAdminAccountOutput) AccountId() pulumi.StringOutput
Account to enable as delegated admin account.
func (DelegatedAdminAccountOutput) ElementType ¶
func (DelegatedAdminAccountOutput) ElementType() reflect.Type
func (DelegatedAdminAccountOutput) RelationshipStatus ¶
func (o DelegatedAdminAccountOutput) RelationshipStatus() pulumi.StringOutput
Status of this delegated admin account.
func (DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutput ¶
func (o DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutput() DelegatedAdminAccountOutput
func (DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutputWithContext ¶
func (o DelegatedAdminAccountOutput) ToDelegatedAdminAccountOutputWithContext(ctx context.Context) DelegatedAdminAccountOutput
type DelegatedAdminAccountState ¶
type DelegatedAdminAccountState struct { // Account to enable as delegated admin account. AccountId pulumi.StringPtrInput // Status of this delegated admin account. RelationshipStatus pulumi.StringPtrInput }
func (DelegatedAdminAccountState) ElementType ¶
func (DelegatedAdminAccountState) ElementType() reflect.Type
type Enabler ¶
type Enabler struct { pulumi.CustomResourceState // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. AccountIds pulumi.StringArrayOutput `pulumi:"accountIds"` // Type of resources to scan. // Valid values are `EC2`, `ECR`, `LAMBDA` and `LAMBDA_CODE`. // At least one item is required. ResourceTypes pulumi.StringArrayOutput `pulumi:"resourceTypes"` }
Resource for enabling Amazon Inspector resource scans.
This resource must be created in the Organization's Administrator Account.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/inspector2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := inspector2.NewEnabler(ctx, "example", &inspector2.EnablerArgs{ AccountIds: pulumi.StringArray{ pulumi.String("123456789012"), }, ResourceTypes: pulumi.StringArray{ pulumi.String("EC2"), }, }) if err != nil { return err } return nil }) }
```
### For the Calling Account
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/inspector2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } _, err = inspector2.NewEnabler(ctx, "test", &inspector2.EnablerArgs{ AccountIds: pulumi.StringArray{ pulumi.String(current.AccountId), }, ResourceTypes: pulumi.StringArray{ pulumi.String("ECR"), pulumi.String("EC2"), }, }) if err != nil { return err } return nil }) }
```
func GetEnabler ¶
func GetEnabler(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnablerState, opts ...pulumi.ResourceOption) (*Enabler, error)
GetEnabler gets an existing Enabler 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 NewEnabler ¶
func NewEnabler(ctx *pulumi.Context, name string, args *EnablerArgs, opts ...pulumi.ResourceOption) (*Enabler, error)
NewEnabler registers a new resource with the given unique name, arguments, and options.
func (*Enabler) ElementType ¶
func (*Enabler) ToEnablerOutput ¶
func (i *Enabler) ToEnablerOutput() EnablerOutput
func (*Enabler) ToEnablerOutputWithContext ¶
func (i *Enabler) ToEnablerOutputWithContext(ctx context.Context) EnablerOutput
type EnablerArgs ¶
type EnablerArgs struct { // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. AccountIds pulumi.StringArrayInput // Type of resources to scan. // Valid values are `EC2`, `ECR`, `LAMBDA` and `LAMBDA_CODE`. // At least one item is required. ResourceTypes pulumi.StringArrayInput }
The set of arguments for constructing a Enabler resource.
func (EnablerArgs) ElementType ¶
func (EnablerArgs) ElementType() reflect.Type
type EnablerArray ¶
type EnablerArray []EnablerInput
func (EnablerArray) ElementType ¶
func (EnablerArray) ElementType() reflect.Type
func (EnablerArray) ToEnablerArrayOutput ¶
func (i EnablerArray) ToEnablerArrayOutput() EnablerArrayOutput
func (EnablerArray) ToEnablerArrayOutputWithContext ¶
func (i EnablerArray) ToEnablerArrayOutputWithContext(ctx context.Context) EnablerArrayOutput
type EnablerArrayInput ¶
type EnablerArrayInput interface { pulumi.Input ToEnablerArrayOutput() EnablerArrayOutput ToEnablerArrayOutputWithContext(context.Context) EnablerArrayOutput }
EnablerArrayInput is an input type that accepts EnablerArray and EnablerArrayOutput values. You can construct a concrete instance of `EnablerArrayInput` via:
EnablerArray{ EnablerArgs{...} }
type EnablerArrayOutput ¶
type EnablerArrayOutput struct{ *pulumi.OutputState }
func (EnablerArrayOutput) ElementType ¶
func (EnablerArrayOutput) ElementType() reflect.Type
func (EnablerArrayOutput) Index ¶
func (o EnablerArrayOutput) Index(i pulumi.IntInput) EnablerOutput
func (EnablerArrayOutput) ToEnablerArrayOutput ¶
func (o EnablerArrayOutput) ToEnablerArrayOutput() EnablerArrayOutput
func (EnablerArrayOutput) ToEnablerArrayOutputWithContext ¶
func (o EnablerArrayOutput) ToEnablerArrayOutputWithContext(ctx context.Context) EnablerArrayOutput
type EnablerInput ¶
type EnablerInput interface { pulumi.Input ToEnablerOutput() EnablerOutput ToEnablerOutputWithContext(ctx context.Context) EnablerOutput }
type EnablerMap ¶
type EnablerMap map[string]EnablerInput
func (EnablerMap) ElementType ¶
func (EnablerMap) ElementType() reflect.Type
func (EnablerMap) ToEnablerMapOutput ¶
func (i EnablerMap) ToEnablerMapOutput() EnablerMapOutput
func (EnablerMap) ToEnablerMapOutputWithContext ¶
func (i EnablerMap) ToEnablerMapOutputWithContext(ctx context.Context) EnablerMapOutput
type EnablerMapInput ¶
type EnablerMapInput interface { pulumi.Input ToEnablerMapOutput() EnablerMapOutput ToEnablerMapOutputWithContext(context.Context) EnablerMapOutput }
EnablerMapInput is an input type that accepts EnablerMap and EnablerMapOutput values. You can construct a concrete instance of `EnablerMapInput` via:
EnablerMap{ "key": EnablerArgs{...} }
type EnablerMapOutput ¶
type EnablerMapOutput struct{ *pulumi.OutputState }
func (EnablerMapOutput) ElementType ¶
func (EnablerMapOutput) ElementType() reflect.Type
func (EnablerMapOutput) MapIndex ¶
func (o EnablerMapOutput) MapIndex(k pulumi.StringInput) EnablerOutput
func (EnablerMapOutput) ToEnablerMapOutput ¶
func (o EnablerMapOutput) ToEnablerMapOutput() EnablerMapOutput
func (EnablerMapOutput) ToEnablerMapOutputWithContext ¶
func (o EnablerMapOutput) ToEnablerMapOutputWithContext(ctx context.Context) EnablerMapOutput
type EnablerOutput ¶
type EnablerOutput struct{ *pulumi.OutputState }
func (EnablerOutput) AccountIds ¶
func (o EnablerOutput) AccountIds() pulumi.StringArrayOutput
Set of account IDs. Can contain one of: the Organization's Administrator Account, or one or more Member Accounts.
func (EnablerOutput) ElementType ¶
func (EnablerOutput) ElementType() reflect.Type
func (EnablerOutput) ResourceTypes ¶
func (o EnablerOutput) ResourceTypes() pulumi.StringArrayOutput
Type of resources to scan. Valid values are `EC2`, `ECR`, `LAMBDA` and `LAMBDA_CODE`. At least one item is required.
func (EnablerOutput) ToEnablerOutput ¶
func (o EnablerOutput) ToEnablerOutput() EnablerOutput
func (EnablerOutput) ToEnablerOutputWithContext ¶
func (o EnablerOutput) ToEnablerOutputWithContext(ctx context.Context) EnablerOutput
type EnablerState ¶
type EnablerState struct { // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. AccountIds pulumi.StringArrayInput // Type of resources to scan. // Valid values are `EC2`, `ECR`, `LAMBDA` and `LAMBDA_CODE`. // At least one item is required. ResourceTypes pulumi.StringArrayInput }
func (EnablerState) ElementType ¶
func (EnablerState) ElementType() reflect.Type
type MemberAssociation ¶
type MemberAssociation struct { pulumi.CustomResourceState // ID of the account to associate AccountId pulumi.StringOutput `pulumi:"accountId"` // Account ID of the delegated administrator account DelegatedAdminAccountId pulumi.StringOutput `pulumi:"delegatedAdminAccountId"` // Status of the member relationship RelationshipStatus pulumi.StringOutput `pulumi:"relationshipStatus"` // Date and time of the last update of the relationship UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
Resource for associating accounts to existing Inspector instances.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/inspector2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := inspector2.NewMemberAssociation(ctx, "example", &inspector2.MemberAssociationArgs{ AccountId: pulumi.String("123456789012"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Amazon Inspector Member Association using the `account_id`. For example:
```sh $ pulumi import aws:inspector2/memberAssociation:MemberAssociation example 123456789012 ```
func GetMemberAssociation ¶
func GetMemberAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MemberAssociationState, opts ...pulumi.ResourceOption) (*MemberAssociation, error)
GetMemberAssociation gets an existing MemberAssociation 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 NewMemberAssociation ¶
func NewMemberAssociation(ctx *pulumi.Context, name string, args *MemberAssociationArgs, opts ...pulumi.ResourceOption) (*MemberAssociation, error)
NewMemberAssociation registers a new resource with the given unique name, arguments, and options.
func (*MemberAssociation) ElementType ¶
func (*MemberAssociation) ElementType() reflect.Type
func (*MemberAssociation) ToMemberAssociationOutput ¶
func (i *MemberAssociation) ToMemberAssociationOutput() MemberAssociationOutput
func (*MemberAssociation) ToMemberAssociationOutputWithContext ¶
func (i *MemberAssociation) ToMemberAssociationOutputWithContext(ctx context.Context) MemberAssociationOutput
type MemberAssociationArgs ¶
type MemberAssociationArgs struct { // ID of the account to associate AccountId pulumi.StringInput }
The set of arguments for constructing a MemberAssociation resource.
func (MemberAssociationArgs) ElementType ¶
func (MemberAssociationArgs) ElementType() reflect.Type
type MemberAssociationArray ¶
type MemberAssociationArray []MemberAssociationInput
func (MemberAssociationArray) ElementType ¶
func (MemberAssociationArray) ElementType() reflect.Type
func (MemberAssociationArray) ToMemberAssociationArrayOutput ¶
func (i MemberAssociationArray) ToMemberAssociationArrayOutput() MemberAssociationArrayOutput
func (MemberAssociationArray) ToMemberAssociationArrayOutputWithContext ¶
func (i MemberAssociationArray) ToMemberAssociationArrayOutputWithContext(ctx context.Context) MemberAssociationArrayOutput
type MemberAssociationArrayInput ¶
type MemberAssociationArrayInput interface { pulumi.Input ToMemberAssociationArrayOutput() MemberAssociationArrayOutput ToMemberAssociationArrayOutputWithContext(context.Context) MemberAssociationArrayOutput }
MemberAssociationArrayInput is an input type that accepts MemberAssociationArray and MemberAssociationArrayOutput values. You can construct a concrete instance of `MemberAssociationArrayInput` via:
MemberAssociationArray{ MemberAssociationArgs{...} }
type MemberAssociationArrayOutput ¶
type MemberAssociationArrayOutput struct{ *pulumi.OutputState }
func (MemberAssociationArrayOutput) ElementType ¶
func (MemberAssociationArrayOutput) ElementType() reflect.Type
func (MemberAssociationArrayOutput) Index ¶
func (o MemberAssociationArrayOutput) Index(i pulumi.IntInput) MemberAssociationOutput
func (MemberAssociationArrayOutput) ToMemberAssociationArrayOutput ¶
func (o MemberAssociationArrayOutput) ToMemberAssociationArrayOutput() MemberAssociationArrayOutput
func (MemberAssociationArrayOutput) ToMemberAssociationArrayOutputWithContext ¶
func (o MemberAssociationArrayOutput) ToMemberAssociationArrayOutputWithContext(ctx context.Context) MemberAssociationArrayOutput
type MemberAssociationInput ¶
type MemberAssociationInput interface { pulumi.Input ToMemberAssociationOutput() MemberAssociationOutput ToMemberAssociationOutputWithContext(ctx context.Context) MemberAssociationOutput }
type MemberAssociationMap ¶
type MemberAssociationMap map[string]MemberAssociationInput
func (MemberAssociationMap) ElementType ¶
func (MemberAssociationMap) ElementType() reflect.Type
func (MemberAssociationMap) ToMemberAssociationMapOutput ¶
func (i MemberAssociationMap) ToMemberAssociationMapOutput() MemberAssociationMapOutput
func (MemberAssociationMap) ToMemberAssociationMapOutputWithContext ¶
func (i MemberAssociationMap) ToMemberAssociationMapOutputWithContext(ctx context.Context) MemberAssociationMapOutput
type MemberAssociationMapInput ¶
type MemberAssociationMapInput interface { pulumi.Input ToMemberAssociationMapOutput() MemberAssociationMapOutput ToMemberAssociationMapOutputWithContext(context.Context) MemberAssociationMapOutput }
MemberAssociationMapInput is an input type that accepts MemberAssociationMap and MemberAssociationMapOutput values. You can construct a concrete instance of `MemberAssociationMapInput` via:
MemberAssociationMap{ "key": MemberAssociationArgs{...} }
type MemberAssociationMapOutput ¶
type MemberAssociationMapOutput struct{ *pulumi.OutputState }
func (MemberAssociationMapOutput) ElementType ¶
func (MemberAssociationMapOutput) ElementType() reflect.Type
func (MemberAssociationMapOutput) MapIndex ¶
func (o MemberAssociationMapOutput) MapIndex(k pulumi.StringInput) MemberAssociationOutput
func (MemberAssociationMapOutput) ToMemberAssociationMapOutput ¶
func (o MemberAssociationMapOutput) ToMemberAssociationMapOutput() MemberAssociationMapOutput
func (MemberAssociationMapOutput) ToMemberAssociationMapOutputWithContext ¶
func (o MemberAssociationMapOutput) ToMemberAssociationMapOutputWithContext(ctx context.Context) MemberAssociationMapOutput
type MemberAssociationOutput ¶
type MemberAssociationOutput struct{ *pulumi.OutputState }
func (MemberAssociationOutput) AccountId ¶
func (o MemberAssociationOutput) AccountId() pulumi.StringOutput
ID of the account to associate
func (MemberAssociationOutput) DelegatedAdminAccountId ¶
func (o MemberAssociationOutput) DelegatedAdminAccountId() pulumi.StringOutput
Account ID of the delegated administrator account
func (MemberAssociationOutput) ElementType ¶
func (MemberAssociationOutput) ElementType() reflect.Type
func (MemberAssociationOutput) RelationshipStatus ¶
func (o MemberAssociationOutput) RelationshipStatus() pulumi.StringOutput
Status of the member relationship
func (MemberAssociationOutput) ToMemberAssociationOutput ¶
func (o MemberAssociationOutput) ToMemberAssociationOutput() MemberAssociationOutput
func (MemberAssociationOutput) ToMemberAssociationOutputWithContext ¶
func (o MemberAssociationOutput) ToMemberAssociationOutputWithContext(ctx context.Context) MemberAssociationOutput
func (MemberAssociationOutput) UpdatedAt ¶
func (o MemberAssociationOutput) UpdatedAt() pulumi.StringOutput
Date and time of the last update of the relationship
type MemberAssociationState ¶
type MemberAssociationState struct { // ID of the account to associate AccountId pulumi.StringPtrInput // Account ID of the delegated administrator account DelegatedAdminAccountId pulumi.StringPtrInput // Status of the member relationship RelationshipStatus pulumi.StringPtrInput // Date and time of the last update of the relationship UpdatedAt pulumi.StringPtrInput }
func (MemberAssociationState) ElementType ¶
func (MemberAssociationState) ElementType() reflect.Type
type OrganizationConfiguration ¶
type OrganizationConfiguration struct { pulumi.CustomResourceState // Configuration block for auto enabling. See below. AutoEnable OrganizationConfigurationAutoEnableOutput `pulumi:"autoEnable"` // Whether your configuration reached the max account limit. MaxAccountLimitReached pulumi.BoolOutput `pulumi:"maxAccountLimitReached"` }
Resource for managing an Amazon Inspector Organization Configuration.
> **NOTE:** In order for this resource to work, the account you use must be an Inspector Delegated Admin Account.
> **NOTE:** When this resource is deleted, EC2, ECR, Lambda, and Lambda code scans will no longer be automatically enabled for new members of your Amazon Inspector organization.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/inspector2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := inspector2.NewOrganizationConfiguration(ctx, "example", &inspector2.OrganizationConfigurationArgs{ AutoEnable: &inspector2.OrganizationConfigurationAutoEnableArgs{ Ec2: pulumi.Bool(true), Ecr: pulumi.Bool(false), Lambda: pulumi.Bool(true), LambdaCode: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
```
func GetOrganizationConfiguration ¶
func GetOrganizationConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationConfigurationState, opts ...pulumi.ResourceOption) (*OrganizationConfiguration, error)
GetOrganizationConfiguration gets an existing OrganizationConfiguration 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 NewOrganizationConfiguration ¶
func NewOrganizationConfiguration(ctx *pulumi.Context, name string, args *OrganizationConfigurationArgs, opts ...pulumi.ResourceOption) (*OrganizationConfiguration, error)
NewOrganizationConfiguration registers a new resource with the given unique name, arguments, and options.
func (*OrganizationConfiguration) ElementType ¶
func (*OrganizationConfiguration) ElementType() reflect.Type
func (*OrganizationConfiguration) ToOrganizationConfigurationOutput ¶
func (i *OrganizationConfiguration) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput
func (*OrganizationConfiguration) ToOrganizationConfigurationOutputWithContext ¶
func (i *OrganizationConfiguration) ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput
type OrganizationConfigurationArgs ¶
type OrganizationConfigurationArgs struct { // Configuration block for auto enabling. See below. AutoEnable OrganizationConfigurationAutoEnableInput }
The set of arguments for constructing a OrganizationConfiguration resource.
func (OrganizationConfigurationArgs) ElementType ¶
func (OrganizationConfigurationArgs) ElementType() reflect.Type
type OrganizationConfigurationArray ¶
type OrganizationConfigurationArray []OrganizationConfigurationInput
func (OrganizationConfigurationArray) ElementType ¶
func (OrganizationConfigurationArray) ElementType() reflect.Type
func (OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutput ¶
func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput
func (OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutputWithContext ¶
func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput
type OrganizationConfigurationArrayInput ¶
type OrganizationConfigurationArrayInput interface { pulumi.Input ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput ToOrganizationConfigurationArrayOutputWithContext(context.Context) OrganizationConfigurationArrayOutput }
OrganizationConfigurationArrayInput is an input type that accepts OrganizationConfigurationArray and OrganizationConfigurationArrayOutput values. You can construct a concrete instance of `OrganizationConfigurationArrayInput` via:
OrganizationConfigurationArray{ OrganizationConfigurationArgs{...} }
type OrganizationConfigurationArrayOutput ¶
type OrganizationConfigurationArrayOutput struct{ *pulumi.OutputState }
func (OrganizationConfigurationArrayOutput) ElementType ¶
func (OrganizationConfigurationArrayOutput) ElementType() reflect.Type
func (OrganizationConfigurationArrayOutput) Index ¶
func (o OrganizationConfigurationArrayOutput) Index(i pulumi.IntInput) OrganizationConfigurationOutput
func (OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutput ¶
func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput
func (OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutputWithContext ¶
func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput
type OrganizationConfigurationAutoEnable ¶
type OrganizationConfigurationAutoEnable struct { // Whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization. Ec2 bool `pulumi:"ec2"` // Whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization. Ecr bool `pulumi:"ecr"` // Whether Lambda Function scans are automatically enabled for new members of your Amazon Inspector organization. Lambda *bool `pulumi:"lambda"` // Whether AWS Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. **Note:** Lambda code scanning requires Lambda standard scanning to be activated. Consequently, if you are setting this argument to `true`, you must also set the `lambda` argument to `true`. See [Scanning AWS Lambda functions with Amazon Inspector](https://docs.aws.amazon.com/inspector/latest/user/scanning-lambda.html#lambda-code-scans) for more information. LambdaCode *bool `pulumi:"lambdaCode"` }
type OrganizationConfigurationAutoEnableArgs ¶
type OrganizationConfigurationAutoEnableArgs struct { // Whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization. Ec2 pulumi.BoolInput `pulumi:"ec2"` // Whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization. Ecr pulumi.BoolInput `pulumi:"ecr"` // Whether Lambda Function scans are automatically enabled for new members of your Amazon Inspector organization. Lambda pulumi.BoolPtrInput `pulumi:"lambda"` // Whether AWS Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. **Note:** Lambda code scanning requires Lambda standard scanning to be activated. Consequently, if you are setting this argument to `true`, you must also set the `lambda` argument to `true`. See [Scanning AWS Lambda functions with Amazon Inspector](https://docs.aws.amazon.com/inspector/latest/user/scanning-lambda.html#lambda-code-scans) for more information. LambdaCode pulumi.BoolPtrInput `pulumi:"lambdaCode"` }
func (OrganizationConfigurationAutoEnableArgs) ElementType ¶
func (OrganizationConfigurationAutoEnableArgs) ElementType() reflect.Type
func (OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutput ¶
func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutput() OrganizationConfigurationAutoEnableOutput
func (OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutputWithContext ¶
func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnableOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnableOutput
func (OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutput ¶
func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
func (OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutputWithContext ¶
func (i OrganizationConfigurationAutoEnableArgs) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
type OrganizationConfigurationAutoEnableInput ¶
type OrganizationConfigurationAutoEnableInput interface { pulumi.Input ToOrganizationConfigurationAutoEnableOutput() OrganizationConfigurationAutoEnableOutput ToOrganizationConfigurationAutoEnableOutputWithContext(context.Context) OrganizationConfigurationAutoEnableOutput }
OrganizationConfigurationAutoEnableInput is an input type that accepts OrganizationConfigurationAutoEnableArgs and OrganizationConfigurationAutoEnableOutput values. You can construct a concrete instance of `OrganizationConfigurationAutoEnableInput` via:
OrganizationConfigurationAutoEnableArgs{...}
type OrganizationConfigurationAutoEnableOutput ¶
type OrganizationConfigurationAutoEnableOutput struct{ *pulumi.OutputState }
func (OrganizationConfigurationAutoEnableOutput) Ec2 ¶
func (o OrganizationConfigurationAutoEnableOutput) Ec2() pulumi.BoolOutput
Whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnableOutput) Ecr ¶
func (o OrganizationConfigurationAutoEnableOutput) Ecr() pulumi.BoolOutput
Whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnableOutput) ElementType ¶
func (OrganizationConfigurationAutoEnableOutput) ElementType() reflect.Type
func (OrganizationConfigurationAutoEnableOutput) Lambda ¶
func (o OrganizationConfigurationAutoEnableOutput) Lambda() pulumi.BoolPtrOutput
Whether Lambda Function scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnableOutput) LambdaCode ¶ added in v6.9.0
func (o OrganizationConfigurationAutoEnableOutput) LambdaCode() pulumi.BoolPtrOutput
Whether AWS Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. **Note:** Lambda code scanning requires Lambda standard scanning to be activated. Consequently, if you are setting this argument to `true`, you must also set the `lambda` argument to `true`. See [Scanning AWS Lambda functions with Amazon Inspector](https://docs.aws.amazon.com/inspector/latest/user/scanning-lambda.html#lambda-code-scans) for more information.
func (OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutput ¶
func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutput() OrganizationConfigurationAutoEnableOutput
func (OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutputWithContext ¶
func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnableOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnableOutput
func (OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutput ¶
func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
func (OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext ¶
func (o OrganizationConfigurationAutoEnableOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
type OrganizationConfigurationAutoEnablePtrInput ¶
type OrganizationConfigurationAutoEnablePtrInput interface { pulumi.Input ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput ToOrganizationConfigurationAutoEnablePtrOutputWithContext(context.Context) OrganizationConfigurationAutoEnablePtrOutput }
OrganizationConfigurationAutoEnablePtrInput is an input type that accepts OrganizationConfigurationAutoEnableArgs, OrganizationConfigurationAutoEnablePtr and OrganizationConfigurationAutoEnablePtrOutput values. You can construct a concrete instance of `OrganizationConfigurationAutoEnablePtrInput` via:
OrganizationConfigurationAutoEnableArgs{...} or: nil
func OrganizationConfigurationAutoEnablePtr ¶
func OrganizationConfigurationAutoEnablePtr(v *OrganizationConfigurationAutoEnableArgs) OrganizationConfigurationAutoEnablePtrInput
type OrganizationConfigurationAutoEnablePtrOutput ¶
type OrganizationConfigurationAutoEnablePtrOutput struct{ *pulumi.OutputState }
func (OrganizationConfigurationAutoEnablePtrOutput) Ec2 ¶
func (o OrganizationConfigurationAutoEnablePtrOutput) Ec2() pulumi.BoolPtrOutput
Whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnablePtrOutput) Ecr ¶
func (o OrganizationConfigurationAutoEnablePtrOutput) Ecr() pulumi.BoolPtrOutput
Whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnablePtrOutput) ElementType ¶
func (OrganizationConfigurationAutoEnablePtrOutput) ElementType() reflect.Type
func (OrganizationConfigurationAutoEnablePtrOutput) Lambda ¶
func (o OrganizationConfigurationAutoEnablePtrOutput) Lambda() pulumi.BoolPtrOutput
Whether Lambda Function scans are automatically enabled for new members of your Amazon Inspector organization.
func (OrganizationConfigurationAutoEnablePtrOutput) LambdaCode ¶ added in v6.9.0
func (o OrganizationConfigurationAutoEnablePtrOutput) LambdaCode() pulumi.BoolPtrOutput
Whether AWS Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. **Note:** Lambda code scanning requires Lambda standard scanning to be activated. Consequently, if you are setting this argument to `true`, you must also set the `lambda` argument to `true`. See [Scanning AWS Lambda functions with Amazon Inspector](https://docs.aws.amazon.com/inspector/latest/user/scanning-lambda.html#lambda-code-scans) for more information.
func (OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutput ¶
func (o OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutput() OrganizationConfigurationAutoEnablePtrOutput
func (OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext ¶
func (o OrganizationConfigurationAutoEnablePtrOutput) ToOrganizationConfigurationAutoEnablePtrOutputWithContext(ctx context.Context) OrganizationConfigurationAutoEnablePtrOutput
type OrganizationConfigurationInput ¶
type OrganizationConfigurationInput interface { pulumi.Input ToOrganizationConfigurationOutput() OrganizationConfigurationOutput ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput }
type OrganizationConfigurationMap ¶
type OrganizationConfigurationMap map[string]OrganizationConfigurationInput
func (OrganizationConfigurationMap) ElementType ¶
func (OrganizationConfigurationMap) ElementType() reflect.Type
func (OrganizationConfigurationMap) ToOrganizationConfigurationMapOutput ¶
func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput
func (OrganizationConfigurationMap) ToOrganizationConfigurationMapOutputWithContext ¶
func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput
type OrganizationConfigurationMapInput ¶
type OrganizationConfigurationMapInput interface { pulumi.Input ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput ToOrganizationConfigurationMapOutputWithContext(context.Context) OrganizationConfigurationMapOutput }
OrganizationConfigurationMapInput is an input type that accepts OrganizationConfigurationMap and OrganizationConfigurationMapOutput values. You can construct a concrete instance of `OrganizationConfigurationMapInput` via:
OrganizationConfigurationMap{ "key": OrganizationConfigurationArgs{...} }
type OrganizationConfigurationMapOutput ¶
type OrganizationConfigurationMapOutput struct{ *pulumi.OutputState }
func (OrganizationConfigurationMapOutput) ElementType ¶
func (OrganizationConfigurationMapOutput) ElementType() reflect.Type
func (OrganizationConfigurationMapOutput) MapIndex ¶
func (o OrganizationConfigurationMapOutput) MapIndex(k pulumi.StringInput) OrganizationConfigurationOutput
func (OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutput ¶
func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput
func (OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutputWithContext ¶
func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput
type OrganizationConfigurationOutput ¶
type OrganizationConfigurationOutput struct{ *pulumi.OutputState }
func (OrganizationConfigurationOutput) AutoEnable ¶
func (o OrganizationConfigurationOutput) AutoEnable() OrganizationConfigurationAutoEnableOutput
Configuration block for auto enabling. See below.
func (OrganizationConfigurationOutput) ElementType ¶
func (OrganizationConfigurationOutput) ElementType() reflect.Type
func (OrganizationConfigurationOutput) MaxAccountLimitReached ¶
func (o OrganizationConfigurationOutput) MaxAccountLimitReached() pulumi.BoolOutput
Whether your configuration reached the max account limit.
func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutput ¶
func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput
func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext ¶
func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput
type OrganizationConfigurationState ¶
type OrganizationConfigurationState struct { // Configuration block for auto enabling. See below. AutoEnable OrganizationConfigurationAutoEnablePtrInput // Whether your configuration reached the max account limit. MaxAccountLimitReached pulumi.BoolPtrInput }
func (OrganizationConfigurationState) ElementType ¶
func (OrganizationConfigurationState) ElementType() reflect.Type