Documentation ¶
Index ¶
- type Account
- func (*Account) ElementType() reflect.Type
- func (i *Account) ToAccountOutput() AccountOutput
- func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (i *Account) ToAccountPtrOutput() AccountPtrOutput
- func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
- func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountPtrInput
- type AccountPtrOutput
- type AccountState
- type ActionTarget
- func (*ActionTarget) ElementType() reflect.Type
- func (i *ActionTarget) ToActionTargetOutput() ActionTargetOutput
- func (i *ActionTarget) ToActionTargetOutputWithContext(ctx context.Context) ActionTargetOutput
- func (i *ActionTarget) ToActionTargetPtrOutput() ActionTargetPtrOutput
- func (i *ActionTarget) ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput
- type ActionTargetArgs
- type ActionTargetArray
- type ActionTargetArrayInput
- type ActionTargetArrayOutput
- func (ActionTargetArrayOutput) ElementType() reflect.Type
- func (o ActionTargetArrayOutput) Index(i pulumi.IntInput) ActionTargetOutput
- func (o ActionTargetArrayOutput) ToActionTargetArrayOutput() ActionTargetArrayOutput
- func (o ActionTargetArrayOutput) ToActionTargetArrayOutputWithContext(ctx context.Context) ActionTargetArrayOutput
- type ActionTargetInput
- type ActionTargetMap
- type ActionTargetMapInput
- type ActionTargetMapOutput
- func (ActionTargetMapOutput) ElementType() reflect.Type
- func (o ActionTargetMapOutput) MapIndex(k pulumi.StringInput) ActionTargetOutput
- func (o ActionTargetMapOutput) ToActionTargetMapOutput() ActionTargetMapOutput
- func (o ActionTargetMapOutput) ToActionTargetMapOutputWithContext(ctx context.Context) ActionTargetMapOutput
- type ActionTargetOutput
- func (ActionTargetOutput) ElementType() reflect.Type
- func (o ActionTargetOutput) ToActionTargetOutput() ActionTargetOutput
- func (o ActionTargetOutput) ToActionTargetOutputWithContext(ctx context.Context) ActionTargetOutput
- func (o ActionTargetOutput) ToActionTargetPtrOutput() ActionTargetPtrOutput
- func (o ActionTargetOutput) ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput
- type ActionTargetPtrInput
- type ActionTargetPtrOutput
- type ActionTargetState
- type InviteAccepter
- func (*InviteAccepter) ElementType() reflect.Type
- func (i *InviteAccepter) ToInviteAccepterOutput() InviteAccepterOutput
- func (i *InviteAccepter) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput
- func (i *InviteAccepter) ToInviteAccepterPtrOutput() InviteAccepterPtrOutput
- func (i *InviteAccepter) ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput
- type InviteAccepterArgs
- type InviteAccepterArray
- type InviteAccepterArrayInput
- type InviteAccepterArrayOutput
- func (InviteAccepterArrayOutput) ElementType() reflect.Type
- func (o InviteAccepterArrayOutput) Index(i pulumi.IntInput) InviteAccepterOutput
- func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutput() InviteAccepterArrayOutput
- func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutputWithContext(ctx context.Context) InviteAccepterArrayOutput
- type InviteAccepterInput
- type InviteAccepterMap
- type InviteAccepterMapInput
- type InviteAccepterMapOutput
- func (InviteAccepterMapOutput) ElementType() reflect.Type
- func (o InviteAccepterMapOutput) MapIndex(k pulumi.StringInput) InviteAccepterOutput
- func (o InviteAccepterMapOutput) ToInviteAccepterMapOutput() InviteAccepterMapOutput
- func (o InviteAccepterMapOutput) ToInviteAccepterMapOutputWithContext(ctx context.Context) InviteAccepterMapOutput
- type InviteAccepterOutput
- func (InviteAccepterOutput) ElementType() reflect.Type
- func (o InviteAccepterOutput) ToInviteAccepterOutput() InviteAccepterOutput
- func (o InviteAccepterOutput) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput
- func (o InviteAccepterOutput) ToInviteAccepterPtrOutput() InviteAccepterPtrOutput
- func (o InviteAccepterOutput) ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput
- type InviteAccepterPtrInput
- type InviteAccepterPtrOutput
- type InviteAccepterState
- type Member
- func (*Member) ElementType() reflect.Type
- func (i *Member) ToMemberOutput() MemberOutput
- func (i *Member) ToMemberOutputWithContext(ctx context.Context) MemberOutput
- func (i *Member) ToMemberPtrOutput() MemberPtrOutput
- func (i *Member) ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput
- type MemberArgs
- type MemberArray
- type MemberArrayInput
- type MemberArrayOutput
- type MemberInput
- type MemberMap
- type MemberMapInput
- type MemberMapOutput
- type MemberOutput
- func (MemberOutput) ElementType() reflect.Type
- func (o MemberOutput) ToMemberOutput() MemberOutput
- func (o MemberOutput) ToMemberOutputWithContext(ctx context.Context) MemberOutput
- func (o MemberOutput) ToMemberPtrOutput() MemberPtrOutput
- func (o MemberOutput) ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput
- type MemberPtrInput
- type MemberPtrOutput
- type MemberState
- type OrganizationAdminAccount
- func (*OrganizationAdminAccount) ElementType() reflect.Type
- func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput
- func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput
- func (i *OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
- func (i *OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
- type OrganizationAdminAccountArgs
- type OrganizationAdminAccountArray
- func (OrganizationAdminAccountArray) ElementType() reflect.Type
- func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput
- func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput
- type OrganizationAdminAccountArrayInput
- type OrganizationAdminAccountArrayOutput
- func (OrganizationAdminAccountArrayOutput) ElementType() reflect.Type
- func (o OrganizationAdminAccountArrayOutput) Index(i pulumi.IntInput) OrganizationAdminAccountOutput
- func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput
- func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput
- type OrganizationAdminAccountInput
- type OrganizationAdminAccountMap
- func (OrganizationAdminAccountMap) ElementType() reflect.Type
- func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput
- func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput
- type OrganizationAdminAccountMapInput
- type OrganizationAdminAccountMapOutput
- func (OrganizationAdminAccountMapOutput) ElementType() reflect.Type
- func (o OrganizationAdminAccountMapOutput) MapIndex(k pulumi.StringInput) OrganizationAdminAccountOutput
- func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput
- func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput
- type OrganizationAdminAccountOutput
- func (OrganizationAdminAccountOutput) ElementType() reflect.Type
- func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput
- func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput
- func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
- func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
- type OrganizationAdminAccountPtrInput
- type OrganizationAdminAccountPtrOutput
- func (OrganizationAdminAccountPtrOutput) ElementType() reflect.Type
- func (o OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
- func (o OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
- type OrganizationAdminAccountState
- type ProductSubscription
- func (*ProductSubscription) ElementType() reflect.Type
- func (i *ProductSubscription) ToProductSubscriptionOutput() ProductSubscriptionOutput
- func (i *ProductSubscription) ToProductSubscriptionOutputWithContext(ctx context.Context) ProductSubscriptionOutput
- func (i *ProductSubscription) ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput
- func (i *ProductSubscription) ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput
- type ProductSubscriptionArgs
- type ProductSubscriptionArray
- type ProductSubscriptionArrayInput
- type ProductSubscriptionArrayOutput
- func (ProductSubscriptionArrayOutput) ElementType() reflect.Type
- func (o ProductSubscriptionArrayOutput) Index(i pulumi.IntInput) ProductSubscriptionOutput
- func (o ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutput() ProductSubscriptionArrayOutput
- func (o ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutputWithContext(ctx context.Context) ProductSubscriptionArrayOutput
- type ProductSubscriptionInput
- type ProductSubscriptionMap
- type ProductSubscriptionMapInput
- type ProductSubscriptionMapOutput
- func (ProductSubscriptionMapOutput) ElementType() reflect.Type
- func (o ProductSubscriptionMapOutput) MapIndex(k pulumi.StringInput) ProductSubscriptionOutput
- func (o ProductSubscriptionMapOutput) ToProductSubscriptionMapOutput() ProductSubscriptionMapOutput
- func (o ProductSubscriptionMapOutput) ToProductSubscriptionMapOutputWithContext(ctx context.Context) ProductSubscriptionMapOutput
- type ProductSubscriptionOutput
- func (ProductSubscriptionOutput) ElementType() reflect.Type
- func (o ProductSubscriptionOutput) ToProductSubscriptionOutput() ProductSubscriptionOutput
- func (o ProductSubscriptionOutput) ToProductSubscriptionOutputWithContext(ctx context.Context) ProductSubscriptionOutput
- func (o ProductSubscriptionOutput) ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput
- func (o ProductSubscriptionOutput) ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput
- type ProductSubscriptionPtrInput
- type ProductSubscriptionPtrOutput
- type ProductSubscriptionState
- type StandardsSubscription
- func (*StandardsSubscription) ElementType() reflect.Type
- func (i *StandardsSubscription) ToStandardsSubscriptionOutput() StandardsSubscriptionOutput
- func (i *StandardsSubscription) ToStandardsSubscriptionOutputWithContext(ctx context.Context) StandardsSubscriptionOutput
- func (i *StandardsSubscription) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
- func (i *StandardsSubscription) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
- type StandardsSubscriptionArgs
- type StandardsSubscriptionArray
- func (StandardsSubscriptionArray) ElementType() reflect.Type
- func (i StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutput() StandardsSubscriptionArrayOutput
- func (i StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutputWithContext(ctx context.Context) StandardsSubscriptionArrayOutput
- type StandardsSubscriptionArrayInput
- type StandardsSubscriptionArrayOutput
- func (StandardsSubscriptionArrayOutput) ElementType() reflect.Type
- func (o StandardsSubscriptionArrayOutput) Index(i pulumi.IntInput) StandardsSubscriptionOutput
- func (o StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutput() StandardsSubscriptionArrayOutput
- func (o StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutputWithContext(ctx context.Context) StandardsSubscriptionArrayOutput
- type StandardsSubscriptionInput
- type StandardsSubscriptionMap
- type StandardsSubscriptionMapInput
- type StandardsSubscriptionMapOutput
- func (StandardsSubscriptionMapOutput) ElementType() reflect.Type
- func (o StandardsSubscriptionMapOutput) MapIndex(k pulumi.StringInput) StandardsSubscriptionOutput
- func (o StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutput() StandardsSubscriptionMapOutput
- func (o StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutputWithContext(ctx context.Context) StandardsSubscriptionMapOutput
- type StandardsSubscriptionOutput
- func (StandardsSubscriptionOutput) ElementType() reflect.Type
- func (o StandardsSubscriptionOutput) ToStandardsSubscriptionOutput() StandardsSubscriptionOutput
- func (o StandardsSubscriptionOutput) ToStandardsSubscriptionOutputWithContext(ctx context.Context) StandardsSubscriptionOutput
- func (o StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
- func (o StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
- type StandardsSubscriptionPtrInput
- type StandardsSubscriptionPtrOutput
- func (StandardsSubscriptionPtrOutput) ElementType() reflect.Type
- func (o StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
- func (o StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
- type StandardsSubscriptionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
pulumi.CustomResourceState
}
Enables Security Hub for this AWS account.
> **NOTE:** Destroying this resource will disable Security Hub for this AWS account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securityhub.NewAccount(ctx, "example", nil) if err != nil { return err } return nil }) }
```
## Import
An existing Security Hub enabled account can be imported using the AWS account ID, e.g.
```sh
$ pulumi import aws:securityhub/account:Account example 123456789012
```
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account 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 NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (*Account) ToAccountPtrOutput ¶
func (i *Account) ToAccountPtrOutput() AccountPtrOutput
func (*Account) ToAccountPtrOutputWithContext ¶
func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountArgs ¶
type AccountArgs struct { }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct {
*pulumi.OutputState
}
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (AccountOutput) ToAccountPtrOutput ¶
func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountOutput) ToAccountPtrOutputWithContext ¶
func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountPtrInput ¶
type AccountPtrInput interface { pulumi.Input ToAccountPtrOutput() AccountPtrOutput ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput }
type AccountPtrOutput ¶
type AccountPtrOutput struct {
*pulumi.OutputState
}
func (AccountPtrOutput) ElementType ¶
func (AccountPtrOutput) ElementType() reflect.Type
func (AccountPtrOutput) ToAccountPtrOutput ¶
func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountPtrOutput) ToAccountPtrOutputWithContext ¶
func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountState ¶
type AccountState struct { }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type ActionTarget ¶
type ActionTarget struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Security Hub custom action target. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the custom action target. Description pulumi.StringOutput `pulumi:"description"` // The ID for the custom action target. Identifier pulumi.StringOutput `pulumi:"identifier"` // The description for the custom action target. Name pulumi.StringOutput `pulumi:"name"` }
Creates Security Hub custom action.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := securityhub.NewAccount(ctx, "exampleAccount", nil) if err != nil { return err } _, err = securityhub.NewActionTarget(ctx, "exampleActionTarget", &securityhub.ActionTargetArgs{ Identifier: pulumi.String("SendToChat"), Description: pulumi.String("This is custom action sends selected findings to chat"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAccount, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub custom action can be imported using the action target ARN e.g.
```sh
$ pulumi import aws:securityhub/actionTarget:ActionTarget example arn:aws:securityhub:eu-west-1:312940875350:action/custom/a
```
func GetActionTarget ¶
func GetActionTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionTargetState, opts ...pulumi.ResourceOption) (*ActionTarget, error)
GetActionTarget gets an existing ActionTarget 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 NewActionTarget ¶
func NewActionTarget(ctx *pulumi.Context, name string, args *ActionTargetArgs, opts ...pulumi.ResourceOption) (*ActionTarget, error)
NewActionTarget registers a new resource with the given unique name, arguments, and options.
func (*ActionTarget) ElementType ¶
func (*ActionTarget) ElementType() reflect.Type
func (*ActionTarget) ToActionTargetOutput ¶
func (i *ActionTarget) ToActionTargetOutput() ActionTargetOutput
func (*ActionTarget) ToActionTargetOutputWithContext ¶
func (i *ActionTarget) ToActionTargetOutputWithContext(ctx context.Context) ActionTargetOutput
func (*ActionTarget) ToActionTargetPtrOutput ¶
func (i *ActionTarget) ToActionTargetPtrOutput() ActionTargetPtrOutput
func (*ActionTarget) ToActionTargetPtrOutputWithContext ¶
func (i *ActionTarget) ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput
type ActionTargetArgs ¶
type ActionTargetArgs struct { // The name of the custom action target. Description pulumi.StringInput // The ID for the custom action target. Identifier pulumi.StringInput // The description for the custom action target. Name pulumi.StringPtrInput }
The set of arguments for constructing a ActionTarget resource.
func (ActionTargetArgs) ElementType ¶
func (ActionTargetArgs) ElementType() reflect.Type
type ActionTargetArray ¶
type ActionTargetArray []ActionTargetInput
func (ActionTargetArray) ElementType ¶
func (ActionTargetArray) ElementType() reflect.Type
func (ActionTargetArray) ToActionTargetArrayOutput ¶
func (i ActionTargetArray) ToActionTargetArrayOutput() ActionTargetArrayOutput
func (ActionTargetArray) ToActionTargetArrayOutputWithContext ¶
func (i ActionTargetArray) ToActionTargetArrayOutputWithContext(ctx context.Context) ActionTargetArrayOutput
type ActionTargetArrayInput ¶
type ActionTargetArrayInput interface { pulumi.Input ToActionTargetArrayOutput() ActionTargetArrayOutput ToActionTargetArrayOutputWithContext(context.Context) ActionTargetArrayOutput }
ActionTargetArrayInput is an input type that accepts ActionTargetArray and ActionTargetArrayOutput values. You can construct a concrete instance of `ActionTargetArrayInput` via:
ActionTargetArray{ ActionTargetArgs{...} }
type ActionTargetArrayOutput ¶
type ActionTargetArrayOutput struct{ *pulumi.OutputState }
func (ActionTargetArrayOutput) ElementType ¶
func (ActionTargetArrayOutput) ElementType() reflect.Type
func (ActionTargetArrayOutput) Index ¶
func (o ActionTargetArrayOutput) Index(i pulumi.IntInput) ActionTargetOutput
func (ActionTargetArrayOutput) ToActionTargetArrayOutput ¶
func (o ActionTargetArrayOutput) ToActionTargetArrayOutput() ActionTargetArrayOutput
func (ActionTargetArrayOutput) ToActionTargetArrayOutputWithContext ¶
func (o ActionTargetArrayOutput) ToActionTargetArrayOutputWithContext(ctx context.Context) ActionTargetArrayOutput
type ActionTargetInput ¶
type ActionTargetInput interface { pulumi.Input ToActionTargetOutput() ActionTargetOutput ToActionTargetOutputWithContext(ctx context.Context) ActionTargetOutput }
type ActionTargetMap ¶
type ActionTargetMap map[string]ActionTargetInput
func (ActionTargetMap) ElementType ¶
func (ActionTargetMap) ElementType() reflect.Type
func (ActionTargetMap) ToActionTargetMapOutput ¶
func (i ActionTargetMap) ToActionTargetMapOutput() ActionTargetMapOutput
func (ActionTargetMap) ToActionTargetMapOutputWithContext ¶
func (i ActionTargetMap) ToActionTargetMapOutputWithContext(ctx context.Context) ActionTargetMapOutput
type ActionTargetMapInput ¶
type ActionTargetMapInput interface { pulumi.Input ToActionTargetMapOutput() ActionTargetMapOutput ToActionTargetMapOutputWithContext(context.Context) ActionTargetMapOutput }
ActionTargetMapInput is an input type that accepts ActionTargetMap and ActionTargetMapOutput values. You can construct a concrete instance of `ActionTargetMapInput` via:
ActionTargetMap{ "key": ActionTargetArgs{...} }
type ActionTargetMapOutput ¶
type ActionTargetMapOutput struct{ *pulumi.OutputState }
func (ActionTargetMapOutput) ElementType ¶
func (ActionTargetMapOutput) ElementType() reflect.Type
func (ActionTargetMapOutput) MapIndex ¶
func (o ActionTargetMapOutput) MapIndex(k pulumi.StringInput) ActionTargetOutput
func (ActionTargetMapOutput) ToActionTargetMapOutput ¶
func (o ActionTargetMapOutput) ToActionTargetMapOutput() ActionTargetMapOutput
func (ActionTargetMapOutput) ToActionTargetMapOutputWithContext ¶
func (o ActionTargetMapOutput) ToActionTargetMapOutputWithContext(ctx context.Context) ActionTargetMapOutput
type ActionTargetOutput ¶
type ActionTargetOutput struct {
*pulumi.OutputState
}
func (ActionTargetOutput) ElementType ¶
func (ActionTargetOutput) ElementType() reflect.Type
func (ActionTargetOutput) ToActionTargetOutput ¶
func (o ActionTargetOutput) ToActionTargetOutput() ActionTargetOutput
func (ActionTargetOutput) ToActionTargetOutputWithContext ¶
func (o ActionTargetOutput) ToActionTargetOutputWithContext(ctx context.Context) ActionTargetOutput
func (ActionTargetOutput) ToActionTargetPtrOutput ¶
func (o ActionTargetOutput) ToActionTargetPtrOutput() ActionTargetPtrOutput
func (ActionTargetOutput) ToActionTargetPtrOutputWithContext ¶
func (o ActionTargetOutput) ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput
type ActionTargetPtrInput ¶
type ActionTargetPtrInput interface { pulumi.Input ToActionTargetPtrOutput() ActionTargetPtrOutput ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput }
type ActionTargetPtrOutput ¶
type ActionTargetPtrOutput struct {
*pulumi.OutputState
}
func (ActionTargetPtrOutput) ElementType ¶
func (ActionTargetPtrOutput) ElementType() reflect.Type
func (ActionTargetPtrOutput) ToActionTargetPtrOutput ¶
func (o ActionTargetPtrOutput) ToActionTargetPtrOutput() ActionTargetPtrOutput
func (ActionTargetPtrOutput) ToActionTargetPtrOutputWithContext ¶
func (o ActionTargetPtrOutput) ToActionTargetPtrOutputWithContext(ctx context.Context) ActionTargetPtrOutput
type ActionTargetState ¶
type ActionTargetState struct { // Amazon Resource Name (ARN) of the Security Hub custom action target. Arn pulumi.StringPtrInput // The name of the custom action target. Description pulumi.StringPtrInput // The ID for the custom action target. Identifier pulumi.StringPtrInput // The description for the custom action target. Name pulumi.StringPtrInput }
func (ActionTargetState) ElementType ¶
func (ActionTargetState) ElementType() reflect.Type
type InviteAccepter ¶
type InviteAccepter struct { pulumi.CustomResourceState // The ID of the invitation. InvitationId pulumi.StringOutput `pulumi:"invitationId"` // The account ID of the master Security Hub account whose invitation you're accepting. MasterId pulumi.StringOutput `pulumi:"masterId"` }
> **Note:** AWS accounts can only be associated with a single Security Hub master account. Destroying this resource will disassociate the member account from the master account.
Accepts a Security Hub invitation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securityhub.NewAccount(ctx, "exampleAccount", nil) if err != nil { return err } exampleMember, err := securityhub.NewMember(ctx, "exampleMember", &securityhub.MemberArgs{ AccountId: pulumi.String("123456789012"), Email: pulumi.String("example@example.com"), Invite: pulumi.Bool(true), }) if err != nil { return err } _, err = securityhub.NewAccount(ctx, "inviteeAccount", nil, pulumi.Provider("aws.invitee")) if err != nil { return err } _, err = securityhub.NewInviteAccepter(ctx, "inviteeInviteAccepter", &securityhub.InviteAccepterArgs{ MasterId: exampleMember.MasterId, }, pulumi.Provider("aws.invitee"), pulumi.DependsOn([]pulumi.Resource{ aws_securityhub_account.Accepter, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub invite acceptance can be imported using the account ID, e.g.
```sh
$ pulumi import aws:securityhub/inviteAccepter:InviteAccepter example 123456789012
```
func GetInviteAccepter ¶
func GetInviteAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InviteAccepterState, opts ...pulumi.ResourceOption) (*InviteAccepter, error)
GetInviteAccepter gets an existing InviteAccepter 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 NewInviteAccepter ¶
func NewInviteAccepter(ctx *pulumi.Context, name string, args *InviteAccepterArgs, opts ...pulumi.ResourceOption) (*InviteAccepter, error)
NewInviteAccepter registers a new resource with the given unique name, arguments, and options.
func (*InviteAccepter) ElementType ¶
func (*InviteAccepter) ElementType() reflect.Type
func (*InviteAccepter) ToInviteAccepterOutput ¶
func (i *InviteAccepter) ToInviteAccepterOutput() InviteAccepterOutput
func (*InviteAccepter) ToInviteAccepterOutputWithContext ¶
func (i *InviteAccepter) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput
func (*InviteAccepter) ToInviteAccepterPtrOutput ¶
func (i *InviteAccepter) ToInviteAccepterPtrOutput() InviteAccepterPtrOutput
func (*InviteAccepter) ToInviteAccepterPtrOutputWithContext ¶
func (i *InviteAccepter) ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput
type InviteAccepterArgs ¶
type InviteAccepterArgs struct { // The account ID of the master Security Hub account whose invitation you're accepting. MasterId pulumi.StringInput }
The set of arguments for constructing a InviteAccepter resource.
func (InviteAccepterArgs) ElementType ¶
func (InviteAccepterArgs) ElementType() reflect.Type
type InviteAccepterArray ¶
type InviteAccepterArray []InviteAccepterInput
func (InviteAccepterArray) ElementType ¶
func (InviteAccepterArray) ElementType() reflect.Type
func (InviteAccepterArray) ToInviteAccepterArrayOutput ¶
func (i InviteAccepterArray) ToInviteAccepterArrayOutput() InviteAccepterArrayOutput
func (InviteAccepterArray) ToInviteAccepterArrayOutputWithContext ¶
func (i InviteAccepterArray) ToInviteAccepterArrayOutputWithContext(ctx context.Context) InviteAccepterArrayOutput
type InviteAccepterArrayInput ¶
type InviteAccepterArrayInput interface { pulumi.Input ToInviteAccepterArrayOutput() InviteAccepterArrayOutput ToInviteAccepterArrayOutputWithContext(context.Context) InviteAccepterArrayOutput }
InviteAccepterArrayInput is an input type that accepts InviteAccepterArray and InviteAccepterArrayOutput values. You can construct a concrete instance of `InviteAccepterArrayInput` via:
InviteAccepterArray{ InviteAccepterArgs{...} }
type InviteAccepterArrayOutput ¶
type InviteAccepterArrayOutput struct{ *pulumi.OutputState }
func (InviteAccepterArrayOutput) ElementType ¶
func (InviteAccepterArrayOutput) ElementType() reflect.Type
func (InviteAccepterArrayOutput) Index ¶
func (o InviteAccepterArrayOutput) Index(i pulumi.IntInput) InviteAccepterOutput
func (InviteAccepterArrayOutput) ToInviteAccepterArrayOutput ¶
func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutput() InviteAccepterArrayOutput
func (InviteAccepterArrayOutput) ToInviteAccepterArrayOutputWithContext ¶
func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutputWithContext(ctx context.Context) InviteAccepterArrayOutput
type InviteAccepterInput ¶
type InviteAccepterInput interface { pulumi.Input ToInviteAccepterOutput() InviteAccepterOutput ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput }
type InviteAccepterMap ¶
type InviteAccepterMap map[string]InviteAccepterInput
func (InviteAccepterMap) ElementType ¶
func (InviteAccepterMap) ElementType() reflect.Type
func (InviteAccepterMap) ToInviteAccepterMapOutput ¶
func (i InviteAccepterMap) ToInviteAccepterMapOutput() InviteAccepterMapOutput
func (InviteAccepterMap) ToInviteAccepterMapOutputWithContext ¶
func (i InviteAccepterMap) ToInviteAccepterMapOutputWithContext(ctx context.Context) InviteAccepterMapOutput
type InviteAccepterMapInput ¶
type InviteAccepterMapInput interface { pulumi.Input ToInviteAccepterMapOutput() InviteAccepterMapOutput ToInviteAccepterMapOutputWithContext(context.Context) InviteAccepterMapOutput }
InviteAccepterMapInput is an input type that accepts InviteAccepterMap and InviteAccepterMapOutput values. You can construct a concrete instance of `InviteAccepterMapInput` via:
InviteAccepterMap{ "key": InviteAccepterArgs{...} }
type InviteAccepterMapOutput ¶
type InviteAccepterMapOutput struct{ *pulumi.OutputState }
func (InviteAccepterMapOutput) ElementType ¶
func (InviteAccepterMapOutput) ElementType() reflect.Type
func (InviteAccepterMapOutput) MapIndex ¶
func (o InviteAccepterMapOutput) MapIndex(k pulumi.StringInput) InviteAccepterOutput
func (InviteAccepterMapOutput) ToInviteAccepterMapOutput ¶
func (o InviteAccepterMapOutput) ToInviteAccepterMapOutput() InviteAccepterMapOutput
func (InviteAccepterMapOutput) ToInviteAccepterMapOutputWithContext ¶
func (o InviteAccepterMapOutput) ToInviteAccepterMapOutputWithContext(ctx context.Context) InviteAccepterMapOutput
type InviteAccepterOutput ¶
type InviteAccepterOutput struct {
*pulumi.OutputState
}
func (InviteAccepterOutput) ElementType ¶
func (InviteAccepterOutput) ElementType() reflect.Type
func (InviteAccepterOutput) ToInviteAccepterOutput ¶
func (o InviteAccepterOutput) ToInviteAccepterOutput() InviteAccepterOutput
func (InviteAccepterOutput) ToInviteAccepterOutputWithContext ¶
func (o InviteAccepterOutput) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput
func (InviteAccepterOutput) ToInviteAccepterPtrOutput ¶
func (o InviteAccepterOutput) ToInviteAccepterPtrOutput() InviteAccepterPtrOutput
func (InviteAccepterOutput) ToInviteAccepterPtrOutputWithContext ¶
func (o InviteAccepterOutput) ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput
type InviteAccepterPtrInput ¶
type InviteAccepterPtrInput interface { pulumi.Input ToInviteAccepterPtrOutput() InviteAccepterPtrOutput ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput }
type InviteAccepterPtrOutput ¶
type InviteAccepterPtrOutput struct {
*pulumi.OutputState
}
func (InviteAccepterPtrOutput) ElementType ¶
func (InviteAccepterPtrOutput) ElementType() reflect.Type
func (InviteAccepterPtrOutput) ToInviteAccepterPtrOutput ¶
func (o InviteAccepterPtrOutput) ToInviteAccepterPtrOutput() InviteAccepterPtrOutput
func (InviteAccepterPtrOutput) ToInviteAccepterPtrOutputWithContext ¶
func (o InviteAccepterPtrOutput) ToInviteAccepterPtrOutputWithContext(ctx context.Context) InviteAccepterPtrOutput
type InviteAccepterState ¶
type InviteAccepterState struct { // The ID of the invitation. InvitationId pulumi.StringPtrInput // The account ID of the master Security Hub account whose invitation you're accepting. MasterId pulumi.StringPtrInput }
func (InviteAccepterState) ElementType ¶
func (InviteAccepterState) ElementType() reflect.Type
type Member ¶
type Member struct { pulumi.CustomResourceState // The ID of the member AWS account. AccountId pulumi.StringOutput `pulumi:"accountId"` // The email of the member AWS account. Email pulumi.StringOutput `pulumi:"email"` // Boolean whether to invite the account to Security Hub as a member. Defaults to `false`. Invite pulumi.BoolPtrOutput `pulumi:"invite"` // The ID of the master Security Hub AWS account. MasterId pulumi.StringOutput `pulumi:"masterId"` // The status of the member account relationship. MemberStatus pulumi.StringOutput `pulumi:"memberStatus"` }
Provides a Security Hub member resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := securityhub.NewAccount(ctx, "exampleAccount", nil) if err != nil { return err } _, err = securityhub.NewMember(ctx, "exampleMember", &securityhub.MemberArgs{ AccountId: pulumi.String("123456789012"), Email: pulumi.String("example@example.com"), Invite: pulumi.Bool(true), }, pulumi.DependsOn([]pulumi.Resource{ exampleAccount, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub members can be imported using their account ID, e.g.
```sh
$ pulumi import aws:securityhub/member:Member example 123456789012
```
func GetMember ¶
func GetMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MemberState, opts ...pulumi.ResourceOption) (*Member, error)
GetMember gets an existing Member 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 NewMember ¶
func NewMember(ctx *pulumi.Context, name string, args *MemberArgs, opts ...pulumi.ResourceOption) (*Member, error)
NewMember registers a new resource with the given unique name, arguments, and options.
func (*Member) ElementType ¶
func (*Member) ToMemberOutput ¶
func (i *Member) ToMemberOutput() MemberOutput
func (*Member) ToMemberOutputWithContext ¶
func (i *Member) ToMemberOutputWithContext(ctx context.Context) MemberOutput
func (*Member) ToMemberPtrOutput ¶
func (i *Member) ToMemberPtrOutput() MemberPtrOutput
func (*Member) ToMemberPtrOutputWithContext ¶
func (i *Member) ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput
type MemberArgs ¶
type MemberArgs struct { // The ID of the member AWS account. AccountId pulumi.StringInput // The email of the member AWS account. Email pulumi.StringInput // Boolean whether to invite the account to Security Hub as a member. Defaults to `false`. Invite pulumi.BoolPtrInput }
The set of arguments for constructing a Member resource.
func (MemberArgs) ElementType ¶
func (MemberArgs) ElementType() reflect.Type
type MemberArray ¶
type MemberArray []MemberInput
func (MemberArray) ElementType ¶
func (MemberArray) ElementType() reflect.Type
func (MemberArray) ToMemberArrayOutput ¶
func (i MemberArray) ToMemberArrayOutput() MemberArrayOutput
func (MemberArray) ToMemberArrayOutputWithContext ¶
func (i MemberArray) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput
type MemberArrayInput ¶
type MemberArrayInput interface { pulumi.Input ToMemberArrayOutput() MemberArrayOutput ToMemberArrayOutputWithContext(context.Context) MemberArrayOutput }
MemberArrayInput is an input type that accepts MemberArray and MemberArrayOutput values. You can construct a concrete instance of `MemberArrayInput` via:
MemberArray{ MemberArgs{...} }
type MemberArrayOutput ¶
type MemberArrayOutput struct{ *pulumi.OutputState }
func (MemberArrayOutput) ElementType ¶
func (MemberArrayOutput) ElementType() reflect.Type
func (MemberArrayOutput) Index ¶
func (o MemberArrayOutput) Index(i pulumi.IntInput) MemberOutput
func (MemberArrayOutput) ToMemberArrayOutput ¶
func (o MemberArrayOutput) ToMemberArrayOutput() MemberArrayOutput
func (MemberArrayOutput) ToMemberArrayOutputWithContext ¶
func (o MemberArrayOutput) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput
type MemberInput ¶
type MemberInput interface { pulumi.Input ToMemberOutput() MemberOutput ToMemberOutputWithContext(ctx context.Context) MemberOutput }
type MemberMap ¶
type MemberMap map[string]MemberInput
func (MemberMap) ElementType ¶
func (MemberMap) ToMemberMapOutput ¶
func (i MemberMap) ToMemberMapOutput() MemberMapOutput
func (MemberMap) ToMemberMapOutputWithContext ¶
func (i MemberMap) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput
type MemberMapInput ¶
type MemberMapInput interface { pulumi.Input ToMemberMapOutput() MemberMapOutput ToMemberMapOutputWithContext(context.Context) MemberMapOutput }
MemberMapInput is an input type that accepts MemberMap and MemberMapOutput values. You can construct a concrete instance of `MemberMapInput` via:
MemberMap{ "key": MemberArgs{...} }
type MemberMapOutput ¶
type MemberMapOutput struct{ *pulumi.OutputState }
func (MemberMapOutput) ElementType ¶
func (MemberMapOutput) ElementType() reflect.Type
func (MemberMapOutput) MapIndex ¶
func (o MemberMapOutput) MapIndex(k pulumi.StringInput) MemberOutput
func (MemberMapOutput) ToMemberMapOutput ¶
func (o MemberMapOutput) ToMemberMapOutput() MemberMapOutput
func (MemberMapOutput) ToMemberMapOutputWithContext ¶
func (o MemberMapOutput) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput
type MemberOutput ¶
type MemberOutput struct {
*pulumi.OutputState
}
func (MemberOutput) ElementType ¶
func (MemberOutput) ElementType() reflect.Type
func (MemberOutput) ToMemberOutput ¶
func (o MemberOutput) ToMemberOutput() MemberOutput
func (MemberOutput) ToMemberOutputWithContext ¶
func (o MemberOutput) ToMemberOutputWithContext(ctx context.Context) MemberOutput
func (MemberOutput) ToMemberPtrOutput ¶
func (o MemberOutput) ToMemberPtrOutput() MemberPtrOutput
func (MemberOutput) ToMemberPtrOutputWithContext ¶
func (o MemberOutput) ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput
type MemberPtrInput ¶
type MemberPtrInput interface { pulumi.Input ToMemberPtrOutput() MemberPtrOutput ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput }
type MemberPtrOutput ¶
type MemberPtrOutput struct {
*pulumi.OutputState
}
func (MemberPtrOutput) ElementType ¶
func (MemberPtrOutput) ElementType() reflect.Type
func (MemberPtrOutput) ToMemberPtrOutput ¶
func (o MemberPtrOutput) ToMemberPtrOutput() MemberPtrOutput
func (MemberPtrOutput) ToMemberPtrOutputWithContext ¶
func (o MemberPtrOutput) ToMemberPtrOutputWithContext(ctx context.Context) MemberPtrOutput
type MemberState ¶
type MemberState struct { // The ID of the member AWS account. AccountId pulumi.StringPtrInput // The email of the member AWS account. Email pulumi.StringPtrInput // Boolean whether to invite the account to Security Hub as a member. Defaults to `false`. Invite pulumi.BoolPtrInput // The ID of the master Security Hub AWS account. MasterId pulumi.StringPtrInput // The status of the member account relationship. MemberStatus pulumi.StringPtrInput }
func (MemberState) ElementType ¶
func (MemberState) ElementType() reflect.Type
type OrganizationAdminAccount ¶
type OrganizationAdminAccount struct { pulumi.CustomResourceState // The AWS account identifier of the account to designate as the Security Hub administrator account. AdminAccountId pulumi.StringOutput `pulumi:"adminAccountId"` }
Manages a Security Hub administrator account for an organization. The AWS account utilizing this resource must be an Organizations primary account. More information about Organizations support in Security Hub can be found in the [Security Hub User Guide](https://docs.aws.amazon.com/securityhub/latest/userguide/designate-orgs-admin-account.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/organizations" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleOrganization, err := organizations.NewOrganization(ctx, "exampleOrganization", &organizations.OrganizationArgs{ AwsServiceAccessPrincipals: pulumi.StringArray{ pulumi.String("securityhub.amazonaws.com"), }, FeatureSet: pulumi.String("ALL"), }) if err != nil { return err } _, err = securityhub.NewAccount(ctx, "exampleAccount", nil) if err != nil { return err } _, err = securityhub.NewOrganizationAdminAccount(ctx, "exampleOrganizationAdminAccount", &securityhub.OrganizationAdminAccountArgs{ AdminAccountId: pulumi.String("123456789012"), }, pulumi.DependsOn([]pulumi.Resource{ exampleOrganization, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub Organization Admin Accounts can be imported using the AWS account ID, e.g.
```sh
$ pulumi import aws:securityhub/organizationAdminAccount:OrganizationAdminAccount example 123456789012
```
func GetOrganizationAdminAccount ¶
func GetOrganizationAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationAdminAccountState, opts ...pulumi.ResourceOption) (*OrganizationAdminAccount, error)
GetOrganizationAdminAccount gets an existing OrganizationAdminAccount 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 NewOrganizationAdminAccount ¶
func NewOrganizationAdminAccount(ctx *pulumi.Context, name string, args *OrganizationAdminAccountArgs, opts ...pulumi.ResourceOption) (*OrganizationAdminAccount, error)
NewOrganizationAdminAccount registers a new resource with the given unique name, arguments, and options.
func (*OrganizationAdminAccount) ElementType ¶
func (*OrganizationAdminAccount) ElementType() reflect.Type
func (*OrganizationAdminAccount) ToOrganizationAdminAccountOutput ¶
func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput
func (*OrganizationAdminAccount) ToOrganizationAdminAccountOutputWithContext ¶
func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput
func (*OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutput ¶
func (i *OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
func (*OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutputWithContext ¶
func (i *OrganizationAdminAccount) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
type OrganizationAdminAccountArgs ¶
type OrganizationAdminAccountArgs struct { // The AWS account identifier of the account to designate as the Security Hub administrator account. AdminAccountId pulumi.StringInput }
The set of arguments for constructing a OrganizationAdminAccount resource.
func (OrganizationAdminAccountArgs) ElementType ¶
func (OrganizationAdminAccountArgs) ElementType() reflect.Type
type OrganizationAdminAccountArray ¶
type OrganizationAdminAccountArray []OrganizationAdminAccountInput
func (OrganizationAdminAccountArray) ElementType ¶
func (OrganizationAdminAccountArray) ElementType() reflect.Type
func (OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutput ¶
func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput
func (OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutputWithContext ¶
func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput
type OrganizationAdminAccountArrayInput ¶
type OrganizationAdminAccountArrayInput interface { pulumi.Input ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput ToOrganizationAdminAccountArrayOutputWithContext(context.Context) OrganizationAdminAccountArrayOutput }
OrganizationAdminAccountArrayInput is an input type that accepts OrganizationAdminAccountArray and OrganizationAdminAccountArrayOutput values. You can construct a concrete instance of `OrganizationAdminAccountArrayInput` via:
OrganizationAdminAccountArray{ OrganizationAdminAccountArgs{...} }
type OrganizationAdminAccountArrayOutput ¶
type OrganizationAdminAccountArrayOutput struct{ *pulumi.OutputState }
func (OrganizationAdminAccountArrayOutput) ElementType ¶
func (OrganizationAdminAccountArrayOutput) ElementType() reflect.Type
func (OrganizationAdminAccountArrayOutput) Index ¶
func (o OrganizationAdminAccountArrayOutput) Index(i pulumi.IntInput) OrganizationAdminAccountOutput
func (OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutput ¶
func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput
func (OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutputWithContext ¶
func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput
type OrganizationAdminAccountInput ¶
type OrganizationAdminAccountInput interface { pulumi.Input ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput }
type OrganizationAdminAccountMap ¶
type OrganizationAdminAccountMap map[string]OrganizationAdminAccountInput
func (OrganizationAdminAccountMap) ElementType ¶
func (OrganizationAdminAccountMap) ElementType() reflect.Type
func (OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutput ¶
func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput
func (OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutputWithContext ¶
func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput
type OrganizationAdminAccountMapInput ¶
type OrganizationAdminAccountMapInput interface { pulumi.Input ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput ToOrganizationAdminAccountMapOutputWithContext(context.Context) OrganizationAdminAccountMapOutput }
OrganizationAdminAccountMapInput is an input type that accepts OrganizationAdminAccountMap and OrganizationAdminAccountMapOutput values. You can construct a concrete instance of `OrganizationAdminAccountMapInput` via:
OrganizationAdminAccountMap{ "key": OrganizationAdminAccountArgs{...} }
type OrganizationAdminAccountMapOutput ¶
type OrganizationAdminAccountMapOutput struct{ *pulumi.OutputState }
func (OrganizationAdminAccountMapOutput) ElementType ¶
func (OrganizationAdminAccountMapOutput) ElementType() reflect.Type
func (OrganizationAdminAccountMapOutput) MapIndex ¶
func (o OrganizationAdminAccountMapOutput) MapIndex(k pulumi.StringInput) OrganizationAdminAccountOutput
func (OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutput ¶
func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput
func (OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutputWithContext ¶
func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput
type OrganizationAdminAccountOutput ¶
type OrganizationAdminAccountOutput struct {
*pulumi.OutputState
}
func (OrganizationAdminAccountOutput) ElementType ¶
func (OrganizationAdminAccountOutput) ElementType() reflect.Type
func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutput ¶
func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput
func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutputWithContext ¶
func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput
func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutput ¶
func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutputWithContext ¶
func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
type OrganizationAdminAccountPtrInput ¶
type OrganizationAdminAccountPtrInput interface { pulumi.Input ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput }
type OrganizationAdminAccountPtrOutput ¶
type OrganizationAdminAccountPtrOutput struct {
*pulumi.OutputState
}
func (OrganizationAdminAccountPtrOutput) ElementType ¶
func (OrganizationAdminAccountPtrOutput) ElementType() reflect.Type
func (OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutput ¶
func (o OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutput() OrganizationAdminAccountPtrOutput
func (OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutputWithContext ¶
func (o OrganizationAdminAccountPtrOutput) ToOrganizationAdminAccountPtrOutputWithContext(ctx context.Context) OrganizationAdminAccountPtrOutput
type OrganizationAdminAccountState ¶
type OrganizationAdminAccountState struct { // The AWS account identifier of the account to designate as the Security Hub administrator account. AdminAccountId pulumi.StringPtrInput }
func (OrganizationAdminAccountState) ElementType ¶
func (OrganizationAdminAccountState) ElementType() reflect.Type
type ProductSubscription ¶
type ProductSubscription struct { pulumi.CustomResourceState // The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub. Arn pulumi.StringOutput `pulumi:"arn"` // The ARN of the product that generates findings that you want to import into Security Hub - see below. ProductArn pulumi.StringOutput `pulumi:"productArn"` }
Subscribes to a Security Hub product.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := securityhub.NewAccount(ctx, "exampleAccount", nil) if err != nil { return err } current, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } _, err = securityhub.NewProductSubscription(ctx, "exampleProductSubscription", &securityhub.ProductSubscriptionArgs{ ProductArn: pulumi.String(fmt.Sprintf("%v%v%v", "arn:aws:securityhub:", current.Name, ":733251395267:product/alertlogic/althreatmanagement")), }, pulumi.DependsOn([]pulumi.Resource{ exampleAccount, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub product subscriptions can be imported in the form `product_arn,arn`, e.g.
```sh
$ pulumi import aws:securityhub/productSubscription:ProductSubscription example arn:aws:securityhub:eu-west-1:733251395267:product/alertlogic/althreatmanagement,arn:aws:securityhub:eu-west-1:123456789012:product-subscription/alertlogic/althreatmanagement
```
func GetProductSubscription ¶
func GetProductSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProductSubscriptionState, opts ...pulumi.ResourceOption) (*ProductSubscription, error)
GetProductSubscription gets an existing ProductSubscription 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 NewProductSubscription ¶
func NewProductSubscription(ctx *pulumi.Context, name string, args *ProductSubscriptionArgs, opts ...pulumi.ResourceOption) (*ProductSubscription, error)
NewProductSubscription registers a new resource with the given unique name, arguments, and options.
func (*ProductSubscription) ElementType ¶
func (*ProductSubscription) ElementType() reflect.Type
func (*ProductSubscription) ToProductSubscriptionOutput ¶
func (i *ProductSubscription) ToProductSubscriptionOutput() ProductSubscriptionOutput
func (*ProductSubscription) ToProductSubscriptionOutputWithContext ¶
func (i *ProductSubscription) ToProductSubscriptionOutputWithContext(ctx context.Context) ProductSubscriptionOutput
func (*ProductSubscription) ToProductSubscriptionPtrOutput ¶
func (i *ProductSubscription) ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput
func (*ProductSubscription) ToProductSubscriptionPtrOutputWithContext ¶
func (i *ProductSubscription) ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput
type ProductSubscriptionArgs ¶
type ProductSubscriptionArgs struct { // The ARN of the product that generates findings that you want to import into Security Hub - see below. ProductArn pulumi.StringInput }
The set of arguments for constructing a ProductSubscription resource.
func (ProductSubscriptionArgs) ElementType ¶
func (ProductSubscriptionArgs) ElementType() reflect.Type
type ProductSubscriptionArray ¶
type ProductSubscriptionArray []ProductSubscriptionInput
func (ProductSubscriptionArray) ElementType ¶
func (ProductSubscriptionArray) ElementType() reflect.Type
func (ProductSubscriptionArray) ToProductSubscriptionArrayOutput ¶
func (i ProductSubscriptionArray) ToProductSubscriptionArrayOutput() ProductSubscriptionArrayOutput
func (ProductSubscriptionArray) ToProductSubscriptionArrayOutputWithContext ¶
func (i ProductSubscriptionArray) ToProductSubscriptionArrayOutputWithContext(ctx context.Context) ProductSubscriptionArrayOutput
type ProductSubscriptionArrayInput ¶
type ProductSubscriptionArrayInput interface { pulumi.Input ToProductSubscriptionArrayOutput() ProductSubscriptionArrayOutput ToProductSubscriptionArrayOutputWithContext(context.Context) ProductSubscriptionArrayOutput }
ProductSubscriptionArrayInput is an input type that accepts ProductSubscriptionArray and ProductSubscriptionArrayOutput values. You can construct a concrete instance of `ProductSubscriptionArrayInput` via:
ProductSubscriptionArray{ ProductSubscriptionArgs{...} }
type ProductSubscriptionArrayOutput ¶
type ProductSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (ProductSubscriptionArrayOutput) ElementType ¶
func (ProductSubscriptionArrayOutput) ElementType() reflect.Type
func (ProductSubscriptionArrayOutput) Index ¶
func (o ProductSubscriptionArrayOutput) Index(i pulumi.IntInput) ProductSubscriptionOutput
func (ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutput ¶
func (o ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutput() ProductSubscriptionArrayOutput
func (ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutputWithContext ¶
func (o ProductSubscriptionArrayOutput) ToProductSubscriptionArrayOutputWithContext(ctx context.Context) ProductSubscriptionArrayOutput
type ProductSubscriptionInput ¶
type ProductSubscriptionInput interface { pulumi.Input ToProductSubscriptionOutput() ProductSubscriptionOutput ToProductSubscriptionOutputWithContext(ctx context.Context) ProductSubscriptionOutput }
type ProductSubscriptionMap ¶
type ProductSubscriptionMap map[string]ProductSubscriptionInput
func (ProductSubscriptionMap) ElementType ¶
func (ProductSubscriptionMap) ElementType() reflect.Type
func (ProductSubscriptionMap) ToProductSubscriptionMapOutput ¶
func (i ProductSubscriptionMap) ToProductSubscriptionMapOutput() ProductSubscriptionMapOutput
func (ProductSubscriptionMap) ToProductSubscriptionMapOutputWithContext ¶
func (i ProductSubscriptionMap) ToProductSubscriptionMapOutputWithContext(ctx context.Context) ProductSubscriptionMapOutput
type ProductSubscriptionMapInput ¶
type ProductSubscriptionMapInput interface { pulumi.Input ToProductSubscriptionMapOutput() ProductSubscriptionMapOutput ToProductSubscriptionMapOutputWithContext(context.Context) ProductSubscriptionMapOutput }
ProductSubscriptionMapInput is an input type that accepts ProductSubscriptionMap and ProductSubscriptionMapOutput values. You can construct a concrete instance of `ProductSubscriptionMapInput` via:
ProductSubscriptionMap{ "key": ProductSubscriptionArgs{...} }
type ProductSubscriptionMapOutput ¶
type ProductSubscriptionMapOutput struct{ *pulumi.OutputState }
func (ProductSubscriptionMapOutput) ElementType ¶
func (ProductSubscriptionMapOutput) ElementType() reflect.Type
func (ProductSubscriptionMapOutput) MapIndex ¶
func (o ProductSubscriptionMapOutput) MapIndex(k pulumi.StringInput) ProductSubscriptionOutput
func (ProductSubscriptionMapOutput) ToProductSubscriptionMapOutput ¶
func (o ProductSubscriptionMapOutput) ToProductSubscriptionMapOutput() ProductSubscriptionMapOutput
func (ProductSubscriptionMapOutput) ToProductSubscriptionMapOutputWithContext ¶
func (o ProductSubscriptionMapOutput) ToProductSubscriptionMapOutputWithContext(ctx context.Context) ProductSubscriptionMapOutput
type ProductSubscriptionOutput ¶
type ProductSubscriptionOutput struct {
*pulumi.OutputState
}
func (ProductSubscriptionOutput) ElementType ¶
func (ProductSubscriptionOutput) ElementType() reflect.Type
func (ProductSubscriptionOutput) ToProductSubscriptionOutput ¶
func (o ProductSubscriptionOutput) ToProductSubscriptionOutput() ProductSubscriptionOutput
func (ProductSubscriptionOutput) ToProductSubscriptionOutputWithContext ¶
func (o ProductSubscriptionOutput) ToProductSubscriptionOutputWithContext(ctx context.Context) ProductSubscriptionOutput
func (ProductSubscriptionOutput) ToProductSubscriptionPtrOutput ¶
func (o ProductSubscriptionOutput) ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput
func (ProductSubscriptionOutput) ToProductSubscriptionPtrOutputWithContext ¶
func (o ProductSubscriptionOutput) ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput
type ProductSubscriptionPtrInput ¶
type ProductSubscriptionPtrInput interface { pulumi.Input ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput }
type ProductSubscriptionPtrOutput ¶
type ProductSubscriptionPtrOutput struct {
*pulumi.OutputState
}
func (ProductSubscriptionPtrOutput) ElementType ¶
func (ProductSubscriptionPtrOutput) ElementType() reflect.Type
func (ProductSubscriptionPtrOutput) ToProductSubscriptionPtrOutput ¶
func (o ProductSubscriptionPtrOutput) ToProductSubscriptionPtrOutput() ProductSubscriptionPtrOutput
func (ProductSubscriptionPtrOutput) ToProductSubscriptionPtrOutputWithContext ¶
func (o ProductSubscriptionPtrOutput) ToProductSubscriptionPtrOutputWithContext(ctx context.Context) ProductSubscriptionPtrOutput
type ProductSubscriptionState ¶
type ProductSubscriptionState struct { // The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub. Arn pulumi.StringPtrInput // The ARN of the product that generates findings that you want to import into Security Hub - see below. ProductArn pulumi.StringPtrInput }
func (ProductSubscriptionState) ElementType ¶
func (ProductSubscriptionState) ElementType() reflect.Type
type StandardsSubscription ¶
type StandardsSubscription struct { pulumi.CustomResourceState // The ARN of a standard - see below. StandardsArn pulumi.StringOutput `pulumi:"standardsArn"` }
Subscribes to a Security Hub standard.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/securityhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := securityhub.NewAccount(ctx, "example", nil) if err != nil { return err } _, err = securityhub.NewStandardsSubscription(ctx, "cis", &securityhub.StandardsSubscriptionArgs{ StandardsArn: pulumi.String("arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0"), }, pulumi.DependsOn([]pulumi.Resource{ example, })) if err != nil { return err } _, err = securityhub.NewStandardsSubscription(ctx, "pci321", &securityhub.StandardsSubscriptionArgs{ StandardsArn: pulumi.String("arn:aws:securityhub:us-east-1::standards/pci-dss/v/3.2.1"), }, pulumi.DependsOn([]pulumi.Resource{ example, })) if err != nil { return err } return nil }) }
```
## Import
Security Hub standards subscriptions can be imported using the standards subscription ARN, e.g.
```sh
$ pulumi import aws:securityhub/standardsSubscription:StandardsSubscription cis arn:aws:securityhub:eu-west-1:123456789012:subscription/cis-aws-foundations-benchmark/v/1.2.0
```
```sh
$ pulumi import aws:securityhub/standardsSubscription:StandardsSubscription pci_321 arn:aws:securityhub:eu-west-1:123456789012:subscription/pci-dss/v/3.2.1
```
func GetStandardsSubscription ¶
func GetStandardsSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StandardsSubscriptionState, opts ...pulumi.ResourceOption) (*StandardsSubscription, error)
GetStandardsSubscription gets an existing StandardsSubscription 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 NewStandardsSubscription ¶
func NewStandardsSubscription(ctx *pulumi.Context, name string, args *StandardsSubscriptionArgs, opts ...pulumi.ResourceOption) (*StandardsSubscription, error)
NewStandardsSubscription registers a new resource with the given unique name, arguments, and options.
func (*StandardsSubscription) ElementType ¶
func (*StandardsSubscription) ElementType() reflect.Type
func (*StandardsSubscription) ToStandardsSubscriptionOutput ¶
func (i *StandardsSubscription) ToStandardsSubscriptionOutput() StandardsSubscriptionOutput
func (*StandardsSubscription) ToStandardsSubscriptionOutputWithContext ¶
func (i *StandardsSubscription) ToStandardsSubscriptionOutputWithContext(ctx context.Context) StandardsSubscriptionOutput
func (*StandardsSubscription) ToStandardsSubscriptionPtrOutput ¶
func (i *StandardsSubscription) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
func (*StandardsSubscription) ToStandardsSubscriptionPtrOutputWithContext ¶
func (i *StandardsSubscription) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
type StandardsSubscriptionArgs ¶
type StandardsSubscriptionArgs struct { // The ARN of a standard - see below. StandardsArn pulumi.StringInput }
The set of arguments for constructing a StandardsSubscription resource.
func (StandardsSubscriptionArgs) ElementType ¶
func (StandardsSubscriptionArgs) ElementType() reflect.Type
type StandardsSubscriptionArray ¶
type StandardsSubscriptionArray []StandardsSubscriptionInput
func (StandardsSubscriptionArray) ElementType ¶
func (StandardsSubscriptionArray) ElementType() reflect.Type
func (StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutput ¶
func (i StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutput() StandardsSubscriptionArrayOutput
func (StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutputWithContext ¶
func (i StandardsSubscriptionArray) ToStandardsSubscriptionArrayOutputWithContext(ctx context.Context) StandardsSubscriptionArrayOutput
type StandardsSubscriptionArrayInput ¶
type StandardsSubscriptionArrayInput interface { pulumi.Input ToStandardsSubscriptionArrayOutput() StandardsSubscriptionArrayOutput ToStandardsSubscriptionArrayOutputWithContext(context.Context) StandardsSubscriptionArrayOutput }
StandardsSubscriptionArrayInput is an input type that accepts StandardsSubscriptionArray and StandardsSubscriptionArrayOutput values. You can construct a concrete instance of `StandardsSubscriptionArrayInput` via:
StandardsSubscriptionArray{ StandardsSubscriptionArgs{...} }
type StandardsSubscriptionArrayOutput ¶
type StandardsSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (StandardsSubscriptionArrayOutput) ElementType ¶
func (StandardsSubscriptionArrayOutput) ElementType() reflect.Type
func (StandardsSubscriptionArrayOutput) Index ¶
func (o StandardsSubscriptionArrayOutput) Index(i pulumi.IntInput) StandardsSubscriptionOutput
func (StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutput ¶
func (o StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutput() StandardsSubscriptionArrayOutput
func (StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutputWithContext ¶
func (o StandardsSubscriptionArrayOutput) ToStandardsSubscriptionArrayOutputWithContext(ctx context.Context) StandardsSubscriptionArrayOutput
type StandardsSubscriptionInput ¶
type StandardsSubscriptionInput interface { pulumi.Input ToStandardsSubscriptionOutput() StandardsSubscriptionOutput ToStandardsSubscriptionOutputWithContext(ctx context.Context) StandardsSubscriptionOutput }
type StandardsSubscriptionMap ¶
type StandardsSubscriptionMap map[string]StandardsSubscriptionInput
func (StandardsSubscriptionMap) ElementType ¶
func (StandardsSubscriptionMap) ElementType() reflect.Type
func (StandardsSubscriptionMap) ToStandardsSubscriptionMapOutput ¶
func (i StandardsSubscriptionMap) ToStandardsSubscriptionMapOutput() StandardsSubscriptionMapOutput
func (StandardsSubscriptionMap) ToStandardsSubscriptionMapOutputWithContext ¶
func (i StandardsSubscriptionMap) ToStandardsSubscriptionMapOutputWithContext(ctx context.Context) StandardsSubscriptionMapOutput
type StandardsSubscriptionMapInput ¶
type StandardsSubscriptionMapInput interface { pulumi.Input ToStandardsSubscriptionMapOutput() StandardsSubscriptionMapOutput ToStandardsSubscriptionMapOutputWithContext(context.Context) StandardsSubscriptionMapOutput }
StandardsSubscriptionMapInput is an input type that accepts StandardsSubscriptionMap and StandardsSubscriptionMapOutput values. You can construct a concrete instance of `StandardsSubscriptionMapInput` via:
StandardsSubscriptionMap{ "key": StandardsSubscriptionArgs{...} }
type StandardsSubscriptionMapOutput ¶
type StandardsSubscriptionMapOutput struct{ *pulumi.OutputState }
func (StandardsSubscriptionMapOutput) ElementType ¶
func (StandardsSubscriptionMapOutput) ElementType() reflect.Type
func (StandardsSubscriptionMapOutput) MapIndex ¶
func (o StandardsSubscriptionMapOutput) MapIndex(k pulumi.StringInput) StandardsSubscriptionOutput
func (StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutput ¶
func (o StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutput() StandardsSubscriptionMapOutput
func (StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutputWithContext ¶
func (o StandardsSubscriptionMapOutput) ToStandardsSubscriptionMapOutputWithContext(ctx context.Context) StandardsSubscriptionMapOutput
type StandardsSubscriptionOutput ¶
type StandardsSubscriptionOutput struct {
*pulumi.OutputState
}
func (StandardsSubscriptionOutput) ElementType ¶
func (StandardsSubscriptionOutput) ElementType() reflect.Type
func (StandardsSubscriptionOutput) ToStandardsSubscriptionOutput ¶
func (o StandardsSubscriptionOutput) ToStandardsSubscriptionOutput() StandardsSubscriptionOutput
func (StandardsSubscriptionOutput) ToStandardsSubscriptionOutputWithContext ¶
func (o StandardsSubscriptionOutput) ToStandardsSubscriptionOutputWithContext(ctx context.Context) StandardsSubscriptionOutput
func (StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutput ¶
func (o StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
func (StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutputWithContext ¶
func (o StandardsSubscriptionOutput) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
type StandardsSubscriptionPtrInput ¶
type StandardsSubscriptionPtrInput interface { pulumi.Input ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput }
type StandardsSubscriptionPtrOutput ¶
type StandardsSubscriptionPtrOutput struct {
*pulumi.OutputState
}
func (StandardsSubscriptionPtrOutput) ElementType ¶
func (StandardsSubscriptionPtrOutput) ElementType() reflect.Type
func (StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutput ¶
func (o StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutput() StandardsSubscriptionPtrOutput
func (StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutputWithContext ¶
func (o StandardsSubscriptionPtrOutput) ToStandardsSubscriptionPtrOutputWithContext(ctx context.Context) StandardsSubscriptionPtrOutput
type StandardsSubscriptionState ¶
type StandardsSubscriptionState struct { // The ARN of a standard - see below. StandardsArn pulumi.StringPtrInput }
func (StandardsSubscriptionState) ElementType ¶
func (StandardsSubscriptionState) ElementType() reflect.Type