We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.Member
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GuardDuty::Member
Create Member Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Member(name: string, args: MemberArgs, opts?: CustomResourceOptions);
@overload
def Member(resource_name: str,
args: MemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Member(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
detector_id: Optional[str] = None,
disable_email_notification: Optional[bool] = None,
member_id: Optional[str] = None,
message: Optional[str] = None,
status: Optional[str] = None)
func NewMember(ctx *Context, name string, args MemberArgs, opts ...ResourceOption) (*Member, error)
public Member(string name, MemberArgs args, CustomResourceOptions? opts = null)
public Member(String name, MemberArgs args)
public Member(String name, MemberArgs args, CustomResourceOptions options)
type: aws-native:guardduty:Member
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Member Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Member resource accepts the following input properties:
- Email string
- The email address associated with the member account.
- Detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- Disable
Email boolNotification - Specifies whether or not to disable email notification for the member account that you invite.
- Member
Id string - The AWS account ID of the account to designate as a member.
- Message string
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- Status string
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- Email string
- The email address associated with the member account.
- Detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- Disable
Email boolNotification - Specifies whether or not to disable email notification for the member account that you invite.
- Member
Id string - The AWS account ID of the account to designate as a member.
- Message string
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- Status string
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- email String
- The email address associated with the member account.
- detector
Id String - The ID of the detector associated with the GuardDuty service to add the member to.
- disable
Email BooleanNotification - Specifies whether or not to disable email notification for the member account that you invite.
- member
Id String - The AWS account ID of the account to designate as a member.
- message String
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- status String
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- email string
- The email address associated with the member account.
- detector
Id string - The ID of the detector associated with the GuardDuty service to add the member to.
- disable
Email booleanNotification - Specifies whether or not to disable email notification for the member account that you invite.
- member
Id string - The AWS account ID of the account to designate as a member.
- message string
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- status string
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- email str
- The email address associated with the member account.
- detector_
id str - The ID of the detector associated with the GuardDuty service to add the member to.
- disable_
email_ boolnotification - Specifies whether or not to disable email notification for the member account that you invite.
- member_
id str - The AWS account ID of the account to designate as a member.
- message str
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- status str
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- email String
- The email address associated with the member account.
- detector
Id String - The ID of the detector associated with the GuardDuty service to add the member to.
- disable
Email BooleanNotification - Specifies whether or not to disable email notification for the member account that you invite.
- member
Id String - The AWS account ID of the account to designate as a member.
- message String
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
- status String
- You can use the
Status
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
Outputs
All input properties are implicitly available as output properties. Additionally, the Member resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.